From c474638663fb1d4e83019a9fa5c8bd57b1ec7e50 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 14 Sep 2026 17:59:27 +0100 Subject: [PATCH 01/23] Namespace Swift protocol checkout model --- platforms/swift/Scripts/api | 14 +- .../swift/api/EmbeddedCheckoutProtocol.json | 7443 +++++++++-------- platforms/swift/api/ShopifyCheckoutKit.json | 120 +- protocol/languages/swift/README.md | 5 + .../EmbeddedCheckoutProtocol+Event.swift | 2 +- .../Generated/Models.swift | 248 +- .../JSONRPCMessage.swift | 6 +- .../ClientTests.swift | 2 +- .../ModelDecodingTests.swift | 12 +- protocol/scripts/generate_models.mjs | 20 +- protocol/scripts/generate_swift_catalog.mjs | 2 +- 11 files changed, 3959 insertions(+), 3915 deletions(-) diff --git a/platforms/swift/Scripts/api b/platforms/swift/Scripts/api index 561c49d29..9630eacca 100755 --- a/platforms/swift/Scripts/api +++ b/platforms/swift/Scripts/api @@ -69,6 +69,13 @@ dump_module() { -avoid-location \ -avoid-tool-args \ -o "$out_path" + +} + +normalize_module() { + # Declaration order can vary between builds. Preserve member and parameter + # order, and normalize only comparison copies so baselines avoid ordering churn. + jq '.ABIRoot.children |= sort_by(.kind, .printedName, .usr)' "$1" > "$2" } diagnose_module() { @@ -120,7 +127,12 @@ case "$SUBCOMMAND" in dump_module "$module" "$current" - if ! diff -u "$committed" "$current"; then + normalized_committed="$TMP_OUT/$module.committed.normalized.json" + normalized_current="$TMP_OUT/$module.current.normalized.json" + normalize_module "$committed" "$normalized_committed" + normalize_module "$current" "$normalized_current" + + if ! diff -u "$normalized_committed" "$normalized_current"; then failed_modules+=("$module") echo "" echo "── swift-api-digester -diagnose-sdk ($module) ──" diff --git a/platforms/swift/api/EmbeddedCheckoutProtocol.json b/platforms/swift/api/EmbeddedCheckoutProtocol.json index 986848976..22cde6473 100644 --- a/platforms/swift/api/EmbeddedCheckoutProtocol.json +++ b/platforms/swift/api/EmbeddedCheckoutProtocol.json @@ -1627,50 +1627,48 @@ }, { "kind": "TypeDecl", - "name": "Event", - "printedName": "Event", + "name": "Checkout", + "printedName": "Checkout", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "attribution", + "printedName": "attribution", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:SD" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1683,38 +1681,37 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:SD" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -1725,45 +1722,29 @@ }, { "kind": "Var", - "name": "start", - "printedName": "start", + "name": "buyer", + "printedName": "buyer", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "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" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1776,38 +1757,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "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" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -1818,45 +1784,29 @@ }, { "kind": "Var", - "name": "complete", - "printedName": "complete", + "name": "context", + "printedName": "context", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", "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" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1869,38 +1819,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", "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" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -1911,45 +1846,29 @@ }, { "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", + "name": "continueURL", + "printedName": "continueURL", "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": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1962,38 +1881,23 @@ "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": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2004,45 +1908,21 @@ }, { "kind": "Var", - "name": "lineItemsChange", - "printedName": "lineItemsChange", + "name": "currency", + "printedName": "currency", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8currencySSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8currencySSvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2055,38 +1935,15 @@ "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2097,45 +1954,29 @@ }, { "kind": "Var", - "name": "buyerChange", - "printedName": "buyerChange", + "name": "discounts", + "printedName": "discounts", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "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" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2148,38 +1989,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "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" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2190,45 +2016,29 @@ }, { "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", + "name": "expiresAt", + "printedName": "expiresAt", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "Foundation.Date?", "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" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2241,38 +2051,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "Foundation.Date?", "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" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2283,45 +2078,29 @@ }, { "kind": "Var", - "name": "paymentChange", - "printedName": "paymentChange", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", "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" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2334,38 +2113,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", "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" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2376,45 +2140,21 @@ }, { "kind": "Var", - "name": "fulfillmentChange", - "printedName": "fulfillmentChange", + "name": "id", + "printedName": "id", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2427,38 +2167,15 @@ "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2469,51 +2186,29 @@ }, { "kind": "Var", - "name": "ready", - "printedName": "ready", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "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" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2526,44 +2221,23 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "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" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2574,51 +2248,29 @@ }, { "kind": "Var", - "name": "auth", - "printedName": "auth", + "name": "links", + "printedName": "links", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AuthResult>", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "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" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2631,44 +2283,23 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AuthResult>", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "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" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2679,51 +2310,37 @@ }, { "kind": "Var", - "name": "paymentInstrumentsChange", - "printedName": "paymentInstrumentsChange", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.InstrumentsChangeResult>", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" + "usr": "s:Sa" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2736,44 +2353,31 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.InstrumentsChangeResult>", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" + "usr": "s:Sa" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2784,51 +2388,29 @@ }, { "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", + "name": "order", + "printedName": "order", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.CredentialResult>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "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" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2841,44 +2423,23 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.CredentialResult>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "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" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2889,51 +2450,29 @@ }, { "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.WindowOpenResult>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "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" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2946,44 +2485,23 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.WindowOpenResult>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "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" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2994,51 +2512,43 @@ }, { "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", + "name": "signals", + "printedName": "signals", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AddressChangeResult>", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "usr": "s:SD" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -3051,44 +2561,37 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AddressChangeResult>", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "usr": "s:SD" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -3099,31 +2602,21 @@ }, { "kind": "Var", - "name": "all", - "printedName": "all", + "name": "status", + "printedName": "status", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -3136,24 +2629,15 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -3161,149 +2645,32 @@ "accessorKind": "get" } ] - } - ], - "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": "TypeDecl", - "name": "Delegation", - "printedName": "Delegation", - "children": [ { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "totals", + "printedName": "totals", "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()", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "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" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -3316,16 +2683,23 @@ "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -3336,23 +2710,21 @@ }, { "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -3365,16 +2737,15 @@ "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -3384,421 +2755,1310 @@ ] }, { - "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "attribution", + "printedName": "attribution", "children": [ { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11attributionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11attributionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "buyer", + "printedName": "buyer", "children": [ { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "all", - "printedName": "all", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5buyeryA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5buyeryA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "kind": "Var", + "name": "context", + "printedName": "context", "children": [ { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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" + } + ] + } + ] } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7contextyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7contextyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeAlias", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "StringLiteralType", - "printedName": "StringLiteralType", - "children": [ - { - "kind": "TypeNominal", - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "currency", + "printedName": "currency", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] + } + ] } - ] - } - ], - "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": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeWitness", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "Var", + "name": "discounts", + "printedName": "discounts", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "payment", + "printedName": "payment", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "signals", + "printedName": "signals", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_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.Checkout.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", + "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: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": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "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": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", + "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": "Conformance", - "name": "ExpressibleByExtendedGraphemeClusterLiteral", - "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "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": "TypeWitness", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + } + ], + "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.CheckoutDiscounts?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + } + ], + "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + } + ], + "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": "[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" + }, + { + "kind": "TypeNominal", + "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.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "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:s43ExpressibleByExtendedGraphemeClusterLiteralP", - "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" - }, - { - "kind": "Conformance", - "name": "ExpressibleByUnicodeScalarLiteral", - "printedName": "ExpressibleByUnicodeScalarLiteral", - "children": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" } ], - "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", - "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO", - "moduleName": "EmbeddedCheckoutProtocol", - "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": "Checkout", - "printedName": "Checkout", - "children": [ - { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -3808,41 +4068,33 @@ }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -3850,1881 +4102,1961 @@ "printedName": "Swift.String", "usr": "s:SS" }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", + "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" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "buyer", - "printedName": "buyer", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvp", - "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": "EmbeddedCheckoutProtocol.Buyer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - } - ], - "usr": "s:Sq" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "context", - "printedName": "context", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Void", + "printedName": "()" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - } - ], - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvp", - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8currencySSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8currencySSvp", - "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(_: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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8currencySSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8currencySSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "discounts", - "printedName": "discounts", - "children": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "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:24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvp", - "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": "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": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, + { + "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.CheckoutDiscounts?", + "printedName": "EmbeddedCheckoutProtocol.Context??", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "expiresAt", - "printedName": "expiresAt", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ + }, { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvp", - "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": "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", - "children": [ + }, { "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvp", - "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": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "printedName": "Foundation.Date??", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvg", - "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:24EmbeddedCheckoutProtocol0B0V2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V2idSSvp", - "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:24EmbeddedCheckoutProtocol0B0V2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", - "children": [ + "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": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvp", - "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]?", "children": [ { "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "links", - "printedName": "links", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "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": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "children": [ { "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "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:24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation??", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" - } - ], - "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()", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "EmbeddedCheckoutProtocol.Payment??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "order", - "printedName": "order", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", - "children": [ + }, { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "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": "EmbeddedCheckoutProtocol.CheckoutStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "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": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "payment", - "printedName": "payment", - "children": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvp", - "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", "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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V", + "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": "signals", - "printedName": "signals", + "kind": "TypeDecl", + "name": "Event", + "printedName": "Event", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { "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": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:SD" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "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": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:SD" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "start", + "printedName": "start", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "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:24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } + "HasInitialValue", + "HasStorage" ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "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" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvg", - "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()", + "kind": "Var", + "name": "complete", + "printedName": "complete", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "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:24EmbeddedCheckoutProtocol0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11attributionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11attributionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "buyer", - "printedName": "buyer", + "name": "messagesChange", + "printedName": "messagesChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO5buyeryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO5buyeryA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "context", - "printedName": "context", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO7contextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO7contextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "lineItemsChange", + "printedName": "lineItemsChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11continueURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8currencyyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8currencyyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "discounts", - "printedName": "discounts", + "name": "buyerChange", + "printedName": "buyerChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO9discountsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO9discountsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "expiresAt", - "printedName": "expiresAt", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO9expiresAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO9expiresAtyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "totalsChange", + "printedName": "totalsChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11fulfillmentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11fulfillmentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "paymentChange", + "printedName": "paymentChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO9lineItemsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "links", - "printedName": "links", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO5linksyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO5linksyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8messagesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "order", - "printedName": "order", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO5orderyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO5orderyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "ready", + "printedName": "ready", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO7paymentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO7paymentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "signals", - "printedName": "signals", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO7signalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO7signalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "auth", + "printedName": "auth", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AuthResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO6statusyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AuthResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO6totalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.InstrumentsChangeResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO3ucpyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys?", - "children": [ + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", "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.Checkout.CodingKeys?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "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" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueAESgSi_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" + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "paymentCredential", + "printedName": "paymentCredential", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.CredentialResult>", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -5733,45 +6065,103 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.CredentialResult>", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -5780,18 +6170,47 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -5799,21 +6218,55 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "fulfillmentAddressChange", + "printedName": "fulfillmentAddressChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -5822,843 +6275,505 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO", - "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(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.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "kind": "Var", + "name": "all", + "printedName": "all", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "name": "Array", + "printedName": "[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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - } - ], - "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.CheckoutDiscounts?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - } - ], - "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - } - ], - "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": "[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" - }, - { - "kind": "TypeNominal", - "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.Payment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } - ], - "usr": "s:Sa" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "kind": "TypeDecl", + "name": "Delegation", + "printedName": "Delegation", "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" }, { "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V4fromACs7Decoder_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:24EmbeddedCheckoutProtocol0B0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - }, - { - "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:24EmbeddedCheckoutProtocol0B0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7fromURLAC10Foundation0E0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7fromURLAC10Foundation0E0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", "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" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer??", + "kind": "Var", + "name": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "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": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + "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": "EmbeddedCheckoutProtocol.Context??", + "kind": "Var", + "name": "paymentCredential", + "printedName": "paymentCredential", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", + "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": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "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": "fulfillmentAddressChange", + "printedName": "fulfillmentAddressChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "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" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", + "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": "windowOpen", + "printedName": "windowOpen", "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.CheckoutDiscounts??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", + "kind": "Var", + "name": "all", + "printedName": "all", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "children": [ { "kind": "TypeNominal", @@ -6667,319 +6782,212 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Link]?", + "kind": "TypeAlias", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "kind": "TypeAlias", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation??", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment??", + "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": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "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": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", "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" + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA6_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA6_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA6_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA6_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", - "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:24EmbeddedCheckoutProtocol0B0V8jsonData10Foundation0E0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8jsonData10Foundation0E0VyKF", - "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": "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:24EmbeddedCheckoutProtocol0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0B0V", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO", "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", @@ -6993,13 +7001,6 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, @@ -80540,13 +80541,13 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvp", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -80562,13 +80563,13 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvg", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -80592,13 +80593,13 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAcA0B0V_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAcA0B0V_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAc2AO0B0V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAc2AO0B0V_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 7c3b2c2db..36329948b 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -1402,7 +1402,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1413,16 +1413,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1440,7 +1440,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1451,16 +1451,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1556,7 +1556,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1567,16 +1567,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1594,7 +1594,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1605,16 +1605,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1633,7 +1633,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1644,16 +1644,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1671,7 +1671,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1682,16 +1682,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1710,7 +1710,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1721,16 +1721,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1748,7 +1748,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1759,16 +1759,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1787,7 +1787,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1798,16 +1798,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1825,7 +1825,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1836,16 +1836,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1864,7 +1864,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1875,16 +1875,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1902,7 +1902,7 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", @@ -1913,16 +1913,16 @@ { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, diff --git a/protocol/languages/swift/README.md b/protocol/languages/swift/README.md index 411a83c47..495d7a8bb 100644 --- a/protocol/languages/swift/README.md +++ b/protocol/languages/swift/README.md @@ -6,6 +6,11 @@ See the [UCP shopping embedded protocol schema](../../services/shopping/embedded Most apps consume this product through the root Checkout Kit Swift package. +The wire checkout model is `EmbeddedCheckoutProtocol.Checkout`. This namespace +keeps it distinct from Checkout Kit's public `Checkout` snapshot under both +SwiftPM and CocoaPods. Protocol consumers should qualify explicit type references +with `EmbeddedCheckoutProtocol`; there is no top-level `Checkout` alias. + ## 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..1c50782ca 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift @@ -4,7 +4,7 @@ import Foundation extension AuthRequest: EventPayload {} -extension Checkout: EventPayload {} +extension EmbeddedCheckoutProtocol.Checkout: EventPayload {} extension ErrorResponse: EventPayload {} extension ReadyRequest: EventPayload {} extension WindowOpenRequest: EventPayload {} diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift index b3718135c..01f8d8168 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift @@ -1,7 +1,7 @@ // 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: // -// 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) @@ -18,137 +18,139 @@ 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: 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: 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(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 { @@ -181,8 +183,8 @@ public extension Checkout { status: CheckoutStatus? = nil, totals: [CheckoutTotal]? = nil, ucp: UCPCheckoutResponseSchema? = nil - ) -> Checkout { - return Checkout( + ) -> EmbeddedCheckoutProtocol.Checkout { + return EmbeddedCheckoutProtocol.Checkout( attribution: attribution ?? self.attribution, buyer: buyer ?? self.buyer, context: context ?? self.context, diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift index e1a2082b0..fe72fa4f8 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift @@ -161,15 +161,15 @@ struct JSONRPCReadyParams: Codable { } public struct JSONRPCCheckoutParams: EventPayload { - public let checkout: Checkout + public let checkout: EmbeddedCheckoutProtocol.Checkout - public init(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) + checkout = try container.decode(EmbeddedCheckoutProtocol.Checkout.self, forKey: .checkout) } private enum CodingKeys: String, CodingKey { diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift index 28455e4d5..d6d2579fb 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 diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift index 3ed006963..836f74cf6 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift @@ -18,11 +18,17 @@ struct ModelDecodingTests { #expect(checkout.links.first?.type == "privacy_policy") let reEncoded = try JSONEncoder().encode(checkout) - let reDecoded = try JSONDecoder().decode(Checkout.self, from: reEncoded) + let reDecoded = try JSONDecoder().decode(EmbeddedCheckoutProtocol.Checkout.self, from: 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: JSONEncoder().encode(updated)) + #expect(copied.currency == "EUR") + #expect(copied.id == checkout.id) + #expect(copied.ucp.version == checkout.ucp.version) } @Test func decodesLineItemDetails() throws { @@ -103,7 +109,7 @@ struct ModelDecodingTests { } } """ - let checkout = try JSONDecoder().decode(Checkout.self, from: Data(json.utf8)) + let checkout = try JSONDecoder().decode(EmbeddedCheckoutProtocol.Checkout.self, from: Data(json.utf8)) #expect(checkout.discounts?.codes == ["SUMMER20"]) #expect(checkout.discounts?.applied?.first?.method == .across) @@ -168,7 +174,7 @@ struct ModelDecodingTests { "com.example.foo": "bar" } """ - var checkout = try JSONDecoder().decode(Checkout.self, from: Data(json.utf8)) + var checkout = try JSONDecoder().decode(EmbeddedCheckoutProtocol.Checkout.self, from: Data(json.utf8)) let reEncoded = try JSONEncoder().encode(checkout) let object = try #require(try JSONSerialization.jsonObject(with: reEncoded) as? [String: Any]) diff --git a/protocol/scripts/generate_models.mjs b/protocol/scripts/generate_models.mjs index e4f27e447..605f5445b 100755 --- a/protocol/scripts/generate_models.mjs +++ b/protocol/scripts/generate_models.mjs @@ -776,6 +776,24 @@ function useSwiftMapsForModels(source, mapModelNames) { return result; } +function namespaceSwiftCheckout(source) { + // CocoaPods compiles protocol and Kit sources into one module. Give the wire + // checkout its own identity while keeping shared domain models top-level. + const declaration = /^public struct Checkout: Codable, Sendable \{[\s\S]*?^\}/gm; + const conveniences = /^public extension Checkout \{[\s\S]*?^\}/gm; + if ([...source.matchAll(declaration)].length !== 1 || [...source.matchAll(conveniences)].length !== 1) { + throw new Error("Swift Checkout namespacing failed; quicktype output may have changed"); + } + + return source + .replace(declaration, (model) => { + const indented = model.split("\n").map((line) => line ? ` ${line}` : line).join("\n"); + return `extension EmbeddedCheckoutProtocol {\n${indented}\n}`; + }) + .replace(conveniences, (extension) => extension.replace(/\bCheckout\b/g, "EmbeddedCheckoutProtocol.Checkout")) + .replace("let checkout = try Checkout(json)", "let checkout = try EmbeddedCheckoutProtocol.Checkout(json)"); +} + async function generateSwift(specDir, output, {openModelNames, mapModelNames}) { await fs.mkdir(path.dirname(output), {recursive: true}); await runQuicktype([ @@ -811,7 +829,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 namespaceSwiftCheckout(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..6f4c8063d 100644 --- a/protocol/scripts/generate_swift_catalog.mjs +++ b/protocol/scripts/generate_swift_catalog.mjs @@ -107,7 +107,7 @@ function decodeClosure(entry) { } const conformances = [ - ...eventPayloadTypes.map(type => `extension ${type}: EventPayload {}`), + ...eventPayloadTypes.map(type => `extension ${type === 'Checkout' ? 'EmbeddedCheckoutProtocol.Checkout' : type}: EventPayload {}`), ...responsePayloadTypes.map(type => `extension ${type}: ResponsePayload {}`), ].join('\n'); From 998b27af148eae024b0cdbc5b87ec8ae6e1104cc Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 14 Sep 2026 18:18:26 +0100 Subject: [PATCH 02/23] Namespace all Swift protocol payloads consistently --- .../ShopifyCheckoutKit/CheckoutError.swift | 2 +- .../ShopifyCheckoutKit/CheckoutWebView.swift | 4 +- .../CheckoutProtocolTests.swift | 10 +- .../swift/api/EmbeddedCheckoutProtocol.json | 87766 ++++++++-------- platforms/swift/api/ShopifyCheckoutKit.json | 184 +- protocol/languages/swift/README.md | 14 +- .../EmbeddedCheckoutProtocol+Event.swift | 20 +- .../Generated/Models.swift | 1166 +- .../JSONRPCMessage.swift | 48 +- .../UCPResponse.swift | 4 +- .../WindowOpenResult+Factory.swift | 14 +- .../ClientTests.swift | 12 +- .../CodecDecodeTests.swift | 4 +- .../CodecEncodeTests.swift | 12 +- .../ModelDecodingTests.swift | 8 +- .../WindowOpenTests.swift | 10 +- protocol/scripts/generate_models.mjs | 21 +- protocol/scripts/generate_swift_catalog.mjs | 4 +- protocol/scripts/swift_namespacing.mjs | 60 + protocol/scripts/swift_namespacing.test.mjs | 50 + 20 files changed, 44804 insertions(+), 44609 deletions(-) create mode 100644 protocol/scripts/swift_namespacing.mjs create mode 100644 protocol/scripts/swift_namespacing.test.mjs 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 22cde6473..317b6c6af 100644 --- a/platforms/swift/api/EmbeddedCheckoutProtocol.json +++ b/platforms/swift/api/EmbeddedCheckoutProtocol.json @@ -1625,6 +1625,396 @@ } ] }, + { + "kind": "TypeDecl", + "name": "AuthRequest", + "printedName": "AuthRequest", + "children": [ + { + "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": "Constructor", + "name": "init", + "printedName": "init(type:)", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_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:24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "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" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_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:24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", + "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:24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "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": "TypeDecl", "name": "Checkout", @@ -2716,13 +3106,13 @@ { "kind": "TypeNominal", "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -2738,13 +3128,13 @@ { "kind": "TypeNominal", "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4040,13 +4430,13 @@ { "kind": "TypeNominal", "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -4716,13 +5106,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", "children": [ { "kind": "TypeNominal", "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], "hasDefaultArg": true, @@ -4730,8 +5120,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -4851,50 +5241,34 @@ }, { "kind": "TypeDecl", - "name": "Event", - "printedName": "Event", + "name": "ErrorResponse", + "printedName": "ErrorResponse", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -4907,38 +5281,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -4949,45 +5308,29 @@ }, { "kind": "Var", - "name": "start", - "printedName": "start", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "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" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -5000,38 +5343,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "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" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -5042,45 +5370,21 @@ }, { "kind": "Var", - "name": "complete", - "printedName": "complete", + "name": "ucp", + "printedName": "ucp", "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" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -5093,38 +5397,15 @@ "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" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -5134,1135 +5415,883 @@ ] }, { - "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "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" + } + ] } - ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" } - ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "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" + } + ] } - ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", "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" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "buyerChange", - "printedName": "buyerChange", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", "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" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ { "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sq" } ], - "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": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sq" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "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>", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "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": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "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>", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "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": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "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" } ] }, { - "kind": "Var", - "name": "ready", - "printedName": "ready", + "kind": "Constructor", + "name": "init", + "printedName": "init(continueURL:messages:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "Function", + "name": "with", + "printedName": "with(continueURL:messages:ucp:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "auth", - "printedName": "auth", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AuthResult>", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp?", + "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", "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": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "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" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", "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" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "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()", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", - "children": [ + "usr": "s:Sq" + }, { "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" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "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" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV", + "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": "ReadyRequest", + "printedName": "ReadyRequest", + "children": [ { "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", + "name": "auth", + "printedName": "auth", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AddressChangeResult>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "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" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -6275,44 +6304,23 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AddressChangeResult>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "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" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -6323,8 +6331,8 @@ }, { "kind": "Var", - "name": "all", - "printedName": "all", + "name": "delegate", + "printedName": "delegate", "children": [ { "kind": "TypeNominal", @@ -6342,12 +6350,10 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -6374,10 +6380,9 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -6385,62 +6390,36 @@ "accessorKind": "get" } ] - } - ], - "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": "TypeDecl", - "name": "Delegation", - "printedName": "Delegation", - "children": [ - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(auth:delegate:)", "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": [ + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "children": [ + { + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -6449,289 +6428,351 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sa" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringLiteral:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Var", - "name": "paymentInstrumentsChange", - "printedName": "paymentInstrumentsChange", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", "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" - } - ] + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "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" - } - ] + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(auth:delegate:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth??", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "children": [ + { + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "static": 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", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", - "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:24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": 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": "WindowOpenRequest", + "printedName": "WindowOpenRequest", + "children": [ { "kind": "Var", - "name": "all", - "printedName": "all", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -6744,24 +6785,15 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -6771,10 +6803,16 @@ ] }, { - "kind": "TypeAlias", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "kind": "Constructor", + "name": "init", + "printedName": "init(url:)", "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, { "kind": "TypeNominal", "name": "String", @@ -6782,118 +6820,163 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": 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:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "conformances": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "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" - } - ] + "kind": "TypeNominal", + "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" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "ExpressibleByStringLiteral", - "printedName": "ExpressibleByStringLiteral", + "kind": "Function", + "name": "with", + "printedName": "with(url:)", "children": [ { - "kind": "TypeWitness", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -6901,35 +6984,47 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:s26ExpressibleByStringLiteralP", - "mangledName": "$ss26ExpressibleByStringLiteralP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "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": "Conformance", - "name": "ExpressibleByExtendedGraphemeClusterLiteral", - "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { - "kind": "TypeWitness", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -6937,33 +7032,114 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", - "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "ExpressibleByUnicodeScalarLiteral", - "printedName": "ExpressibleByUnicodeScalarLiteral", + "kind": "Var", + "name": "parsedURL", + "printedName": "parsedURL", "children": [ { - "kind": "TypeWitness", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.URL?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", - "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.URL?", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "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", @@ -6978,133 +7154,133 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO", - "moduleName": "EmbeddedCheckoutProtocol", - "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": "Buyer", - "printedName": "Buyer", - "children": [ - { - "kind": "Var", - "name": "email", - "printedName": "email", + "kind": "TypeDecl", + "name": "AddressChangeResult", + "printedName": "AddressChangeResult", "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()", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + "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": "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" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", @@ -7121,445 +7297,403 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "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:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "messages", + "printedName": "messages", "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:24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "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.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:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + ] + }, { - "kind": "Var", - "name": "email", - "printedName": "email", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", - "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -7576,79 +7710,87 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", "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": [ + "accessors": [ { - "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": "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": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", - "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: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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -7657,46 +7799,163 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" + "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": "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": "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: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", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:ucp:continueURL:messages:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "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", @@ -7704,147 +7963,126 @@ "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" } ], - "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" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "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:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "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": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "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(_:using:)", "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": [ + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, { "kind": "TypeNominal", "name": "String", @@ -7853,252 +8091,279 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "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": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Function", + "name": "with", + "printedName": "with(checkout:ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "usr": "s:SD" + "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:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", "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" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "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": "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": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "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:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV", "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + "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:24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_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": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + "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: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": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } - ], - "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:)", + "kind": "TypeDecl", + "name": "AuthResult", + "printedName": "AuthResult", "children": [ { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeNominal", @@ -8115,36 +8380,98 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", + "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": "Optional", - "printedName": "Swift.String?", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", @@ -8161,252 +8488,298 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", + "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": "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" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", - "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: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": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "usr": "s:Sq" - }, - { - "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" - } - ], - "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": "Context", - "printedName": "Context", - "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:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", - "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": "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:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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?", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "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": [ + "kind": "Var", + "name": "credential", + "printedName": "credential", + "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -8414,61 +8787,35 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "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:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -8476,35 +8823,50 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -8513,101 +8875,113 @@ "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "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:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "intent", - "printedName": "intent", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "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" + } + ] + }, { - "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": [ + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -8616,56 +8990,139 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "language", - "printedName": "language", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "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" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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", @@ -8679,55 +9136,13 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", - "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:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -8741,429 +9156,430 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", - "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", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "currency", - "printedName": "currency", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "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": "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": "Var", - "name": "intent", - "printedName": "intent", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "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" - } - ] - } - ] + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "language", - "printedName": "language", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", + "kind": "Function", + "name": "with", + "printedName": "with(credential:ucp:continueURL:messages:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "name": "Optional", + "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" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], + "hasDefaultArg": true, "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" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "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.Context.CodingKeys?", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "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" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", - "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": "CredentialResult", + "printedName": "CredentialResult", + "children": [ { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "checkout", + "printedName": "checkout", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -9173,44 +9589,51 @@ { "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", "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": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -9219,18 +9642,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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -9238,21 +9661,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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -9261,508 +9696,441 @@ "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "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" - }, - { - "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(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - }, - { - "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" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" - } - ], - "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "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": "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": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ + "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": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "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": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "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": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "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": "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", + "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" - } - ], - "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" - }, - { - "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -9771,21 +10139,40 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "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" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -9794,17 +10181,159 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "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" + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", + "children": [ + { + "kind": "TypeNominal", + "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", @@ -9818,31 +10347,22 @@ } ], "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" @@ -9851,326 +10371,206 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", + "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "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": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "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": [ - { - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV_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:24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", - "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": "applied", - "printedName": "applied", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - } - ], - "usr": "s:Sa" + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(checkout:ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", "children": [ { "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "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]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "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": [ + "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", @@ -10179,66 +10579,80 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "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:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(applied:codes:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - } - ], - "usr": "s:Sa" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8jsonData10Foundation0G0VyKF", + "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", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -10247,757 +10661,576 @@ "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": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV", "moduleName": "EmbeddedCheckoutProtocol", - "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:24EmbeddedCheckoutProtocol0B9DiscountsV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", - "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": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "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:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(applied:codes:)", + "kind": "TypeDecl", + "name": "InstrumentsChangeResult", + "printedName": "InstrumentsChangeResult", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]??", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - } - ], - "usr": "s:Sa" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "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": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_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:24EmbeddedCheckoutProtocol0B9DiscountsV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV8jsonData10Foundation0F0VyKF", - "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": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "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": [ - { - "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": "AppliedDiscount", - "printedName": "AppliedDiscount", - "children": [ - { - "kind": "Var", - "name": "allocations", - "printedName": "allocations", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "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", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "automatic", - "printedName": "automatic", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } + "HasStorage" ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", - "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.Bool?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "code", - "printedName": "code", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "messages", + "printedName": "messages", "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:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "HasStorage" ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", - "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": "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:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "method", - "printedName": "method", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", - "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": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "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": "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(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "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:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "priority", - "printedName": "priority", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "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": "Int", @@ -11005,486 +11238,293 @@ "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "provisional", - "printedName": "provisional", - "children": [ - { - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "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:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", - "children": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" - } - ], - "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" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "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": "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": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "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": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", - "children": [ + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { - "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": "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": "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:)", - "children": [ - { - "kind": "TypeNominal", - "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(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "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": "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": "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": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]??", - "children": [ + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "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" + "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" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool??", - "children": [ + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -11498,1281 +11538,1088 @@ } ], "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": "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" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB0deF3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB0deF3UcpVSSSgSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod??", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" - } - ], - "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int??", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool??", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "usr": "s:Sq" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_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:24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": 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": "DiscountAllocation", - "printedName": "DiscountAllocation", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(checkout:ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + } + ], + "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:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "path", - "printedName": "path", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "accessorKind": "get" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:path:)", - "children": [ + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "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": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeDecl", + "name": "ReadyResult", + "printedName": "ReadyResult", "children": [ { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" - }, - { - "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:24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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?", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_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:24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", + "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" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV", - "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": "DiscountMethod", - "printedName": "DiscountMethod", - "children": [ - { - "kind": "Var", - "name": "across", - "printedName": "across", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", + "kind": "Var", + "name": "upgrade", + "printedName": "upgrade", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" - }, + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "each", - "printedName": "each", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "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" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "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:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", - "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:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO", - "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": "CheckoutFulfillment", - "printedName": "CheckoutFulfillment", - "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" - } + "HasStorage" ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "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": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "methods", - "printedName": "methods", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "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:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "kind": "Var", + "name": "credential", + "printedName": "credential", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "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:Sa" + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO10credentialyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO10credentialyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "methods", - "printedName": "methods", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "kind": "Var", + "name": "upgrade", + "printedName": "upgrade", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO7upgradeyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO7upgradeyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ + "kind": "Var", + "name": "messages", + "printedName": "messages", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "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": "Int", @@ -12780,19 +12627,35 @@ "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -12809,37 +12672,87 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -12848,40 +12761,157 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" + "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": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", + "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" + } + ] + } ], - "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": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:credential:ucp:upgrade:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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", @@ -12890,46 +12920,32 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "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" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -12937,32 +12953,406 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" + ], + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "Function", + "name": "with", + "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout??", + "children": [ + { + "kind": "TypeNominal", + "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": "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": "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": "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV", + "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", @@ -12991,500 +13381,342 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(availableMethods:methods:)", + "kind": "TypeDecl", + "name": "WindowOpenResult", + "printedName": "WindowOpenResult", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", + "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "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": "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" - }, - { - "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": "with", - "printedName": "with(availableMethods:methods:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "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" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "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": [ - { - "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": "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: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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "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": [ + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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", @@ -13492,61 +13724,35 @@ "usr": "s:SS" } ], - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "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", @@ -13554,417 +13760,608 @@ "usr": "s:SS" } ], - "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": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "description", - "printedName": "description", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "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: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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "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" + "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "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.FulfillmentAvailableMethod.CodingKeys?", + "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" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "init_kind": "Designated" }, { - "kind": "Constructor", + "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "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": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" }, { "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "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": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "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" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "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": "Function", + "name": "with", + "printedName": "with(ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", "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", @@ -13973,40 +14370,66 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", - "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": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "rejected", + "printedName": "rejected(reason:version:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -14015,79 +14438,45 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", "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", @@ -14116,1544 +14505,1224 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(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": "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" + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "kind": "TypeDecl", + "name": "Event", + "printedName": "Event", "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { "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": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:SD" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + }, + { + "kind": "Var", + "name": "start", + "printedName": "start", + "children": [ { "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": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:SD" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "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" + "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": "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:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "complete", + "printedName": "complete", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "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.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" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "messagesChange", + "printedName": "messagesChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "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.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:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Var", + "name": "lineItemsChange", + "printedName": "lineItemsChange", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "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:Sa" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "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.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:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "kind": "Var", + "name": "buyerChange", + "printedName": "buyerChange", "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" - } - ], - "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" - } - ], - "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", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "shipping", - "printedName": "shipping", - "children": [ - { - "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": [ + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "usr": "s:Sq" - }, - { - "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()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Inlinable" + "HasInitialValue", + "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": [ - { - "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": "FulfillmentMethod", - "printedName": "FulfillmentMethod", - "children": [ - { - "kind": "Var", - "name": "destinations", - "printedName": "destinations", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "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:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "totalsChange", + "printedName": "totalsChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "groups", - "printedName": "groups", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", - "children": [ + "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": "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:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "paymentChange", + "printedName": "paymentChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", - "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", - "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" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": 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" - } + "HasInitialValue", + "HasStorage" ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "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:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", - "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "destinations", - "printedName": "destinations", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "groups", - "printedName": "groups", + "name": "ready", + "printedName": "ready", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "auth", + "printedName": "auth", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", - "children": [ + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", "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.FulfillmentMethod.CodingKeys?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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" - }, - { - "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": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_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" + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "paymentCredential", + "printedName": "paymentCredential", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult>", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -15662,45 +15731,103 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult>", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -15709,18 +15836,47 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -15728,21 +15884,55 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -15751,51 +15941,61 @@ "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "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": "all", + "printedName": "all", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -15803,47 +16003,63 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "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" - }, - { - "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" - }, + "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": [ { "kind": "Conformance", "name": "Copyable", @@ -15861,71 +16077,67 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", + "kind": "TypeDecl", + "name": "Delegation", + "printedName": "Delegation", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + }, { "kind": "TypeNominal", "name": "String", @@ -15933,13 +16145,23 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + }, { "kind": "TypeNominal", "name": "String", @@ -15947,347 +16169,313 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "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": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "paymentCredential", + "printedName": "paymentCredential", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:SD" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "fulfillmentAddressChange", + "printedName": "fulfillmentAddressChange", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "get" + "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" + } + ] }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Var", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "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" - }, + "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" + } + ] + }, + { + "kind": "Var", + "name": "all", + "printedName": "all", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]??", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "usr": "s:Sa" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "TypeAlias", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]??", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", @@ -16296,18 +16484,46 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "TypeAlias", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "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", @@ -16315,22 +16531,35 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sa" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", @@ -16338,465 +16567,459 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "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": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "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": [ + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "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: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", + "kind": "TypeDecl", + "name": "UCPCheckoutResponseSchema", + "printedName": "UCPCheckoutResponseSchema", "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()", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "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 : [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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "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": "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "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 : [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" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", "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" - } + "HasStorage" ], - "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": [ + "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.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", @@ -16805,28 +17028,20 @@ "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": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "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", @@ -16835,841 +17050,680 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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?", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "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": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] + } + ] } ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] + } + ] } ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] + } + ] } ], - "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", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", - "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "address", - "printedName": "address", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "name", - "printedName": "name", - "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "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.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "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.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "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.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "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" - }, + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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" } ] - } - ], - "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", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "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", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" } - ] + ], + "usr": "s:Sa" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "address", - "printedName": "address", - "children": [ + ], + "usr": "s:SD" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "name", - "printedName": "name", - "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], "usr": "s:Sq" @@ -17682,176 +17736,312 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_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.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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.Int?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -17860,40 +18050,46 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", "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", @@ -17902,79 +18098,44 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", "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", @@ -18007,334 +18168,76 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", + "kind": "TypeDecl", + "name": "ServiceResponseSchema", + "printedName": "ServiceResponseSchema", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "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" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "children": [ + { + "kind": "TypeNominal", + "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" } - ], - "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" - }, - { - "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -18351,36 +18254,52 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeNominal", @@ -18397,36 +18316,52 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeNominal", @@ -18443,18 +18378,74 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "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": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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", @@ -18463,16 +18454,22 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "endpoint", + "printedName": "endpoint", "children": [ { "kind": "TypeNominal", @@ -18489,98 +18486,119 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "transport", + "printedName": "transport", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", "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": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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", @@ -18594,164 +18612,7 @@ } ], "usr": "s:Sq" - } - ], - "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": [ - { - "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: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": "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", "name": "Optional", @@ -18765,55 +18626,7 @@ } ], "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": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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", @@ -18827,55 +18640,13 @@ } ], "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": "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", @@ -18889,303 +18660,259 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ + "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:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "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": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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" - } - ], - "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", - "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:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + "isFromExtension": 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": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" - } - ], - "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": [ + "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: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": [ + "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", @@ -19198,55 +18925,79 @@ "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:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", - "children": [ + "isFromExtension": 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:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -19261,508 +19012,438 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", + "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": "addressCountry", - "printedName": "addressCountry", + "name": "colorScheme", + "printedName": "colorScheme", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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.EmbeddedColorScheme]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", + "name": "delegate", + "printedName": "delegate", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "colorScheme", + "printedName": "colorScheme", "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.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11colorSchemeyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11colorSchemeyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "delegate", + "printedName": "delegate", "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.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "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.EmbeddedTransportConfig.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "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" + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ] + "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_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.EmbeddedTransportConfig.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" } - ] - } - ] - } - ], - "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_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": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "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?", - "children": [ + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "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": "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -19779,79 +19460,45 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvp", "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()", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -19860,46 +19507,40 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", - "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -19907,427 +19548,432 @@ "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" + } ] } ], - "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:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", + "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": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(colorScheme:delegate:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ], + "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" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", + "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "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": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "with", + "printedName": "with(colorScheme:delegate:)", "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" - } - ], - "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": [ + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "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]??", "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_SaySSGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_SaySSGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8jsonData10Foundation0G0VyKF", + "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", @@ -20342,112 +19988,229 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "light", + "printedName": "light", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueADSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueADSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeAlias", + "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" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "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:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -20456,729 +20219,767 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", "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:24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", - "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" - } - ], - "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": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, { - "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": "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "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" } ] }, { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "kind": "TypeDecl", + "name": "ErrorResponseUcp", + "printedName": "ErrorResponseUcp", "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "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:Sa" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "options", - "printedName": "options", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "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:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", - "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 : [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" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "TypeNominal", + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ] + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "options", - "printedName": "options", + "name": "version", + "printedName": "version", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "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.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "Var", + "name": "services", + "printedName": "services", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "Var", + "name": "version", + "printedName": "version", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_tcfc", "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "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.ErrorResponseUcp.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -21186,40 +20987,50 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_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:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -21228,46 +21039,113 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", - "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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -21275,121 +21153,254 @@ "printedName": "Swift.String", "usr": "s:SS" } + ], + "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" + } ] } ], - "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:lineItemIDS:options:selectedOptionID:)", - "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]", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", + "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:Sa" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "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:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "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", @@ -21397,348 +21408,356 @@ "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "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": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "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": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" }, { "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": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", "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" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "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:Sa" + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -21753,200 +21772,156 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "conformances": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "TypeDecl", + "name": "ErrorStatus", + "printedName": "ErrorStatus", "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "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" - }, - { - "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": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "description", - "printedName": "description", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -21955,28 +21930,34 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -21985,693 +21966,802 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "earliestFulfillmentTime", - "printedName": "earliestFulfillmentTime", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "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.Date?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", - "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": "Var", - "name": "id", - "printedName": "id", + "kind": "TypeDecl", + "name": "InstrumentsChangeCheckout", + "printedName": "InstrumentsChangeCheckout", "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "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" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(payment:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_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:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_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": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", "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": "carrier", - "printedName": "carrier", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "description", - "printedName": "description", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "earliestFulfillmentTime", - "printedName": "earliestFulfillmentTime", + "kind": "Function", + "name": "with", + "printedName": "with(payment:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment??", "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.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "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" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ] + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "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": "TypeDecl", + "name": "InstrumentsChangePayment", + "printedName": "InstrumentsChangePayment", + "children": [ { "kind": "Var", - "name": "title", - "printedName": "title", + "name": "instruments", + "printedName": "instruments", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "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.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "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.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "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" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", "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.FulfillmentOption.CodingKeys?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "kind": "Var", + "name": "instruments", + "printedName": "instruments", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", + "children": [ + { + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_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": "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "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", @@ -22679,19 +22769,35 @@ "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -22708,37 +22814,45 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", - "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", @@ -22747,40 +22861,40 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", - "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", @@ -22789,220 +22903,270 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", "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": [ - { - "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(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" + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", + "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" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(instruments:selectedInstrumentID:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, { "kind": "TypeNominal", "name": "String", @@ -23011,430 +23175,598 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_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.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "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": "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" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "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": "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": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeDecl", + "name": "InstrumentsChangeResultUcp", + "printedName": "InstrumentsChangeResultUcp", "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", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "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:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", + "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": "[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" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", + "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": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "children": [ + { + "kind": "TypeNominal", + "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" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "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" + "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": "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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "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": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "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": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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?", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", @@ -23443,547 +23775,285 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "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()", - "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": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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": [ - { - "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: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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", - "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "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", @@ -23991,40 +24061,50 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -24033,46 +24113,71 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", - "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -24080,278 +24185,41 @@ "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" + } ] - } - ], - "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:)", - "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?", - "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: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" - }, - { - "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(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": "with", - "printedName": "with(amount:displayText:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - }, - { - "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": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -24360,65 +24228,253 @@ "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" + "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" + } + ] } ], - "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": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ + { + "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": "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": "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" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, { "kind": "TypeNominal", "name": "String", @@ -24426,1382 +24482,6847 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "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": "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": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "item", - "printedName": "item", - "children": [ + "isFromExtension": true, + "throwing": true, + "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(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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]??", + "children": [ + { + "kind": "TypeNominal", + "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "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": "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "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": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", + "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": "CapabilityElement", + "printedName": "CapabilityElement", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", + "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extends", + "printedName": "extends", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", + "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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:extends:)", + "children": [ + { + "kind": "TypeNominal", + "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", + "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.Extends?", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_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.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_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": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "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": "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": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV", + "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": "PaymentHandlerElement", + "printedName": "PaymentHandlerElement", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", + "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: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": "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "availableInstruments", + "printedName": "availableInstruments", + "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" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "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(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": "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": "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": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", + "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(config:id:schema:spec:version:availableInstruments:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "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", + "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.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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_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": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "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": "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": "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.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" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", + "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": "PaymentHandlerAvailableInstrument", + "printedName": "PaymentHandlerAvailableInstrument", + "children": [ + { + "kind": "Var", + "name": "constraints", + "printedName": "constraints", + "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "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", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_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.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_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.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", + "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": "EmbeddedService", + "printedName": "EmbeddedService", + "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: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": "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": "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": "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": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Var", + "name": "endpoint", + "printedName": "endpoint", + "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: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": "Var", + "name": "transport", + "printedName": "transport", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "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": "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", + "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_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": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "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" + }, + { + "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", + "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8jsonData10Foundation0F0VyKF", + "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": 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": "CredentialCheckout", + "printedName": "CredentialCheckout", + "children": [ + { + "kind": "Var", + "name": "payment", + "printedName": "payment", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "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": "Constructor", + "name": "init", + "printedName": "init(payment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_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:24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(payment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "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" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_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:24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", + "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:24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": 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": "AddressChangeCheckout", + "printedName": "AddressChangeCheckout", + "children": [ + { + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fulfillment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(fulfillment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, + { + "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" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", + "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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", + "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": "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "availableMethods", + "printedName": "availableMethods", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "methods", + "printedName": "methods", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_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.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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", + "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: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": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", + "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.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, + { + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "parentID", - "printedName": "parentID", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "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" - } - ], - "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": [ + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_p_tKcfc", "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": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", "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": "id", - "printedName": "id", + "kind": "Function", + "name": "with", + "printedName": "with(availableMethods:methods:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.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.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "item", - "printedName": "item", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", "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.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "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" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - } - ] + "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", + "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": "Auth", + "printedName": "Auth", + "children": [ { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "type", + "printedName": "type", "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": "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.LineItem.CodingKeys.Type", + "name": "Optional", + "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:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(type:)", "children": [ + { + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", + "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:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "throwing": true, + "funcSelfKind": "NonMutating" }, { "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": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" }, { "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:24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "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": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "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": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(type:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "isFromExtension": 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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", - "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", - "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(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" + "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:24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ + "conformances": [ { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "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: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": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "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: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": "ReadyCheckout", + "printedName": "ReadyCheckout", "children": [ { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", "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" + "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item?", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "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": "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + } + ], + "usr": "s:Sq" + }, + { + "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, { - "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": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "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" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V_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: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": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(fulfillment:payment:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", - "children": [ + "isFromExtension": 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:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -25816,504 +31337,941 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V", + "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": "price", - "printedName": "price", + "kind": "TypeDecl", + "name": "ReadyPayment", + "printedName": "ReadyPayment", "children": [ { - "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ - { - "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": [ + "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "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:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "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(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "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": "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "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": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "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": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - }, + "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.Item.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "price", - "printedName": "price", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - }, + "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.Item.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(instruments:selectedInstrumentID:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "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": "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], "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, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "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" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(instruments:selectedInstrumentID:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", "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", @@ -26322,79 +32280,44 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", "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", @@ -26425,739 +32348,364 @@ "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": [ - { - "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" - } - ], - "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(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(_:using:)", - "children": [ - { - "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(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": "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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.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": "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" - } - ], - "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", + "kind": "TypeDecl", + "name": "Upgrade", + "printedName": "Upgrade", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "port", + "printedName": "port", "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "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:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", "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": [ + "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:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "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": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "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": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(title:type:url:)", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, { "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" - }, - { - "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" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV_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": "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": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "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": "Function", + "name": "with", + "printedName": "with(port:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "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" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "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", @@ -27172,414 +32720,427 @@ } ], "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" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV", "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:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "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: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", + "kind": "TypeDecl", + "name": "JSONRPCCheckoutParams", + "printedName": "JSONRPCCheckoutParams", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "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": "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" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", "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": [ + "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": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "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": "Var", - "name": "contentType", - "printedName": "contentType", + "kind": "TypeDecl", + "name": "JSONRPCErrorParams", + "printedName": "JSONRPCErrorParams", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "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": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(error:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "path", - "printedName": "path", - "children": [ + "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": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "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:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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" } ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "Buyer", + "printedName": "Buyer", + "children": [ { "kind": "Var", - "name": "severity", - "printedName": "severity", + "name": "email", + "printedName": "email", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -27595,67 +33156,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -27667,8 +33182,8 @@ }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "firstName", + "printedName": "firstName", "children": [ { "kind": "TypeNominal", @@ -27686,8 +33201,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -27716,8 +33231,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -27729,8 +33244,8 @@ }, { "kind": "Var", - "name": "presentation", - "printedName": "presentation", + "name": "lastName", + "printedName": "lastName", "children": [ { "kind": "TypeNominal", @@ -27748,8 +33263,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -27778,8 +33293,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -27791,8 +33306,8 @@ }, { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeNominal", @@ -27810,8 +33325,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -27840,8 +33355,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -27858,215 +33373,30 @@ "children": [ { "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": "Var", - "name": "content", - "printedName": "content", - "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: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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "path", - "printedName": "path", - "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "severity", - "printedName": "severity", - "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", + "name": "email", + "printedName": "email", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -28074,36 +33404,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "firstName", + "printedName": "firstName", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -28111,36 +33441,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "presentation", - "printedName": "presentation", + "name": "lastName", + "printedName": "lastName", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -28148,36 +33478,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -28185,8 +33515,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -28197,13 +33527,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ], "usr": "s:Sq" @@ -28216,8 +33546,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -28233,13 +33563,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ], "usr": "s:Sq" @@ -28252,8 +33582,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -28266,13 +33596,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ], "usr": "s:Sq" @@ -28285,8 +33615,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -28304,8 +33634,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -28330,8 +33660,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -28356,8 +33686,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -28377,8 +33707,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -28395,8 +33725,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -28419,8 +33749,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -28437,8 +33767,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -28447,8 +33777,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -28543,300 +33873,13 @@ { "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: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.Severity?", - "children": [ - { - "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - }, - { - "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: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:)", + "printedName": "init(email:firstName:lastName:phoneNumber:)", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "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": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" }, { "kind": "TypeNominal", @@ -28849,196 +33892,23 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - } - ], - "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.Severity??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", - "children": [ - { - "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MessageType?", - "children": [ - { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - } - ], - "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" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + ], + "usr": "s:Sq" + }, { "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": [ + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -29055,562 +33925,414 @@ }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5email9firstName04lastG011phoneNumberACSSSg_A3Htcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5email9firstName04lastG011phoneNumberACSSSg_A3Htcfc", "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" + "init_kind": "Designated" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ContentType", - "printedName": "ContentType", - "children": [ { "kind": "Var", - "name": "markdown", - "printedName": "markdown", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "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": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "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:24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "plain", - "printedName": "plain", - "children": [ + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - } - ], - "usr": "s:Sq" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "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:24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_tKcfc", "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:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "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" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "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" - } - ] + "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" } ], - "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" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Severity", - "printedName": "Severity", - "children": [ - { - "kind": "Var", - "name": "recoverable", - "printedName": "recoverable", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { - "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "requiresBuyerInput", - "printedName": "requiresBuyerInput", + "kind": "Function", + "name": "with", + "printedName": "with(email:firstName:lastName:phoneNumber:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "requiresBuyerReview", - "printedName": "requiresBuyerReview", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "unrecoverable", - "printedName": "unrecoverable", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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:24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "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": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "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()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -29619,62 +34341,30 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", - "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": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV", "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", @@ -29721,191 +34411,232 @@ }, { "kind": "TypeDecl", - "name": "MessageType", - "printedName": "MessageType", + "name": "Context", + "printedName": "Context", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "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" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "info", - "printedName": "info", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "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" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "warning", - "printedName": "warning", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "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" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "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" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MessageType?", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "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:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "eligibility", + "printedName": "eligibility", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -29914,54 +34645,48 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "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", + "kind": "Var", + "name": "intent", + "printedName": "intent", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -29969,76 +34694,13 @@ "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": "OrderConfirmation", - "printedName": "OrderConfirmation", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -30053,14 +34715,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:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30072,8 +34742,8 @@ }, { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "language", + "printedName": "language", "children": [ { "kind": "TypeNominal", @@ -30091,8 +34761,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -30121,8 +34791,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30134,19 +34804,27 @@ }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "postalCode", + "printedName": "postalCode", "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:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -30161,14 +34839,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:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30185,30 +34871,30 @@ "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } @@ -30216,36 +34902,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } @@ -30253,36 +34939,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } @@ -30290,8 +34976,156 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "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" }, { @@ -30302,13 +35136,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], "usr": "s:Sq" @@ -30321,8 +35155,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30338,13 +35172,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], "usr": "s:Sq" @@ -30357,8 +35191,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -30371,13 +35205,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], "usr": "s:Sq" @@ -30390,8 +35224,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -30409,8 +35243,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -30435,8 +35269,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -30461,8 +35295,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -30482,8 +35316,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -30500,8 +35334,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30524,8 +35358,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -30542,8 +35376,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -30552,8 +35386,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -30648,19 +35482,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:label:permalinkURL:)", + "printedName": "init(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { "kind": "TypeNominal", @@ -30678,163 +35506,17 @@ }, { "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", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "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: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": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "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:)", - "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" }, { "kind": "TypeNominal", @@ -30848,18 +35530,17 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -30868,10 +35549,9 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { @@ -30886,42 +35566,8 @@ "usr": "s:SS" } ], - "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": [ - { - "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": "TypeNominal", "name": "Optional", @@ -30938,111 +35584,59 @@ }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", "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" + "init_kind": "Designated" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Payment", - "printedName": "Payment", - "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -31052,77 +35646,101 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", "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]?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "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" + "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:24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -31143,39 +35761,12 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_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", @@ -31183,9 +35774,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { "kind": "TypeNominal", @@ -31195,8 +35786,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -31209,9 +35800,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { "kind": "TypeNominal", @@ -31228,8 +35819,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -31242,9 +35833,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { "kind": "TypeNominal", @@ -31254,8 +35845,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -31264,37 +35855,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(instruments:)", + "printedName": "with(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "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" @@ -31302,411 +35885,190 @@ ], "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?", + "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: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?", - "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()", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", + "printedName": "[Swift.String]??", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvp", - "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.PaymentCredential?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "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": [ + "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", - "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.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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region8currency11eligibility6intent8language10postalCodeACSSSgSg_A2MSaySSGSgSgA3MtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region8currency11eligibility6intent8language10postalCodeACSSSgSg_A2MSaySSGSgSgA3MtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "handlerID", - "printedName": "handlerID", + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -31715,33 +36077,110 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", - "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" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", + "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": "type", - "printedName": "type", + "name": "applied", + "printedName": "applied", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -31756,14 +36195,30 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -31775,27 +36230,35 @@ }, { "kind": "Var", - "name": "selected", - "printedName": "selected", + "name": "codes", + "printedName": "codes", "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -31811,21 +36274,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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -31836,375 +36307,313 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(applied:codes:)", "children": [ { - "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": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "kind": "Var", - "name": "credential", - "printedName": "credential", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", "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" - } - ] + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "kind": "Var", - "name": "display", - "printedName": "display", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "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" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "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": "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": "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": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "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": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", + "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": "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": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "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:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "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": "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", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", + "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" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]??", "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "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", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -32213,383 +36622,355 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "usr": "s:Sq" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "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": [ + { + "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": "AppliedDiscount", + "printedName": "AppliedDiscount", + "children": [ + { + "kind": "Var", + "name": "allocations", + "printedName": "allocations", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", + "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.DiscountAllocation]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", "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": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declAttributes": [ + "Transparent" ], - "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" - } - ] + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", "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" + "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:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(billingAddress:credential:display:handlerID:id:type:selected:)", + "kind": "Var", + "name": "automatic", + "printedName": "automatic", "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "code", + "printedName": "code", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", + "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": "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" } ], - "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" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "name": "eligibility", + "printedName": "eligibility", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasInitialValue", "HasStorage" ], + "isLet": true, "hasStorage": true, "accessors": [ { @@ -32599,304 +36980,328 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" - }, + } + ] + }, + { + "kind": "Var", + "name": "method", + "printedName": "method", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", + "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]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "set" + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Var", + "name": "priority", + "printedName": "priority", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "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": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Var", + "name": "provisional", + "printedName": "provisional", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", "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.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "title", + "printedName": "title", "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", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", "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" - }, + "declAttributes": [ + "HasStorage" + ], + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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": "Constructor", + "name": "init", + "printedName": "init(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential??", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - } - ], - "usr": "s:Sq" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "Swift.String?", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { @@ -32911,531 +37316,352 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "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.Bool??", + "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" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSg_SiSbSgSSSgArA0E6MethodOSgSiSgAQSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSg_SiSbSgSSSgArA0E6MethodOSgSiSgAQSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, { - "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": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" }, { "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": 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" + "init_kind": "Designated" }, { - "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": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4dataAC10Foundation4DataV_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:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(type:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "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: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]", - "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" + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" }, { - "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" + "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Function", + "name": "with", + "printedName": "with(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", "children": [ { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "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" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "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:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ], + "usr": "s:Sq" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int??", "children": [ { "kind": "TypeNominal", @@ -33452,45 +37678,36 @@ "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool??", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -33499,40 +37716,46 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "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", @@ -33541,151 +37764,199 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", - "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:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, + "isFromExtension": true, + "throwing": 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": "DiscountAllocation", + "printedName": "DiscountAllocation", + "children": [ + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", + "moduleName": "EmbeddedCheckoutProtocol", + "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", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "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" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "path", + "printedName": "path", + "children": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(amount:path:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" }, { "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:24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, "init_kind": "Designated" }, { @@ -33706,12 +37977,39 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, { "kind": "Constructor", "name": "init", @@ -33719,9 +38017,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" }, { "kind": "TypeNominal", @@ -33731,8 +38029,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -33745,9 +38043,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" }, { "kind": "TypeNominal", @@ -33764,8 +38062,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -33778,9 +38076,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" }, { "kind": "TypeNominal", @@ -33790,8 +38088,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -33800,13 +38098,28 @@ { "kind": "Function", "name": "with", - "printedName": "with(type:)", + "printedName": "with(amount:path:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "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", @@ -33825,8 +38138,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -33844,8 +38157,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -33879,8 +38192,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -33888,8 +38201,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -33938,183 +38251,35 @@ }, { "kind": "TypeDecl", - "name": "CheckoutStatus", - "printedName": "CheckoutStatus", + "name": "DiscountMethod", + "printedName": "DiscountMethod", "children": [ { "kind": "Var", - "name": "canceled", - "printedName": "canceled", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "completeInProgress", - "printedName": "completeInProgress", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "completed", - "printedName": "completed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "incomplete", - "printedName": "incomplete", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "readyForComplete", - "printedName": "readyForComplete", + "name": "across", + "printedName": "across", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ] } @@ -34122,36 +38287,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "requiresEscalation", - "printedName": "requiresEscalation", + "name": "each", + "printedName": "each", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ] } @@ -34159,8 +38324,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -34171,13 +38336,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], "usr": "s:Sq" @@ -34190,8 +38355,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34212,8 +38377,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -34230,8 +38395,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -34248,8 +38413,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34261,8 +38426,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -34349,78 +38514,40 @@ }, { "kind": "TypeDecl", - "name": "CheckoutTotal", - "printedName": "CheckoutTotal", + "name": "CheckoutFulfillment", + "printedName": "CheckoutFulfillment", "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -34436,67 +38563,29 @@ { "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:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", - "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:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", - "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:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34508,24 +38597,24 @@ }, { "kind": "Var", - "name": "lines", - "printedName": "lines", + "name": "methods", + "printedName": "methods", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" @@ -34535,8 +38624,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -34552,18 +38641,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" @@ -34573,8 +38662,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34591,104 +38680,30 @@ "children": [ { "kind": "Var", - "name": "amount", - "printedName": "amount", - "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:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", - "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:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", + "name": "availableMethods", + "printedName": "availableMethods", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ] } @@ -34696,36 +38711,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lines", - "printedName": "lines", + "name": "methods", + "printedName": "methods", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ] } @@ -34733,8 +38748,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -34745,13 +38760,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ], "usr": "s:Sq" @@ -34764,8 +38779,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34781,13 +38796,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ], "usr": "s:Sq" @@ -34800,8 +38815,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -34814,13 +38829,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ], "usr": "s:Sq" @@ -34833,8 +38848,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -34852,8 +38867,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -34878,8 +38893,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -34904,8 +38919,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -34925,8 +38940,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -34943,8 +38958,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34967,8 +38982,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -34985,8 +39000,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -34995,8 +39010,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -35091,55 +39106,51 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(amount:displayText:type:lines:)", + "printedName": "init(availableMethods:methods:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { "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" }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" @@ -35149,8 +39160,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dI0VGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dI0VGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -35172,8 +39183,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -35186,9 +39197,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { "kind": "TypeNominal", @@ -35198,8 +39209,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -35212,9 +39223,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { "kind": "TypeNominal", @@ -35224,8 +39235,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -35238,9 +39249,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { "kind": "TypeNominal", @@ -35257,8 +39268,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -35271,9 +39282,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { "kind": "TypeNominal", @@ -35283,8 +39294,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -35293,44 +39304,37 @@ { "kind": "Function", "name": "with", - "printedName": "with(amount:displayText:type:lines:)", + "printedName": "with(availableMethods:methods:)", "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" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "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" @@ -35342,38 +39346,23 @@ { "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]??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" @@ -35387,8 +39376,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -35406,8 +39395,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -35431,93 +39420,225 @@ } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + }, + { + "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": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", + "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "fulfillableOn", + "printedName": "fulfillableOn", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", "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" + "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Line", - "printedName": "Line", - "children": [ { "kind": "Var", - "name": "amount", - "printedName": "amount", + "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:24EmbeddedCheckoutProtocol4LineV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -35532,14 +39653,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:24EmbeddedCheckoutProtocol4LineV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -35551,19 +39680,19 @@ }, { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -35578,14 +39707,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -35602,30 +39731,30 @@ "children": [ { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -35633,36 +39762,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -35670,8 +39799,82 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lineItemIDS", + "printedName": "lineItemIDS", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -35682,13 +39885,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -35701,8 +39904,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -35718,13 +39921,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -35737,8 +39940,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -35751,13 +39954,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -35770,8 +39973,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -35789,8 +39992,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -35815,8 +40018,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -35841,8 +40044,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -35862,8 +40065,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -35880,8 +40083,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -35904,8 +40107,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -35922,8 +40125,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -35932,8 +40135,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -36028,31 +40231,207 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(amount:displayText:)", + "printedName": "init(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": "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": "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "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: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": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -36073,39 +40452,12 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_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", @@ -36113,9 +40465,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -36125,8 +40477,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36139,9 +40491,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -36158,8 +40510,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36172,9 +40524,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -36184,8 +40536,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36194,24 +40546,32 @@ { "kind": "Function", "name": "with", - "printedName": "with(amount:displayText:)", + "printedName": "with(description:fulfillableOn:lineItemIDS:type:)", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "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, @@ -36220,13 +40580,59 @@ { "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]?", + "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, @@ -36234,8 +40640,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAA0dF4TypeOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAA0dF4TypeOSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -36253,8 +40659,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36288,8 +40694,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36297,8 +40703,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4LineV", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -36347,158 +40753,154 @@ }, { "kind": "TypeDecl", - "name": "UCPCheckoutResponseSchema", - "printedName": "UCPCheckoutResponseSchema", + "name": "FulfillmentMethodType", + "printedName": "FulfillmentMethodType", "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "pickup", + "printedName": "pickup", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", "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" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "shipping", + "printedName": "shipping", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", "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": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", "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": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], - "usr": "s:SD" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_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: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", @@ -36507,90 +40909,147 @@ "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "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": "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": "FulfillmentMethod", + "printedName": "FulfillmentMethod", + "children": [ { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "destinations", + "printedName": "destinations", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", "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" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -36606,43 +41065,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", "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" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -36654,27 +41099,35 @@ }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "groups", + "printedName": "groups", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "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:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -36690,21 +41143,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "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:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -36716,8 +41177,8 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -36727,8 +41188,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -36749,8 +41210,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -36761,301 +41222,14 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ] - } - ] - } - ], - "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", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ] - } - ] - } - ], - "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", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -37064,89 +41238,28 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", - "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:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "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:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -37155,88 +41268,60 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", - "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" + "usr": "s:Sa" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", "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:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", + "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:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", "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", @@ -37244,550 +41329,401 @@ "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - }, + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", + "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": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "destinations", + "printedName": "destinations", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "kind": "Var", + "name": "groups", + "printedName": "groups", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "usr": "s:SD" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "kind": "Var", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] + } + ] } ], - "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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "kind": "Var", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "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" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:SD" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", - "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" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "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.FulfillmentMethod.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -37796,178 +41732,113 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "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": "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -37976,28 +41847,64 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", "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", @@ -38005,172 +41912,128 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", - "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" } ] }, { - "kind": "Var", - "name": "schema", - "printedName": "schema", + "kind": "Constructor", + "name": "init", + "printedName": "init(destinations:groups:id:lineItemIDS:selectedDestinationID: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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ + "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ + "usr": "s:Sq" + }, { "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()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -38179,46 +42042,69 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "usr": "s:Sa" + }, + { + "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": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { "kind": "Var", - "name": "extends", - "printedName": "extends", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -38228,47 +42114,45 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", "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" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, { "kind": "TypeNominal", "name": "Dictionary", @@ -38290,75 +42174,41 @@ "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" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" - }, + "accessorKind": "set" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } - ], - "usr": "s:Sq" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -38379,39 +42229,12 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_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", @@ -38419,9 +42242,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", @@ -38431,8 +42254,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38445,9 +42268,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", @@ -38464,8 +42287,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38478,9 +42301,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", @@ -38490,8 +42313,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38500,43 +42323,37 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:extends:)", + "printedName": "with(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -38548,18 +42365,26 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -38571,21 +42396,13 @@ { "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" } ], "hasDefaultArg": true, @@ -38594,12 +42411,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -38608,22 +42425,7 @@ "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" + "usr": "s:Sa" } ], "hasDefaultArg": true, @@ -38632,18 +42434,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends??", + "printedName": "Swift.String??", "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" @@ -38651,11 +42453,26 @@ ], "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -38673,8 +42490,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38708,8 +42525,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38717,222 +42534,9 @@ } ], "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": [ - { - "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Extends.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } - ] - } - ] - } - ], - "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": [ - { - "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Extends.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } - ] - } - ] - } - ], - "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", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV", "moduleName": "EmbeddedCheckoutProtocol", - "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", @@ -38980,149 +42584,13 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerResponseSchema", - "printedName": "PaymentHandlerResponseSchema", + "name": "FulfillmentDestination", + "printedName": "FulfillmentDestination", "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: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": [ - { - "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: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", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { "kind": "TypeNominal", @@ -39140,8 +42608,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -39170,8 +42638,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -39183,8 +42651,8 @@ }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "addressLocality", + "printedName": "addressLocality", "children": [ { "kind": "TypeNominal", @@ -39195,131 +42663,15 @@ "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "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", - "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", - "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:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -39335,29 +42687,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -39368,287 +42712,77 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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(rawValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "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" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -39656,50 +42790,60 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", + "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.PaymentHandlerResponseSchema.CodingKeys?", + "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" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -39708,113 +42852,60 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declAttributes": [ + "Transparent" ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "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", @@ -39823,64 +42914,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", "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", @@ -39888,108 +42943,89 @@ "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "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": [ + { + "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" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "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", @@ -40003,7 +43039,55 @@ } ], "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": [ + { + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -40017,226 +43101,163 @@ } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "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": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "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" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "id", + "printedName": "id", "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", "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" - } + "declAttributes": [ + "HasStorage" ], - "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" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "address", + "printedName": "address", "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" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", "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" - } + "declAttributes": [ + "HasStorage" ], - "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" - }, + "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.PostalAddress?", "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": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -40249,13 +43270,23 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", + "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", @@ -40272,773 +43303,522 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", "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" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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]?", + "kind": "Var", + "name": "firstName", + "printedName": "firstName", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "lastName", + "printedName": "lastName", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.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.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } - ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", "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: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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] } - ], - "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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.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.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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" + } + ] + } + ] } ], - "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": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "address", + "printedName": "address", "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "Var", + "name": "name", + "printedName": "name", "children": [ { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "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:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -41046,60 +43826,50 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -41108,60 +43878,113 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -41170,28 +43993,64 @@ "usr": "s:SS" } ], - "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", "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", @@ -41199,48 +44058,78 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvg", - "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" } ] }, { - "kind": "Var", - "name": "version", - "printedName": "version", + "kind": "Constructor", + "name": "init", + "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -41249,23 +44138,8 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -41279,117 +44153,59 @@ } ], "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": "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:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8endpointSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "transport", - "printedName": "transport", - "children": [ + "usr": "s:Sq" + }, { "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()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "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": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "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.EmbeddedTransportConfig?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -41442,6 +44258,20 @@ "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", @@ -41455,17 +44285,11 @@ } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSg_SSSgA2NSSAnA0N0Otcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSg_SSSgA2NSSAnA0N0Otcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -41487,8 +44311,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -41501,9 +44325,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -41513,8 +44337,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -41527,9 +44351,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -41539,8 +44363,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -41553,9 +44377,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -41572,8 +44396,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -41586,9 +44410,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -41598,8 +44422,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -41608,29 +44432,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", + "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -41711,13 +44535,21 @@ { "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, @@ -41749,13 +44581,128 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "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": "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": "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, @@ -41763,8 +44710,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSgSg_SSSgSgA2qpqA0O0OSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSgSg_SSSgSgA2qpqA0O0OSgtF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -41782,8 +44729,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -41817,8 +44764,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -41826,8 +44773,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -41876,40 +44823,342 @@ }, { "kind": "TypeDecl", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedTransportConfig", + "name": "PostalAddress", + "printedName": "PostalAddress", "children": [ { "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", + "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", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": [ + { + "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?", + "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", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "[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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -41925,29 +45174,21 @@ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -41959,35 +45200,27 @@ }, { "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -42003,29 +45236,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -42036,139 +45261,77 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { - "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11colorSchemeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11colorSchemeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8delegateyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8delegateyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", + "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.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": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -42176,883 +45339,493 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", + "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.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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declAttributes": [ + "Transparent" ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "addressLocality", + "printedName": "addressLocality", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "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" + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "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(colorScheme:delegate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "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": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "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" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Var", + "name": "firstName", + "printedName": "firstName", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "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" - }, - { - "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: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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "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": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]??", + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]??", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "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": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO4darkyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO4darkyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "light", - "printedName": "light", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } - ] - } - ] - } - ], - "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": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "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": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", "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": [ + "init_kind": "Designated" + }, { - "kind": "TypeWitness", + "kind": "TypeAlias", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -43062,285 +45835,273 @@ "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": "Transport", - "printedName": "Transport", - "children": [ - { - "kind": "Var", - "name": "a2A", - "printedName": "a2A", - "children": [ + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ], - "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", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "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", + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "rest", - "printedName": "rest", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "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": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "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:)", + "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": "EmbeddedCheckoutProtocol.Transport?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "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:24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol9TransportO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8RawValuea", - "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:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -43349,49 +46110,12 @@ "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": "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", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -43399,423 +46123,326 @@ "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": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "success", - "printedName": "success", - "children": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" }, { "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], "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:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", "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:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "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" + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "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:24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_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:)", + "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": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Order", - "printedName": "Order", - "children": [ + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Var", - "name": "adjustments", - "printedName": "adjustments", + "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": "[EmbeddedCheckoutProtocol.Adjustment]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "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()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "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", @@ -43823,232 +46450,164 @@ "usr": "s:SS" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", - "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 : 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", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "checkoutID", - "printedName": "checkoutID", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": 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:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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", - "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:24EmbeddedCheckoutProtocol5OrderV8currencySSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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()", + "name": "Optional", + "printedName": "Swift.String??", "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", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "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:24EmbeddedCheckoutProtocol5OrderV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "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", @@ -44057,41 +46616,94 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", - "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: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": "label", - "printedName": "label", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44106,22 +46718,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:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44133,27 +46737,27 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44169,21 +46773,21 @@ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44195,24 +46799,24 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "options", + "printedName": "options", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" } ], "usr": "s:Sa" @@ -44222,8 +46826,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44239,18 +46843,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" } ], "usr": "s:Sa" @@ -44260,116 +46864,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", - "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:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", - "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" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", - "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", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44381,377 +46877,97 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "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()", - "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "adjustments", - "printedName": "adjustments", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", - "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: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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "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": "Var", - "name": "fulfillment", - "printedName": "fulfillment", - "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: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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "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" - } - ] - } - ] + "name": "selectedOptionID", + "printedName": "selectedOptionID", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -44759,36 +46975,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -44796,36 +47012,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "options", + "printedName": "options", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -44833,36 +47049,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "selectedOptionID", + "printedName": "selectedOptionID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -44870,8 +47086,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -44882,13 +47098,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -44901,8 +47117,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44918,13 +47134,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -44937,8 +47153,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -44951,13 +47167,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -44970,8 +47186,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -44989,8 +47205,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -45015,8 +47231,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45041,8 +47257,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -45062,8 +47278,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45080,8 +47296,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45104,8 +47320,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45122,8 +47338,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -45132,8 +47348,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -45228,88 +47444,56 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", + "printedName": "init(id:lineItemIDS:options:selectedOptionID:)", "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "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" + "usr": "s:Sa" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "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" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Optional", @@ -45323,74 +47507,152 @@ } ], "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": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "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": "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "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:Sa" + "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": "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -45411,39 +47673,12 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, { "kind": "Constructor", "name": "init", @@ -45451,9 +47686,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", @@ -45463,8 +47698,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -45477,9 +47712,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", @@ -45496,8 +47731,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -45510,9 +47745,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", @@ -45522,8 +47757,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -45532,126 +47767,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", + "printedName": "with(id:lineItemIDS:options:selectedOptionID:)", "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]??", - "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" - } - ], - "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 : 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": "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": "EmbeddedCheckoutProtocol.Fulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", @@ -45671,12 +47793,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -45685,29 +47807,6 @@ "usr": "s:SS" } ], - "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" } ], @@ -45717,23 +47816,23 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" } ], "usr": "s:Sa" @@ -45748,51 +47847,21 @@ { "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": "Swift.String??", "children": [ { "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -45800,8 +47869,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -45819,8 +47888,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -45854,8 +47923,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -45863,8 +47932,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -45913,13 +47982,13 @@ }, { "kind": "TypeDecl", - "name": "Adjustment", - "printedName": "Adjustment", + "name": "FulfillmentOption", + "printedName": "FulfillmentOption", "children": [ { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "carrier", + "printedName": "carrier", "children": [ { "kind": "TypeNominal", @@ -45937,8 +48006,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -45967,8 +48036,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45980,19 +48049,27 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "description", + "printedName": "description", "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:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46007,14 +48084,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:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46026,35 +48111,27 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "earliestFulfillmentTime", + "printedName": "earliestFulfillmentTime", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - } - ], - "usr": "s:Sa" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46070,29 +48147,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - } - ], - "usr": "s:Sa" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46104,19 +48173,19 @@ }, { "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46131,14 +48200,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46150,19 +48219,27 @@ }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "latestFulfillmentTime", + "printedName": "latestFulfillmentTime", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46177,14 +48254,22 @@ "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46196,35 +48281,19 @@ }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "title", + "printedName": "title", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46239,30 +48308,14 @@ "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46274,19 +48327,27 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "totals", + "printedName": "totals", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46301,14 +48362,22 @@ "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:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46325,30 +48394,30 @@ "children": [ { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "carrier", + "printedName": "carrier", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -46356,36 +48425,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -46393,36 +48462,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "earliestFulfillmentTime", + "printedName": "earliestFulfillmentTime", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -46430,36 +48499,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -46467,36 +48536,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "latestFulfillmentTime", + "printedName": "latestFulfillmentTime", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -46504,36 +48573,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -46541,36 +48610,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -46578,8 +48647,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -46590,13 +48659,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" @@ -46609,8 +48678,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46626,13 +48695,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" @@ -46645,8 +48714,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -46659,13 +48728,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" @@ -46678,8 +48747,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -46697,8 +48766,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -46723,8 +48792,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -46749,8 +48818,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -46770,8 +48839,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -46788,8 +48857,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46812,383 +48881,63 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", "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:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", - "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(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": "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.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" - }, - { - "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": "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:24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", - "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:24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "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(_: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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(description:id:lineItems:occurredAt:status:totals:type:)", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "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", @@ -47196,12 +48945,73 @@ "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" + }, + { + "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", @@ -47215,38 +49025,20 @@ "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" }, { @@ -47261,208 +49053,89 @@ "usr": "s:10Foundation4DateV" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]??", + "printedName": "Foundation.Date?", "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": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": 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" + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -47472,97 +49145,101 @@ "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:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", "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()", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:quantity:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -47583,39 +49260,12 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, - { - "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", @@ -47623,9 +49273,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", @@ -47635,8 +49285,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -47648,10 +49298,10 @@ "printedName": "init(_:using:)", "children": [ { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", @@ -47668,8 +49318,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -47682,9 +49332,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", @@ -47694,8 +49344,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -47704,13 +49354,82 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:quantity:)", + "printedName": "with(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "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", @@ -47730,13 +49449,59 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Foundation.Date??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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, @@ -47744,8 +49509,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -47763,8 +49528,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -47798,8 +49563,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -47807,8 +49572,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -47857,139 +49622,122 @@ }, { "kind": "TypeDecl", - "name": "AdjustmentStatus", - "printedName": "AdjustmentStatus", + "name": "LineItemTotal", + "printedName": "LineItemTotal", "children": [ { "kind": "Var", - "name": "completed", - "printedName": "completed", + "name": "amount", + "printedName": "amount", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "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": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - } - ] + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "failed", - "printedName": "failed", + "name": "displayText", + "printedName": "displayText", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "pending", - "printedName": "pending", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -47997,57 +49745,175 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "displayText", + "printedName": "displayText", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "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": "String", @@ -48055,326 +49921,372 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", "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": [ + "init_kind": "Designated" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "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": "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "expectations", - "printedName": "expectations", - "children": [ + "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" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", "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": "[EmbeddedCheckoutProtocol.Expectation]?", + "kind": "TypeWitness", + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", - "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" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(events:expectations:)", + "printedName": "init(amount:displayText:type:)", "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "printedName": "Swift.String?", "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" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -48396,8 +50308,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -48410,9 +50322,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -48422,8 +50334,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -48436,9 +50348,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -48448,8 +50360,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -48462,9 +50374,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -48481,542 +50393,69 @@ } ], "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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]??", - "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", - "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", - "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:24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", - "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:24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV", - "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": "FulfillmentEvent", - "printedName": "FulfillmentEvent", - "children": [ - { - "kind": "Var", - "name": "carrier", - "printedName": "carrier", - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "trackingNumber", - "printedName": "trackingNumber", + "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": "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", - "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", @@ -49033,23 +50472,9 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "trackingURL", - "printedName": "trackingURL", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -49062,417 +50487,47 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", "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:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "carrier", - "printedName": "carrier", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "description", - "printedName": "description", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "trackingNumber", - "printedName": "trackingNumber", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "trackingURL", - "printedName": "trackingURL", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -49480,35 +50535,106 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "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()", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -49516,50 +50642,73 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "item", + "printedName": "item", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parentID", + "printedName": "parentID", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -49568,313 +50717,368 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "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": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sa" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "kind": "Var", + "name": "id", + "printedName": "id", + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Var", + "name": "item", + "printedName": "item", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] } ] } ], - "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:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "parentID", + "printedName": "parentID", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "quantity", + "printedName": "quantity", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "kind": "Var", + "name": "totals", + "printedName": "totals", "children": [ { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -49882,13 +51086,35 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_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": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -49896,218 +51122,123 @@ "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" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "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" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -50116,56 +51247,58 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "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": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -50174,21 +51307,46 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "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", @@ -50196,172 +51354,90 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "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": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "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": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, { - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV", - "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": "EventLineItem", - "printedName": "EventLineItem", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", + "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -50370,91 +51446,32 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", - "children": [ + "usr": "s:Sq" + }, { "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()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "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" + "usr": "s:Sa" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -50476,8 +51493,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -50490,9 +51507,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -50502,8 +51519,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -50516,9 +51533,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -50528,8 +51545,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50542,9 +51559,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -50561,8 +51578,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50575,9 +51592,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -50587,8 +51604,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50597,13 +51614,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:quantity:)", + "printedName": "with(id:item:parentID:quantity:totals:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -50620,6 +51637,44 @@ "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??", + "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", @@ -50634,11 +51689,34 @@ ], "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:24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -50656,8 +51734,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50691,8 +51769,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50700,8 +51778,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -50750,86 +51828,24 @@ }, { "kind": "TypeDecl", - "name": "Expectation", - "printedName": "Expectation", + "name": "Item", + "printedName": "Item", "children": [ { "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:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", - "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:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "destination", - "printedName": "destination", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50844,14 +51860,14 @@ "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50863,8 +51879,8 @@ }, { "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeNominal", @@ -50882,8 +51898,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50912,54 +51928,8 @@ } ], "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", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50971,27 +51941,19 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "price", + "printedName": "price", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -51006,22 +51968,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51033,19 +51987,19 @@ }, { "kind": "Var", - "name": "methodType", - "printedName": "methodType", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -51060,14 +52014,14 @@ "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51084,104 +52038,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.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -51189,36 +52069,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -51226,36 +52106,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "price", + "printedName": "price", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -51263,36 +52143,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "methodType", - "printedName": "methodType", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -51300,8 +52180,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -51312,13 +52192,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -51331,8 +52211,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51348,13 +52228,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -51367,8 +52247,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -51381,13 +52261,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -51400,8 +52280,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -51419,8 +52299,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -51445,8 +52325,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51471,8 +52351,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51492,8 +52372,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51510,8 +52390,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51534,8 +52414,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51552,8 +52432,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51562,8 +52442,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -51658,33 +52538,19 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(description:destination:fulfillableOn:id:lineItems:methodType:)", + "printedName": "init(id:imageURL:price:title:)", "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" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", @@ -51702,34 +52568,20 @@ }, { "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -51751,8 +52603,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -51765,9 +52617,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", @@ -51777,8 +52629,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -51791,9 +52643,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", @@ -51803,8 +52655,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -51817,9 +52669,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", @@ -51836,8 +52688,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -51850,9 +52702,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", @@ -51862,8 +52714,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -51872,47 +52724,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(description:destination:fulfillableOn:id:lineItems:methodType:)", + "printedName": "with(id:imageURL:price:title:)", "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" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "hasDefaultArg": true, @@ -51944,36 +52773,13 @@ { "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]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "hasDefaultArg": true, @@ -51982,13 +52788,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MethodType?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "hasDefaultArg": true, @@ -51996,8 +52802,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -52015,8 +52821,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52050,8 +52856,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52059,8 +52865,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -52109,13 +52915,75 @@ }, { "kind": "TypeDecl", - "name": "ExpectationLineItem", - "printedName": "ExpectationLineItem", + "name": "Link", + "printedName": "Link", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "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" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", + "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:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -52125,8 +52993,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52147,8 +53015,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52160,19 +53028,19 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52187,14 +53055,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52207,13 +53075,27 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:quantity:)", + "printedName": "init(title:type:url:)", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -52223,14 +53105,14 @@ }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV5title4type3urlACSSSg_S2Stcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5title4type3urlACSSSg_S2Stcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -52252,8 +53134,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -52266,9 +53148,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -52278,8 +53160,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -52292,9 +53174,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -52304,8 +53186,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52318,9 +53200,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -52337,8 +53219,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52351,9 +53233,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -52363,8 +53245,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52373,13 +53255,36 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:quantity:)", + "printedName": "with(title:type:url:)", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "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", @@ -52399,13 +53304,13 @@ { "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, @@ -52413,8 +53318,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -52432,8 +53337,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52467,8 +53372,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52476,8 +53381,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -52526,191 +53431,146 @@ }, { "kind": "TypeDecl", - "name": "MethodType", - "printedName": "MethodType", + "name": "Message", + "printedName": "Message", "children": [ { "kind": "Var", - "name": "digital", - "printedName": "digital", + "name": "code", + "printedName": "code", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "pickup", - "printedName": "pickup", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "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": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "shipping", - "printedName": "shipping", + "name": "content", + "printedName": "content", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "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": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "contentType", + "printedName": "contentType", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MethodType?", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", "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:24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "HasStorage" ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -52719,54 +53579,40 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "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", + "kind": "Var", + "name": "path", + "printedName": "path", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -52774,76 +53620,75 @@ "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" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "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:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OrderLineItem", - "printedName": "OrderLineItem", - "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "severity", + "printedName": "severity", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52858,14 +53703,22 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52877,19 +53730,19 @@ }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52904,14 +53757,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52923,8 +53776,8 @@ }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeNominal", @@ -52942,8 +53795,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52972,8 +53825,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52985,65 +53838,27 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "presentation", + "printedName": "presentation", "children": [ { "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": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53058,14 +53873,22 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53077,27 +53900,27 @@ }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "url", + "printedName": "url", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53112,22 +53935,22 @@ "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", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53144,30 +53967,30 @@ "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "code", + "printedName": "code", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -53175,36 +53998,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "content", + "printedName": "content", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -53212,36 +54035,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "contentType", + "printedName": "contentType", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -53249,36 +54072,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "path", + "printedName": "path", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -53286,36 +54109,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "severity", + "printedName": "severity", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -53323,36 +54146,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", "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.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -53360,8 +54183,119 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "imageURL", + "printedName": "imageURL", + "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "presentation", + "printedName": "presentation", + "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "url", + "printedName": "url", + "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -53372,13 +54306,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -53391,8 +54325,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53408,13 +54342,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -53427,8 +54361,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -53441,13 +54375,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -53460,8 +54394,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -53479,8 +54413,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -53505,8 +54439,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53531,8 +54465,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -53552,8 +54486,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53570,8 +54504,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53594,8 +54528,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53612,8 +54546,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -53622,8 +54556,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -53718,25 +54652,81 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:item:parentID:quantity:status:totals:)", + "printedName": "init(code:content:contentType:path:severity:type:imageURL:presentation:url:)", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "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: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" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" }, { "kind": "TypeNominal", @@ -53754,34 +54744,36 @@ }, { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -53803,8 +54795,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -53817,9 +54809,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -53829,8 +54821,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -53843,9 +54835,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -53855,8 +54847,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -53869,9 +54861,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -53888,8 +54880,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -53902,9 +54894,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -53914,8 +54906,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -53924,13 +54916,36 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:item:parentID:quantity:status:totals:)", + "printedName": "with(code:content:contentType:path:severity:type:imageURL:presentation:url:)", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + }, + { + "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", @@ -53950,13 +54965,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item?", + "printedName": "EmbeddedCheckoutProtocol.ContentType??", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -53988,13 +55011,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity?", + "printedName": "EmbeddedCheckoutProtocol.Severity??", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -54003,13 +55034,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "printedName": "EmbeddedCheckoutProtocol.MessageType?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], "hasDefaultArg": true, @@ -54018,21 +55049,67 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "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" + } + ], + "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, @@ -54040,8 +55117,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -54059,8 +55136,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -54094,8 +55171,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -54103,10 +55180,273 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", + "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", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ] + } + ] + } + ], + "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" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ] + } + ] + } + ], + "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "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": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Decodable", @@ -54153,444 +55493,284 @@ }, { "kind": "TypeDecl", - "name": "LineItemQuantity", - "printedName": "LineItemQuantity", + "name": "Severity", + "printedName": "Severity", "children": [ { "kind": "Var", - "name": "fulfilled", - "printedName": "fulfilled", + "name": "recoverable", + "printedName": "recoverable", "children": [ { - "kind": "TypeNominal", - "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "original", - "printedName": "original", + "name": "requiresBuyerInput", + "printedName": "requiresBuyerInput", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "requiresBuyerReview", + "printedName": "requiresBuyerReview", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "total", - "printedName": "total", + "name": "unrecoverable", + "printedName": "unrecoverable", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fulfilled:original:total:)", + "printedName": "init(rawValue:)", "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "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": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "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" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } + "declAttributes": [ + "Inlinable" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_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": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, { "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:24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8RawValuea", "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": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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" - }, + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int??", + "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" + "name": "String", + "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" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" ], - "hasDefaultArg": true, - "usr": "s:Sq" + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "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": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "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", @@ -54598,31 +55778,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:24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Decodable", @@ -54669,72 +55830,35 @@ }, { "kind": "TypeDecl", - "name": "LineItemStatus", - "printedName": "LineItemStatus", + "name": "MessageType", + "printedName": "MessageType", "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", + "name": "error", + "printedName": "error", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ] } @@ -54742,36 +55866,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "processing", - "printedName": "processing", + "name": "info", + "printedName": "info", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ] } @@ -54779,36 +55903,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "removed", - "printedName": "removed", + "name": "warning", + "printedName": "warning", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ] } @@ -54816,8 +55940,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -54828,13 +55952,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "printedName": "EmbeddedCheckoutProtocol.MessageType?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], "usr": "s:Sq" @@ -54847,8 +55971,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -54869,8 +55993,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -54887,8 +56011,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -54905,8 +56029,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -54918,8 +56042,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -55006,54 +56130,24 @@ }, { "kind": "TypeDecl", - "name": "UCPOrderResponseSchema", - "printedName": "UCPOrderResponseSchema", + "name": "OrderConfirmation", + "printedName": "OrderConfirmation", "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "id", + "printedName": "id", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55068,44 +56162,14 @@ "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55117,49 +56181,27 @@ }, { "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "Swift.String?", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55175,211 +56217,21 @@ { "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]]", + "printedName": "Swift.String?", "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" - } - ] - }, - { - "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "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", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55390,9 +56242,9 @@ ] }, { - "kind": "Var", - "name": "version", - "printedName": "version", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeNominal", @@ -55402,8 +56254,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55424,8 +56276,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55442,104 +56294,30 @@ "children": [ { "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", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -55547,36 +56325,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -55584,36 +56362,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -55621,8 +56399,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -55633,13 +56411,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" @@ -55652,8 +56430,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55669,13 +56447,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" @@ -55688,8 +56466,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -55702,13 +56480,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" @@ -55721,8 +56499,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -55740,8 +56518,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -55766,8 +56544,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -55792,8 +56570,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -55813,8 +56591,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -55831,8 +56609,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55855,8 +56633,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -55873,8 +56651,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -55883,8 +56661,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -55979,132 +56757,30 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(id:label:permalinkURL:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - }, - { - "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" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -56117,8 +56793,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -56140,8 +56816,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -56154,9 +56830,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", @@ -56166,8 +56842,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -56180,9 +56856,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", @@ -56192,8 +56868,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -56206,9 +56882,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", @@ -56225,8 +56901,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -56239,9 +56915,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", @@ -56251,8 +56927,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -56261,144 +56937,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(id:label:permalinkURL:)", "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" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]??", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "hasDefaultArg": true, @@ -56407,18 +56963,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -56444,8 +57000,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -56463,8 +57019,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -56498,8 +57054,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -56507,8 +57063,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -56557,46 +57113,40 @@ }, { "kind": "TypeDecl", - "name": "Service", - "printedName": "Service", + "name": "Payment", + "printedName": "Payment", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "instruments", + "printedName": "instruments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -56612,495 +57162,75 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "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", - "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: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" - } - ] - }, - { - "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: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" - } - ] - }, - { - "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: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" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "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()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", - "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:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", - "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:Sa" } ], "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", - "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:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", - "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": "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" - }, + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "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" - }, - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -57122,8 +57252,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -57136,9 +57266,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -57148,8 +57278,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -57162,9 +57292,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -57174,8 +57304,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57188,9 +57318,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -57207,8 +57337,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57221,9 +57351,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -57233,8 +57363,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57243,150 +57373,37 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", + "printedName": "with(instruments:)", "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "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:Sa" } ], "usr": "s:Sq" @@ -57394,26 +57411,11 @@ ], "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:24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -57431,8 +57433,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57466,8 +57468,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57475,8 +57477,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -57525,32 +57527,32 @@ }, { "kind": "TypeDecl", - "name": "ErrorResponse", - "printedName": "ErrorResponse", + "name": "SelectedPaymentInstrument", + "printedName": "SelectedPaymentInstrument", "children": [ { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "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:24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -57566,21 +57568,265 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "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": [ + { + "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": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + } + ], + "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": [ + { + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", + "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:24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", + "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": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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", + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57592,27 +57838,19 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "type", + "printedName": "type", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -57627,22 +57865,14 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57654,19 +57884,27 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "selected", + "printedName": "selected", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -57681,14 +57919,22 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57705,30 +57951,30 @@ "children": [ { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "billingAddress", + "printedName": "billingAddress", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -57736,36 +57982,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -57773,36 +58019,184 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "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": "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": "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": "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": "Var", + "name": "selected", + "printedName": "selected", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -57810,8 +58204,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8selectedyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8selectedyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -57822,13 +58216,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "usr": "s:Sq" @@ -57841,8 +58235,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57858,13 +58252,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "usr": "s:Sq" @@ -57877,8 +58271,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -57891,13 +58285,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "usr": "s:Sq" @@ -57910,8 +58304,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -57929,8 +58323,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -57955,8 +58349,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -57981,8 +58375,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -58002,8 +58396,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -58020,8 +58414,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -58044,8 +58438,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -58062,8 +58456,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -58072,8 +58466,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -58168,53 +58562,247 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(continueURL:messages:ucp:)", + "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": [ + { + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + } + ], + "usr": "s:Sq" + }, + { + "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", + "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" + }, + { + "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]", + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - }, - { - "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": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" }, { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV11continueURL8messages3ucpACSSSg_SayAA7MessageVGAA0dE3UcpVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV11continueURL8messages3ucpACSSSg_SayAA7MessageVGAA0dE3UcpVtcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -58235,39 +58823,12 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_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" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, { "kind": "Constructor", "name": "init", @@ -58275,9 +58836,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" }, { "kind": "TypeNominal", @@ -58287,8 +58848,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58301,9 +58862,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" }, { "kind": "TypeNominal", @@ -58320,8 +58881,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58334,9 +58895,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" }, { "kind": "TypeNominal", @@ -58346,8 +58907,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58356,29 +58917,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(continueURL:messages:ucp:)", + "printedName": "with(billingAddress:credential:display:handlerID:id:type:selected:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", "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" @@ -58390,232 +58951,40 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" } ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp?", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "usr": "s:Sq" } ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV4with11continueURL8messages3ucpACSSSgSg_SayAA7MessageVGSgAA0dE3UcpVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV4with11continueURL8messages3ucpACSSSgSg_SayAA7MessageVGSgAA0dE3UcpVSgtF", - "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:24EmbeddedCheckoutProtocol13ErrorResponseV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV8jsonData10Foundation0G0VyKF", - "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:24EmbeddedCheckoutProtocol13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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", - "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()", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -58625,17 +58994,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -58644,280 +59005,199 @@ "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "Swift.String?", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "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()", + "kind": "TypeNominal", + "name": "Optional", + "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": "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" } ], + "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.Bool??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "printedName": "Swift.Bool?", "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": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "status", - "printedName": "status", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "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", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvg", - "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: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": "version", - "printedName": "version", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -58927,8 +59207,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -58949,8 +59229,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -58961,184 +59241,175 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(type:)", "children": [ { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "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": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "services", - "printedName": "services", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8servicesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "Var", - "name": "status", - "printedName": "status", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO6statusyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ] } @@ -59146,8 +59417,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -59158,13 +59429,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -59177,8 +59448,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -59194,13 +59465,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -59213,8 +59484,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -59227,13 +59498,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -59246,8 +59517,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -59265,8 +59536,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -59291,8 +59562,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59317,8 +59588,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -59338,8 +59609,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59356,8 +59627,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -59380,8 +59651,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59398,8 +59669,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -59408,8 +59679,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -59504,139 +59775,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" - }, - { - "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.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAA0D6StatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAA0D6StatusOSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -59650,45 +59808,18 @@ "printedName": "()" }, { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV4fromACs7Decoder_p_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Constructor", @@ -59697,9 +59828,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -59709,8 +59840,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59723,9 +59854,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -59742,8 +59873,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59756,9 +59887,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -59768,8 +59899,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59778,163 +59909,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(type:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" - }, - { - "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.ErrorStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -59953,8 +59934,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA0D6StatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA0D6StatusOSgSSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -59972,8 +59953,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -60007,8 +59988,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -60016,8 +59997,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -60066,35 +60047,220 @@ }, { "kind": "TypeDecl", - "name": "ErrorStatus", - "printedName": "ErrorStatus", + "name": "CheckoutStatus", + "printedName": "CheckoutStatus", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "canceled", + "printedName": "canceled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorStatus.Type) -> EmbeddedCheckoutProtocol.ErrorStatus", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "completeInProgress", + "printedName": "completeInProgress", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "completed", + "printedName": "completed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "incomplete", + "printedName": "incomplete", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "readyForComplete", + "printedName": "readyForComplete", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "requiresEscalation", + "printedName": "requiresEscalation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } ] } @@ -60102,8 +60268,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO5erroryA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -60114,13 +60280,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } ], "usr": "s:Sq" @@ -60133,8 +60299,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60155,8 +60321,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -60173,8 +60339,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60191,8 +60357,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60204,8 +60370,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -60292,32 +60458,24 @@ }, { "kind": "TypeDecl", - "name": "InstrumentsChangeResult", - "printedName": "InstrumentsChangeResult", + "name": "CheckoutTotal", + "printedName": "CheckoutTotal", "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60332,22 +60490,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60359,19 +60509,27 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "displayText", + "printedName": "displayText", "children": [ { "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60386,14 +60544,22 @@ "children": [ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60405,27 +60571,19 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60440,22 +60598,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:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60467,24 +60617,24 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "lines", + "printedName": "lines", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } ], "usr": "s:Sa" @@ -60494,8 +60644,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60511,18 +60661,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } ], "usr": "s:Sa" @@ -60532,8 +60682,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60550,30 +60700,30 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ] } @@ -60581,36 +60731,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8checkoutyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ] } @@ -60618,36 +60768,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ] } @@ -60655,36 +60805,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "lines", + "printedName": "lines", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ] } @@ -60692,8 +60842,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -60704,13 +60854,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ], "usr": "s:Sq" @@ -60723,8 +60873,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60740,13 +60890,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ], "usr": "s:Sq" @@ -60759,8 +60909,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -60773,13 +60923,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ], "usr": "s:Sq" @@ -60792,8 +60942,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -60811,8 +60961,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -60837,8 +60987,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60863,8 +61013,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -60884,8 +61034,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60902,8 +61052,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60926,8 +61076,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60944,8 +61094,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -60954,8 +61104,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -61050,33 +61200,19 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", + "printedName": "init(amount:displayText:type:lines:)", "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" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", @@ -61092,490 +61228,38 @@ ], "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", - "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": "InstrumentsChangeCheckout", - "printedName": "InstrumentsChangeCheckout", - "children": [ - { - "kind": "Var", - "name": "payment", - "printedName": "payment", - "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(payment:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAcA0dE7PaymentVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAcA0dE7PaymentVSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -61597,8 +61281,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -61611,9 +61295,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { "kind": "TypeNominal", @@ -61623,8 +61307,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -61637,9 +61321,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { "kind": "TypeNominal", @@ -61649,8 +61333,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61663,9 +61347,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { "kind": "TypeNominal", @@ -61682,8 +61366,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61696,9 +61380,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { "kind": "TypeNominal", @@ -61708,8 +61392,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61718,29 +61402,90 @@ { "kind": "Function", "name": "with", - "printedName": "with(payment:)", + "printedName": "with(amount:displayText:type:lines:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "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": [ + { + "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.InstrumentsChangePayment??", + "printedName": "[EmbeddedCheckoutProtocol.Line]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", + "children": [ + { + "kind": "TypeNominal", + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -61751,8 +61496,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4with7paymentAcA0dE7PaymentVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4with7paymentAcA0dE7PaymentVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -61770,8 +61515,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61805,8 +61550,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61814,8 +61559,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -61864,40 +61609,24 @@ }, { "kind": "TypeDecl", - "name": "InstrumentsChangePayment", - "printedName": "InstrumentsChangePayment", + "name": "Line", + "printedName": "Line", "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "amount", + "printedName": "amount", "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61912,30 +61641,14 @@ "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -61947,27 +61660,19 @@ }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "displayText", + "printedName": "displayText", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61982,22 +61687,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:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62014,30 +61711,30 @@ "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ] } @@ -62045,36 +61742,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ] } @@ -62082,8 +61779,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -62094,13 +61791,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -62113,8 +61810,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62130,13 +61827,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -62149,8 +61846,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -62163,13 +61860,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -62182,8 +61879,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -62201,8 +61898,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -62227,8 +61924,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -62253,8 +61950,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -62274,8 +61971,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -62292,8 +61989,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62316,8 +62013,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -62334,8 +62031,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -62344,8 +62041,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -62440,54 +62137,30 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(instruments:selectedInstrumentID:)", + "printedName": "init(amount:displayText:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instruments20selectedInstrumentIDACSayAA08SelectedfI0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instruments20selectedInstrumentIDACSayAA08SelectedfI0VGSg_SSSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -62509,8 +62182,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -62523,9 +62196,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -62535,8 +62208,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -62549,9 +62222,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -62561,8 +62234,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62575,9 +62248,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -62594,8 +62267,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62608,9 +62281,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -62620,8 +62293,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62630,40 +62303,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", + "printedName": "with(amount:displayText:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "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" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "hasDefaultArg": true, @@ -62672,21 +62329,13 @@ { "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" } ], "hasDefaultArg": true, @@ -62694,8 +62343,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedfJ0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -62713,8 +62362,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62748,8 +62397,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62757,8 +62406,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV", + "usr": "s:24EmbeddedCheckoutProtocol4LineV", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -62807,664 +62456,109 @@ }, { "kind": "TypeDecl", - "name": "InstrumentsChangeResultUcp", - "printedName": "InstrumentsChangeResultUcp", + "name": "CapabilityResponseSchema", + "printedName": "CapabilityResponseSchema", "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", - "children": [ - { - "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "services", - "printedName": "services", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "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": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", - "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:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvp", - "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:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "services", - "printedName": "services", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "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.InstrumentsChangeResultUcp.CodingKeys?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -63472,50 +62566,60 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", + "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.InstrumentsChangeResultUcp.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -63524,71 +62628,60 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", + "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:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", "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:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "spec", + "printedName": "spec", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -63597,16 +62690,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", - "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", @@ -63615,22 +62720,47 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", - "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", @@ -63639,148 +62769,100 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO", + "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" - }, - { - "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(config:id:schema:spec:version:extends:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -63790,56 +62872,26 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -63847,55 +62899,55 @@ { "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" }, { "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" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSg_SDySSSayAA014PaymentHandlerO0VGGSgSDySSSayAA0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSg_SDySSSayAA014PaymentHandlerO0VGGSgSDySSSayAA0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -63917,8 +62969,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -63931,9 +62983,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", @@ -63943,8 +62995,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -63957,9 +63009,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", @@ -63969,8 +63021,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -63983,9 +63035,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", @@ -64002,8 +63054,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64016,9 +63068,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", @@ -64028,8 +63080,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7fromURLAC10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7fromURLAC10Foundation0I0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64038,28 +63090,28 @@ { "kind": "Function", "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(config:id:schema:spec:version:extends:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]??", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -64069,17 +63121,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -64094,40 +63138,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "printedName": "Swift.String?", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -64139,40 +63161,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]??", + "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" @@ -64184,13 +63184,21 @@ { "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, @@ -64210,11 +63218,34 @@ ], "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" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSgSg_SDySSSayAA014PaymentHandlerP0VGGSgSgSDySSSayAA0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSgSg_SDySSSayAA014PaymentHandlerP0VGGSgSgSDySSSayAA0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -64232,8 +63263,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64267,45 +63298,231 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "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": [ + { + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ] + } + ] + } + ], + "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": [ + { + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ] + } + ] + } + ], + "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": "success", - "printedName": "success(version:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7success7versionACSS_tFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7success7versionACSS_tFZ", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, + "throwing": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO", "moduleName": "EmbeddedCheckoutProtocol", + "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", @@ -64353,8 +63570,8 @@ }, { "kind": "TypeDecl", - "name": "CapabilityElement", - "printedName": "CapabilityElement", + "name": "PaymentHandlerResponseSchema", + "printedName": "PaymentHandlerResponseSchema", "children": [ { "kind": "Var", @@ -64391,8 +63608,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -64435,8 +63652,116 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", + "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?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -64448,8 +63773,8 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeNominal", @@ -64467,8 +63792,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -64497,8 +63822,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -64510,13 +63835,30 @@ }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -64525,12 +63867,49 @@ "usr": "s:SS" } ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "availableInstruments", + "printedName": "availableInstruments", + "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:24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -64546,21 +63925,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:24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -64571,15 +63958,251 @@ ] }, { - "kind": "Var", - "name": "spec", - "printedName": "spec", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "config", + "printedName": "config", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "spec", + "printedName": "spec", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "availableInstruments", + "printedName": "availableInstruments", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -64587,28 +64210,177 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_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.PaymentHandlerResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -64617,47 +64389,22 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvg", - "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:24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -64666,90 +64413,138 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "extends", - "printedName": "extends", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", "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": "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" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvg", - "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" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(config:id:schema:spec:version:extends:)", + "printedName": "init(config:id:schema:spec:version:availableInstruments:)", "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -64781,17 +64576,9 @@ }, { "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" }, { "kind": "TypeNominal", @@ -64830,21 +64617,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "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:24EmbeddedCheckoutProtocol17CapabilityElementV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -64866,8 +64661,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -64880,9 +64675,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -64892,8 +64687,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -64906,9 +64701,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -64918,8 +64713,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64932,9 +64727,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -64951,8 +64746,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64965,9 +64760,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -64977,8 +64772,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64987,13 +64782,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:extends:)", + "printedName": "with(config:id:schema:spec:version:availableInstruments:)", "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -65035,21 +64830,13 @@ { "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" } ], "hasDefaultArg": true, @@ -65119,18 +64906,26 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends??", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -65141,8 +64936,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -65160,8 +64955,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -65195,8 +64990,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -65204,8 +64999,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -65254,13 +65049,13 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerElement", - "printedName": "PaymentHandlerElement", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "PaymentHandlerResponseSchemaAvailableInstrument", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "constraints", + "printedName": "constraints", "children": [ { "kind": "TypeNominal", @@ -65280,204 +65075,20 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", - "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", - "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvp", - "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvg", - "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvp", - "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvg", - "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", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65493,21 +65104,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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65519,8 +65144,8 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -65530,8 +65155,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65552,8 +65177,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65564,414 +65189,647 @@ ] }, { - "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "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.PaymentHandlerAvailableInstrument]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "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": "TypeNominal", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "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": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "schema", - "printedName": "schema", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO6schemayA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO6schemayA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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": "Var", - "name": "spec", - "printedName": "spec", + "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": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO4specyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO4specyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "kind": "Var", - "name": "version", - "printedName": "version", + "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": "Transport", + "printedName": "Transport", + "children": [ + { + "kind": "Var", + "name": "a2A", + "printedName": "a2A", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "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" - } - ] + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO7versionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "embedded", + "printedName": "embedded", + "children": [ { - "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "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" - } - ] + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "mcp", + "printedName": "mcp", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "rest", + "printedName": "rest", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } - ], - "usr": "s:Sq" - }, + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "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": "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": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "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": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ { - "kind": "TypeAlias", + "kind": "TypeWitness", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -65981,72 +65839,211 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + ] + } + ], + "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": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + ] + } + ], + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + ] } ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", + "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:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -66055,40 +66052,49 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", "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" - } - ] - }, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + } + ], + "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" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -66096,149 +66102,153 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + ] + } + ], + "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": "Order", + "printedName": "Order", + "children": [ + { + "kind": "Var", + "name": "adjustments", + "printedName": "adjustments", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", "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.Adjustment]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + } + ], + "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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "kind": "Var", + "name": "attribution", + "printedName": "attribution", "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - }, { "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", @@ -66248,269 +66258,262 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:SD" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", + "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": "[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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "checkoutID", + "printedName": "checkoutID", + "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0dE19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0dE19AvailableInstrumentVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "currency", + "printedName": "currency", "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8currencySSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - }, + "declAttributes": [ + "HasStorage" + ], + "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:24EmbeddedCheckoutProtocol5OrderV8currencySSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + ] + }, + { + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", "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": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - }, { "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:24EmbeddedCheckoutProtocol21PaymentHandlerElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV7fromURLAC10Foundation0H0V_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": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - }, + "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]?", - "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "label", + "printedName": "label", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -66523,13 +66526,23 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "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", @@ -66546,67 +66559,138 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "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" + "usr": "s:Sa" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" @@ -66615,46 +66699,44 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0dE19AvailableInstrumentVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0dE19AvailableInstrumentVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", "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", @@ -66663,116 +66745,41 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "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", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "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": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66787,36 +66794,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "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": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66828,19 +66821,19 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66855,14 +66848,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66873,536 +66866,509 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(constraints:type:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - }, - { - "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" - }, - { - "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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "Var", + "name": "attribution", + "printedName": "attribution", + "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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" + "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": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "Var", + "name": "currency", + "printedName": "currency", "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", + "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" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "id", + "printedName": "id", "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "label", + "printedName": "label", "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "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": "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": "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:24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "messages", + "printedName": "messages", "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", + "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:24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "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": "Var", - "name": "id", - "printedName": "id", - "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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", @@ -67410,60 +67376,50 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", "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": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -67472,77 +67428,71 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvp", - "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:24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", "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:24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvp", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -67551,27 +67501,40 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -67580,28 +67543,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:24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvp", + "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", @@ -67609,88 +67608,105 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvg", - "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" } ] }, { - "kind": "Var", - "name": "transport", - "printedName": "transport", + "kind": "Constructor", + "name": "init", + "printedName": "init(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvg", - "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": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "usr": "s:Sq" }, { "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", @@ -67700,9 +67716,9 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:SD" @@ -67710,6 +67726,30 @@ ], "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" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "Optional", @@ -67726,28 +67766,36 @@ }, { "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" + "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" @@ -67760,28 +67808,28 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:Sa" }, { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -67803,8 +67851,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -67817,9 +67865,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -67829,8 +67877,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -67843,9 +67891,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -67855,8 +67903,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -67869,9 +67917,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -67888,8 +67936,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -67902,9 +67950,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -67914,8 +67962,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -67924,28 +67972,59 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", + "printedName": "with(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "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", @@ -67955,9 +68034,9 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:SD" @@ -67969,6 +68048,66 @@ "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" + }, + { + "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", @@ -67995,21 +68134,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]?", "children": [ { "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" + "usr": "s:Sa" } ], "hasDefaultArg": true, @@ -68018,18 +68157,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" @@ -68056,21 +68203,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:Sa" } ], "hasDefaultArg": true, @@ -68079,13 +68226,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "hasDefaultArg": true, @@ -68093,8 +68240,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -68112,8 +68259,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68147,8 +68294,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68156,8 +68303,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -68196,42 +68343,158 @@ "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CredentialResult", - "printedName": "CredentialResult", - "children": [ + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Adjustment", + "printedName": "Adjustment", + "children": [ + { + "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": "Var", + "name": "id", + "printedName": "id", + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "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:24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68247,21 +68510,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68273,19 +68544,19 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "occurredAt", + "printedName": "occurredAt", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68300,14 +68571,14 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68319,27 +68590,19 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68354,22 +68617,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68381,24 +68636,24 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], "usr": "s:Sa" @@ -68408,8 +68663,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68425,18 +68680,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], "usr": "s:Sa" @@ -68446,8 +68701,54 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", + "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:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", + "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:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68464,30 +68765,30 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ] } @@ -68495,36 +68796,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8checkoutyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", "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.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ] } @@ -68532,36 +68833,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ] } @@ -68569,36 +68870,147 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "occurredAt", + "printedName": "occurredAt", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ] } @@ -68606,8 +69018,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -68618,13 +69030,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ], "usr": "s:Sq" @@ -68637,8 +69049,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68654,13 +69066,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ], "usr": "s:Sq" @@ -68673,8 +69085,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -68687,13 +69099,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ], "usr": "s:Sq" @@ -68706,8 +69118,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -68725,8 +69137,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -68751,8 +69163,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68777,8 +69189,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -68798,8 +69210,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68816,8 +69228,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68840,8 +69252,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68858,8 +69270,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -68868,8 +69280,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -68964,74 +69376,100 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", + "printedName": "init(description:id:lineItems:occurredAt:status:totals:type:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "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" } ], "usr": "s:Sq" }, + { + "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.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "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:24EmbeddedCheckoutProtocol16CredentialResultV8checkout3ucp11continueURL8messagesAcA0dB0VSg_AA017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8checkout3ucp11continueURL8messagesAcA0dB0VSg_AA017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -69053,8 +69491,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69067,9 +69505,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" }, { "kind": "TypeNominal", @@ -69079,8 +69517,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69093,9 +69531,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" }, { "kind": "TypeNominal", @@ -69105,8 +69543,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69119,9 +69557,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" }, { "kind": "TypeNominal", @@ -69138,8 +69576,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69152,9 +69590,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" }, { "kind": "TypeNominal", @@ -69164,8 +69602,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69174,29 +69612,75 @@ { "kind": "Function", "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", + "printedName": "with(description:id:lineItems:occurredAt:status:totals:type:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + }, + { + "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.CredentialCheckout??", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -69208,13 +69692,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "hasDefaultArg": true, @@ -69223,21 +69707,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], "hasDefaultArg": true, @@ -69246,23 +69722,23 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], "usr": "s:Sa" @@ -69273,11 +69749,26 @@ ], "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:24EmbeddedCheckoutProtocol16CredentialResultV4with8checkout3ucp11continueURL8messagesAcA0dB0VSgSg_AA017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV4with8checkout3ucp11continueURL8messagesAcA0dB0VSgSg_AA017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -69295,8 +69786,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69330,8 +69821,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69339,8 +69830,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -69384,44 +69875,75 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "CredentialCheckout", - "printedName": "CredentialCheckout", + "name": "AdjustmentLineItem", + "printedName": "AdjustmentLineItem", "children": [ { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "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": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "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:24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69436,22 +69958,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69464,32 +69978,30 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(payment:)", + "printedName": "init(id:quantity:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V7paymentAcA7PaymentVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7paymentAcA7PaymentVSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -69511,8 +70023,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69525,9 +70037,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { "kind": "TypeNominal", @@ -69537,8 +70049,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69551,9 +70063,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { "kind": "TypeNominal", @@ -69563,8 +70075,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69577,9 +70089,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { "kind": "TypeNominal", @@ -69596,8 +70108,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69610,9 +70122,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { "kind": "TypeNominal", @@ -69622,8 +70134,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69632,32 +70144,39 @@ { "kind": "Function", "name": "with", - "printedName": "with(payment:)", + "printedName": "with(id:quantity:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment??", + "printedName": "Swift.String?", "children": [ { "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" + } + ], + "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, @@ -69665,8 +70184,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V4with7paymentAcA7PaymentVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V4with7paymentAcA7PaymentVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -69684,8 +70203,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69719,8 +70238,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69728,8 +70247,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -69778,146 +70297,191 @@ }, { "kind": "TypeDecl", - "name": "AddressChangeResult", - "printedName": "AddressChangeResult", + "name": "AdjustmentStatus", + "printedName": "AdjustmentStatus", "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "completed", + "printedName": "completed", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "failed", + "printedName": "failed", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "pending", + "printedName": "pending", "children": [ { - "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()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV3ucpAA011InstrumentseF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV3ucpAA011InstrumentseF3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_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: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", @@ -69926,51 +70490,136 @@ "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:24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "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": "messages", - "printedName": "messages", + "name": "events", + "printedName": "events", "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" @@ -69980,8 +70629,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69997,18 +70646,18 @@ { "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" @@ -70018,8 +70667,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -70030,550 +70679,112 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "expectations", + "printedName": "expectations", "children": [ { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8checkoutyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO3ucpyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11continueURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8messagesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8RawValuea", - "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:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvg", - "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" + "usr": "s:Sa" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", "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.Expectation]?", "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" + "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", "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", + "printedName": "init(events:expectations:)", "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" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -70581,18 +70792,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" } ], "usr": "s:Sa" @@ -70602,8 +70813,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8checkout3ucp11continueURL8messagesAcA0deB0VSg_AA011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8checkout3ucp11continueURL8messagesAcA0deB0VSg_AA011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -70625,8 +70836,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -70639,9 +70850,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -70651,8 +70862,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -70665,9 +70876,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -70677,8 +70888,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70691,9 +70902,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -70710,8 +70921,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70724,9 +70935,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -70736,8 +70947,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70746,67 +70957,37 @@ { "kind": "Function", "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", + "printedName": "with(events:expectations:)", "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" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -70818,23 +70999,23 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" } ], "usr": "s:Sa" @@ -70848,8 +71029,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAcA0deB0VSgSg_AA011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAcA0deB0VSgSg_AA011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -70867,8 +71048,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70902,8 +71083,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70911,8 +71092,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -70956,44 +71137,37 @@ "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": "FulfillmentEvent", + "printedName": "FulfillmentEvent", "children": [ { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "carrier", + "printedName": "carrier", "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:24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71009,21 +71183,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:24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71034,244 +71208,93 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fulfillment:)", + "kind": "Var", + "name": "description", + "printedName": "description", "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, { "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAcA0B16FulfillmentClassVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAcA0B16FulfillmentClassVSg_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:24EmbeddedCheckoutProtocol013AddressChangeB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, - { - "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:24EmbeddedCheckoutProtocol013AddressChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(fulfillment:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V4with11fulfillmentAcA0B16FulfillmentClassVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V4with11fulfillmentAcA0B16FulfillmentClassVSgSg_tF", - "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:24EmbeddedCheckoutProtocol013AddressChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V8jsonData10Foundation0G0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", "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", @@ -71280,110 +71303,149 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", "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" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "Var", + "name": "occurredAt", + "printedName": "occurredAt", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutFulfillmentClass", - "printedName": "CheckoutFulfillmentClass", - "children": [ { "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", + "name": "trackingNumber", + "printedName": "trackingNumber", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "printedName": "Swift.String?", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71399,29 +71461,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71433,35 +71487,27 @@ }, { "kind": "Var", - "name": "methods", - "printedName": "methods", + "name": "trackingURL", + "printedName": "trackingURL", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "printedName": "Swift.String?", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71477,29 +71523,67 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71516,30 +71600,67 @@ "children": [ { "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", + "name": "carrier", + "printedName": "carrier", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" } ] } @@ -71547,36 +71668,221 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "methods", - "printedName": "methods", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "occurredAt", + "printedName": "occurredAt", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "trackingNumber", + "printedName": "trackingNumber", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "trackingURL", + "printedName": "trackingURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" } ] } @@ -71584,8 +71890,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO7methodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO7methodsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -71596,13 +71902,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" } ], "usr": "s:Sq" @@ -71615,8 +71921,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71632,13 +71938,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" } ], "usr": "s:Sq" @@ -71651,8 +71957,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -71665,13 +71971,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" } ], "usr": "s:Sq" @@ -71684,8 +71990,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -71703,8 +72009,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -71729,8 +72035,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71755,8 +72061,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -71776,8 +72082,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71794,8 +72100,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71818,8 +72124,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71836,8 +72142,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -71846,8 +72152,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -71931,43 +72237,89 @@ "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(availableMethods:methods:)", - "children": [ + "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": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "printedName": "Swift.String?", "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" @@ -71975,29 +72327,27 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "printedName": "Swift.String?", "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" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -72019,8 +72369,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -72033,9 +72383,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", @@ -72045,8 +72395,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -72059,9 +72409,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", @@ -72071,8 +72421,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72085,9 +72435,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", @@ -72104,8 +72454,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72118,9 +72468,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", @@ -72130,8 +72480,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72140,37 +72490,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(availableMethods:methods:)", + "printedName": "with(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "printedName": "Swift.String?", "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" @@ -72182,26 +72524,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "printedName": "Swift.String?", "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" @@ -72209,40 +72543,7 @@ ], "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": [ + }, { "kind": "TypeNominal", "name": "Optional", @@ -72255,180 +72556,56 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV", - "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": "ReadyRequest", - "printedName": "ReadyRequest", - "children": [ - { - "kind": "Var", - "name": "auth", - "printedName": "auth", - "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth?", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "delegate", - "printedName": "delegate", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvp", - "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": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -72437,229 +72614,27 @@ "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(auth:delegate:)", - "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]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sq" } ], - "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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "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" - } - ], - "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" + "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -72671,21 +72646,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "hasDefaultArg": true, @@ -72693,8 +72660,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4with4auth8delegateAcA4AuthVSgSg_SaySSGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4with4auth8delegateAcA4AuthVSgSg_SaySSGSgtF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -72712,8 +72679,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72747,8 +72714,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72756,8 +72723,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -72801,30 +72768,40 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, { "kind": "TypeDecl", - "name": "Auth", - "printedName": "Auth", + "name": "EventLineItem", + "printedName": "EventLineItem", "children": [ { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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", @@ -72833,12 +72810,33 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "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:24EmbeddedCheckoutProtocol4AuthV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4typeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72853,22 +72851,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:24EmbeddedCheckoutProtocol4AuthV4typeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4typeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72881,32 +72871,30 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(type:)", + "printedName": "init(id:quantity:)", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { "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" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4typeACSSSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4typeACSSSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -72928,8 +72916,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -72942,9 +72930,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { "kind": "TypeNominal", @@ -72954,8 +72942,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -72968,9 +72956,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { "kind": "TypeNominal", @@ -72980,8 +72968,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72994,9 +72982,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { "kind": "TypeNominal", @@ -73013,8 +73001,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73027,9 +73015,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { "kind": "TypeNominal", @@ -73039,8 +73027,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73049,32 +73037,39 @@ { "kind": "Function", "name": "with", - "printedName": "with(type:)", + "printedName": "with(id:quantity:)", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { "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" + } + ], + "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, @@ -73082,8 +73077,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4with4typeACSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4with4typeACSSSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -73101,8 +73096,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73136,8 +73131,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73145,8 +73140,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -73195,75 +73190,13 @@ }, { "kind": "TypeDecl", - "name": "ReadyResult", - "printedName": "ReadyResult", + "name": "Expectation", + "printedName": "Expectation", "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", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeNominal", @@ -73281,8 +73214,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -73311,54 +73244,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "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", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73370,27 +73257,19 @@ }, { "kind": "Var", - "name": "upgrade", - "printedName": "upgrade", + "name": "destination", + "printedName": "destination", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade?", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - } - ], - "usr": "s:Sq" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -73405,22 +73284,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade?", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - } - ], - "usr": "s:Sq" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73432,8 +73303,8 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeNominal", @@ -73451,8 +73322,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -73481,8 +73352,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73494,35 +73365,127 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "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": [ + { + "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()", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } ], "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -73537,30 +73500,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": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73577,30 +73524,30 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -73608,36 +73555,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8checkoutyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "destination", + "printedName": "destination", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -73645,36 +73592,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO10credentialyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO10credentialyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -73682,36 +73629,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "upgrade", - "printedName": "upgrade", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -73719,36 +73666,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO7upgradeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO7upgradeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -73756,36 +73703,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "methodType", + "printedName": "methodType", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -73793,8 +73740,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -73805,13 +73752,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ], "usr": "s:Sq" @@ -73824,8 +73771,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73841,13 +73788,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ], "usr": "s:Sq" @@ -73860,8 +73807,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -73874,13 +73821,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ], "usr": "s:Sq" @@ -73893,8 +73840,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -73912,8 +73859,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -73938,8 +73885,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -73964,8 +73911,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -73985,8 +73932,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -74003,8 +73950,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74027,8 +73974,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -74045,8 +73992,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -74055,8 +74002,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -74151,27 +74098,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:credential:ucp:upgrade:continueURL:messages:)", + "printedName": "init(description:destination:fulfillableOn:id:lineItems:methodType:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" - } - ], - "usr": "s:Sq" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -74189,23 +74122,9 @@ }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade?", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - } - ], - "usr": "s:Sq" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", @@ -74223,30 +74142,34 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } ], - "usr": "s:Sq" + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSg_SSSgAA017InstrumentsChangeE3UcpVAA7UpgradeVSgAMSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSg_SSSgAA017InstrumentsChangeE3UcpVAA7UpgradeVSgAMSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -74268,8 +74191,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74282,9 +74205,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -74294,8 +74217,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74308,9 +74231,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -74320,8 +74243,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74334,9 +74257,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -74353,8 +74276,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74367,9 +74290,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -74379,8 +74302,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74389,36 +74312,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", + "printedName": "with(description:destination:fulfillableOn:id:lineItems:methodType:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -74446,13 +74346,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "hasDefaultArg": true, @@ -74461,18 +74361,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade??", + "printedName": "Swift.String??", "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" @@ -74484,21 +74384,36 @@ { "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]?", "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" } ], "hasDefaultArg": true, @@ -74507,29 +74422,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "EmbeddedCheckoutProtocol.MethodType?", "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": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], "hasDefaultArg": true, @@ -74537,8 +74436,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSgSg_SSSgSgAA017InstrumentsChangeE3UcpVSgAA7UpgradeVSgSgAPSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSgSg_SSSgSgAA017InstrumentsChangeE3UcpVSgAA7UpgradeVSgSgAPSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -74556,8 +74455,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74591,8 +74490,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74600,8 +74499,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -74645,44 +74544,29 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "ReadyCheckout", - "printedName": "ReadyCheckout", + "name": "ExpectationLineItem", + "printedName": "ExpectationLineItem", "children": [ { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "id", + "printedName": "id", "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:24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74697,22 +74581,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:24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74724,27 +74600,19 @@ }, { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74759,22 +74627,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74787,46 +74647,30 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(fulfillment:payment:)", + "printedName": "init(id:quantity:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { "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" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V11fulfillment7paymentAcA0B16FulfillmentClassVSg_AA0D7PaymentVSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V11fulfillment7paymentAcA0B16FulfillmentClassVSg_AA0D7PaymentVSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -74848,8 +74692,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74862,9 +74706,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { "kind": "TypeNominal", @@ -74874,8 +74718,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74888,9 +74732,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { "kind": "TypeNominal", @@ -74900,8 +74744,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74914,9 +74758,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { "kind": "TypeNominal", @@ -74933,8 +74777,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74947,9 +74791,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { "kind": "TypeNominal", @@ -74959,8 +74803,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74969,32 +74813,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(fulfillment:payment:)", + "printedName": "with(id:quantity:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "printedName": "Swift.String?", "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" } ], "hasDefaultArg": true, @@ -75003,21 +74839,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment??", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "hasDefaultArg": true, @@ -75025,41 +74853,360 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V4with11fulfillment7paymentAcA0B16FulfillmentClassVSgSg_AA0D7PaymentVSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V4with11fulfillment7paymentAcA0B16FulfillmentClassVSgSg_AA0D7PaymentVSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_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: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": "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" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "MethodType", + "printedName": "MethodType", + "children": [ + { + "kind": "Var", + "name": "digital", + "printedName": "digital", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "pickup", + "printedName": "pickup", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "shipping", + "printedName": "shipping", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.MethodType?", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", + "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: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": "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": "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", @@ -75067,31 +75214,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:24EmbeddedCheckoutProtocol05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Decodable", @@ -75138,40 +75266,70 @@ }, { "kind": "TypeDecl", - "name": "ReadyPayment", - "printedName": "ReadyPayment", + "name": "OrderLineItem", + "printedName": "OrderLineItem", "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "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:24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -75186,30 +75344,14 @@ "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" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75221,8 +75363,8 @@ }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "parentID", + "printedName": "parentID", "children": [ { "kind": "TypeNominal", @@ -75240,8 +75382,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -75270,8 +75412,162 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ + { + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75288,30 +75584,30 @@ "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -75319,36 +75615,184 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11instrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11instrumentsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "item", + "printedName": "item", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "parentID", + "printedName": "parentID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -75356,8 +75800,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -75368,13 +75812,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -75387,8 +75831,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75404,13 +75848,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -75423,8 +75867,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -75437,13 +75881,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -75456,8 +75900,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -75475,8 +75919,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -75501,8 +75945,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -75527,8 +75971,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -75548,8 +75992,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -75566,8 +76010,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75590,8 +76034,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -75608,8 +76052,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -75618,8 +76062,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -75714,54 +76158,70 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(instruments:selectedInstrumentID:)", + "printedName": "init(id:item:parentID:quantity:status:totals:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "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": "[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": "Optional", - "printedName": "Swift.String?", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV11instruments20selectedInstrumentIDACSayAA08SelectedeH0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV11instruments20selectedInstrumentIDACSayAA08SelectedeH0VGSg_SSSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -75783,8 +76243,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -75797,9 +76257,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -75809,8 +76269,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -75823,9 +76283,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -75835,8 +76295,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -75849,9 +76309,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -75868,8 +76328,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -75882,9 +76342,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -75894,8 +76354,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -75904,40 +76364,39 @@ { "kind": "Function", "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", + "printedName": "with(id:item:parentID:quantity:status:totals:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "printedName": "Swift.String?", "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" + "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, @@ -75965,11 +76424,64 @@ ], "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity?", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + } + ], + "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:24EmbeddedCheckoutProtocol12ReadyPaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedeI0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -75987,8 +76499,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -76022,8 +76534,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -76031,8 +76543,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -76081,46 +76593,132 @@ }, { "kind": "TypeDecl", - "name": "Upgrade", - "printedName": "Upgrade", + "name": "LineItemQuantity", + "printedName": "LineItemQuantity", "children": [ { "kind": "Var", - "name": "port", - "printedName": "port", + "name": "fulfilled", + "printedName": "fulfilled", + "children": [ + { + "kind": "TypeNominal", + "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": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "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.JSONAny]?", + "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:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "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]", + "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:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "total", + "printedName": "total", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -76135,36 +76733,14 @@ "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -76177,46 +76753,44 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(port:)", + "printedName": "init(fulfilled:original:total:)", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.Int?", "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4portACSDySSAA7JSONAnyCGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4portACSDySSAA7JSONAnyCGSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -76238,8 +76812,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -76252,9 +76826,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", @@ -76264,8 +76838,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -76278,9 +76852,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", @@ -76290,8 +76864,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -76304,9 +76878,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", @@ -76323,8 +76897,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -76337,9 +76911,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", @@ -76349,8 +76923,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -76359,43 +76933,44 @@ { "kind": "Function", "name": "with", - "printedName": "with(port:)", + "printedName": "with(fulfilled:original:total:)", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "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.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.Int?", "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" @@ -76403,11 +76978,26 @@ ], "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:24EmbeddedCheckoutProtocol7UpgradeV4with4portACSDySSAA7JSONAnyCGSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4with4portACSDySSAA7JSONAnyCGSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -76425,8 +77015,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -76460,8 +77050,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -76469,8 +77059,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -76519,310 +77109,233 @@ }, { "kind": "TypeDecl", - "name": "AuthRequest", - "printedName": "AuthRequest", + "name": "LineItemStatus", + "printedName": "LineItemStatus", "children": [ { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "fulfilled", + "printedName": "fulfilled", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(type:)", + "kind": "Var", + "name": "partial", + "printedName": "partial", "children": [ { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4typeACSSSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4typeACSSSg_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:24EmbeddedCheckoutProtocol11AuthRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Var", + "name": "processing", + "printedName": "processing", "children": [ { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "removed", + "printedName": "removed", "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" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(type:)", + "printedName": "init(rawValue:)", "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", "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": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], - "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4with4typeACSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4with4typeACSSSgSg_tF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol11AuthRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV8jsonData10Foundation0G0VyKF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", "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:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -76831,30 +77344,62 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO", "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", @@ -76896,44 +77441,59 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, { "kind": "TypeDecl", - "name": "AuthResult", - "printedName": "AuthResult", + "name": "UCPOrderResponseSchema", + "printedName": "UCPOrderResponseSchema", "children": [ { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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:24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -76949,21 +77509,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -76975,19 +77557,49 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "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:24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -77002,14 +77614,44 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "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:24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77021,27 +77663,49 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -77057,21 +77721,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77083,35 +77769,27 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -77127,29 +77805,67 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77166,30 +77882,30 @@ "children": [ { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" } ] } @@ -77197,36 +77913,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO10credentialyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO10credentialyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" } ] } @@ -77234,36 +77950,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" } ] } @@ -77271,36 +77987,73 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "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.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" } ] } @@ -77308,8 +78061,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -77320,13 +78073,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -77339,8 +78092,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77356,13 +78109,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -77375,8 +78128,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -77389,13 +78142,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -77408,8 +78161,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -77427,8 +78180,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -77453,8 +78206,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -77479,8 +78232,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -77500,8 +78253,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -77518,8 +78271,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77542,8 +78295,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -77560,8 +78313,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -77570,8 +78323,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -77666,44 +78419,82 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(credential:ucp:continueURL:messages:)", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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" }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, { "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" @@ -77711,29 +78502,63 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "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: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" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10credential3ucp11continueURL8messagesACSSSg_AA017InstrumentsChangeE3UcpVAHSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10credential3ucp11continueURL8messagesACSSSg_AA017InstrumentsChangeE3UcpVAHSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -77755,8 +78580,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -77769,9 +78594,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", @@ -77781,8 +78606,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -77795,9 +78620,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", @@ -77807,8 +78632,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -77821,9 +78646,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", @@ -77840,8 +78665,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -77854,9 +78679,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", @@ -77866,8 +78691,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -77876,447 +78701,171 @@ { "kind": "Function", "name": "with", - "printedName": "with(credential:ucp:continueURL:messages:)", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" - }, - { - "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.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": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", "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: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", - "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: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()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlSSvg", - "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" + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Encoding", - "printedName": "Swift.String.Encoding", + "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: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" + "usr": "s:Sq" }, { "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" + "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", @@ -78335,8 +78884,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV4with3urlACSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV4with3urlACSSSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -78354,8 +78903,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -78389,72 +78938,17 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "parsedURL", - "printedName": "parsedURL", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.URL?", - "children": [ - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.URL?", - "children": [ - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "accessorKind": "get" - } - ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -78498,36 +78992,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" @@ -78542,14 +79051,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": [ @@ -78561,8 +79092,8 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -78580,8 +79111,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV2idSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -78610,8 +79141,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -78623,35 +79154,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" @@ -78667,29 +79190,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": [ @@ -78700,140 +79215,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:)", + "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", @@ -78841,86 +79231,106 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "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(stringValue:)", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "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", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - } - ], - "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:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endpoint", + "printedName": "endpoint", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -78929,113 +79339,140 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", + "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:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", "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" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "transport", + "printedName": "transport", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", + "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": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "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": "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:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -79044,144 +79481,21 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO", - "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" + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "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(ucp:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -79197,32 +79511,36 @@ ], "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" }, @@ -79244,8 +79562,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -79258,9 +79576,9 @@ "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", @@ -79270,8 +79588,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, @@ -79284,9 +79602,9 @@ "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", @@ -79296,8 +79614,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -79310,9 +79628,9 @@ "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", @@ -79329,8 +79647,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -79343,9 +79661,9 @@ "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", @@ -79355,8 +79673,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -79365,24 +79683,46 @@ { "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, @@ -79414,26 +79754,79 @@ { "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" + } + ], + "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" @@ -79441,11 +79834,26 @@ ], "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:24EmbeddedCheckoutProtocol16WindowOpenResultV4with3ucp11continueURL8messagesAcA017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV4with3ucp11continueURL8messagesAcA017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -79463,8 +79871,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -79498,86 +79906,17 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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" - }, - { - "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": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV8rejected6reason7versionACSSSg_SStFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV8rejected6reason7versionACSSSg_SStFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -79621,13 +79960,6 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, @@ -80528,306 +80860,6 @@ } ] }, - { - "kind": "TypeDecl", - "name": "JSONRPCCheckoutParams", - "printedName": "JSONRPCCheckoutParams", - "children": [ - { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", - "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutA2AO0B0Vvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:)", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAc2AO0B0V_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAc2AO0B0V_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "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": [ - { - "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAA13ErrorResponseVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAA13ErrorResponseVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(error:)", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAcA13ErrorResponseV_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAcA13ErrorResponseV_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "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", diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 36329948b..16bf3e4ed 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -1402,13 +1402,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1421,8 +1421,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1440,13 +1440,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1459,8 +1459,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1479,27 +1479,27 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1517,27 +1517,27 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1556,13 +1556,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1575,8 +1575,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1594,13 +1594,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1613,8 +1613,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1633,13 +1633,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1652,8 +1652,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1671,13 +1671,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1690,8 +1690,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1710,13 +1710,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1729,8 +1729,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1748,13 +1748,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1767,8 +1767,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1787,13 +1787,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1806,8 +1806,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1825,13 +1825,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1844,8 +1844,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1864,13 +1864,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1883,8 +1883,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1902,13 +1902,13 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", @@ -1921,8 +1921,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVA2EO0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -1941,33 +1941,33 @@ { "kind": "TypeNominal", "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } ], "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -1985,33 +1985,33 @@ { "kind": "TypeNominal", "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } ], "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, diff --git a/protocol/languages/swift/README.md b/protocol/languages/swift/README.md index 495d7a8bb..f8e4cf791 100644 --- a/protocol/languages/swift/README.md +++ b/protocol/languages/swift/README.md @@ -6,10 +6,16 @@ See the [UCP shopping embedded protocol schema](../../services/shopping/embedded Most apps consume this product through the root Checkout Kit Swift package. -The wire checkout model is `EmbeddedCheckoutProtocol.Checkout`. This namespace -keeps it distinct from Checkout Kit's public `Checkout` snapshot under both -SwiftPM and CocoaPods. Protocol consumers should qualify explicit type references -with `EmbeddedCheckoutProtocol`; there is no top-level `Checkout` alias. +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 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 1c50782ca..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 EmbeddedCheckoutProtocol.AuthRequest: EventPayload {} extension EmbeddedCheckoutProtocol.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.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 01f8d8168..e0db2841a 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift @@ -53,7 +53,7 @@ extension EmbeddedCheckoutProtocol { public let status: CheckoutStatus /// Different cart totals. public let totals: [CheckoutTotal] - public let ucp: UCPCheckoutResponseSchema + public let ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema public enum CodingKeys: String, CodingKey { case attribution, buyer, context @@ -65,7 +65,7 @@ extension EmbeddedCheckoutProtocol { 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) { + 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 @@ -109,7 +109,7 @@ extension EmbeddedCheckoutProtocol { 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) + 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) { @@ -182,7 +182,7 @@ public extension EmbeddedCheckoutProtocol.Checkout { signals: [String: JSONAny]?? = nil, status: CheckoutStatus? = nil, totals: [CheckoutTotal]? = nil, - ucp: UCPCheckoutResponseSchema? = nil + ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema? = nil ) -> EmbeddedCheckoutProtocol.Checkout { return EmbeddedCheckoutProtocol.Checkout( attribution: attribution ?? self.attribution, @@ -2246,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 +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 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 { @@ -2293,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, @@ -2560,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 { @@ -2607,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, @@ -2640,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]? +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 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 { @@ -2678,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 ) @@ -2696,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. @@ -3608,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 +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 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 { @@ -3649,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 @@ -3674,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 +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 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 { @@ -3722,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, @@ -3744,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. @@ -3753,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]? +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 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 { @@ -3796,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, @@ -3820,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 { @@ -3848,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 ) } @@ -3868,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? +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 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 { @@ -3908,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 ) @@ -3933,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 +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 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 { @@ -3978,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, @@ -4007,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 { @@ -4058,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, @@ -4083,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]? +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 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 { @@ -4138,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, @@ -4161,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 { @@ -4196,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 ) @@ -4214,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 { @@ -4268,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, @@ -4294,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]? +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 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 { @@ -4337,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, @@ -4361,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 { @@ -4389,8 +4423,8 @@ public extension CredentialCheckout { func with( payment: Payment?? = nil - ) -> CredentialCheckout { - return CredentialCheckout( + ) -> EmbeddedCheckoutProtocol.CredentialCheckout { + return EmbeddedCheckoutProtocol.CredentialCheckout( payment: payment ?? self.payment ) } @@ -4409,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]? +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 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 { @@ -4452,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, @@ -4476,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 { @@ -4504,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 ) } @@ -4524,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]? +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 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 { @@ -4562,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 ) @@ -4579,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 { @@ -4609,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 ) @@ -4628,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 { @@ -4656,8 +4700,8 @@ public extension Auth { func with( type: String?? = nil - ) -> Auth { - return Auth( + ) -> EmbeddedCheckoutProtocol.Auth { + return EmbeddedCheckoutProtocol.Auth( type: type ?? self.type ) } @@ -4676,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]? +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 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 { @@ -4726,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, @@ -4755,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? +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: CheckoutFulfillmentClass?, payment: ReadyPayment?) { - self.fulfillment = fulfillment - self.payment = payment + 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 { @@ -4785,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 ) @@ -4807,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? +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 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 { @@ -4847,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 ) @@ -4865,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 { @@ -4894,8 +4946,8 @@ public extension Upgrade { func with( port: [String: JSONAny]?? = nil - ) -> Upgrade { - return Upgrade( + ) -> EmbeddedCheckoutProtocol.Upgrade { + return EmbeddedCheckoutProtocol.Upgrade( port: port ?? self.port ) } @@ -4910,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 { @@ -4938,8 +4992,8 @@ public extension AuthRequest { func with( type: String?? = nil - ) -> AuthRequest { - return AuthRequest( + ) -> EmbeddedCheckoutProtocol.AuthRequest { + return EmbeddedCheckoutProtocol.AuthRequest( type: type ?? self.type ) } @@ -4958,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]? +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 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 { @@ -5002,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, @@ -5024,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 { @@ -5053,8 +5111,8 @@ public extension WindowOpenRequest { func with( url: String? = nil - ) -> WindowOpenRequest { - return WindowOpenRequest( + ) -> EmbeddedCheckoutProtocol.WindowOpenRequest { + return EmbeddedCheckoutProtocol.WindowOpenRequest( url: url ?? self.url ) } @@ -5073,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]? +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 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 { @@ -5113,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 fe72fa4f8..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: EmbeddedCheckoutProtocol.Checkout +extension EmbeddedCheckoutProtocol { + public struct JSONRPCCheckoutParams: EventPayload { + public let checkout: EmbeddedCheckoutProtocol.Checkout - public init(checkout: EmbeddedCheckoutProtocol.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(EmbeddedCheckoutProtocol.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 d6d2579fb..45e63584b 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift @@ -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..c75907c9d 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift @@ -13,7 +13,7 @@ struct CodecDecodeTests { return } let checkout = try #require( - try? JSONDecoder().decode(JSONRPCCheckoutParams.self, from: params).checkout + try? JSONDecoder().decode(EmbeddedCheckoutProtocol.JSONRPCCheckoutParams.self, from: params).checkout ) #expect(method == "ec.start") @@ -34,7 +34,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/ModelDecodingTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift index 836f74cf6..53a138eb0 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift @@ -8,7 +8,7 @@ struct ModelDecodingTests { let json = try fixtureString("notification") let data = Data(json.utf8) - let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) + let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) let checkout = envelope.params.checkout #expect(checkout.id == "checkout-123") @@ -35,7 +35,7 @@ struct ModelDecodingTests { let json = try fixtureString("notification") let data = Data(json.utf8) - let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) + let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) let lineItem = envelope.params.checkout.lineItems[0] #expect(lineItem.id == "li-1") @@ -153,8 +153,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"]) 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 605f5445b..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"); @@ -776,24 +777,6 @@ function useSwiftMapsForModels(source, mapModelNames) { return result; } -function namespaceSwiftCheckout(source) { - // CocoaPods compiles protocol and Kit sources into one module. Give the wire - // checkout its own identity while keeping shared domain models top-level. - const declaration = /^public struct Checkout: Codable, Sendable \{[\s\S]*?^\}/gm; - const conveniences = /^public extension Checkout \{[\s\S]*?^\}/gm; - if ([...source.matchAll(declaration)].length !== 1 || [...source.matchAll(conveniences)].length !== 1) { - throw new Error("Swift Checkout namespacing failed; quicktype output may have changed"); - } - - return source - .replace(declaration, (model) => { - const indented = model.split("\n").map((line) => line ? ` ${line}` : line).join("\n"); - return `extension EmbeddedCheckoutProtocol {\n${indented}\n}`; - }) - .replace(conveniences, (extension) => extension.replace(/\bCheckout\b/g, "EmbeddedCheckoutProtocol.Checkout")) - .replace("let checkout = try Checkout(json)", "let checkout = try EmbeddedCheckoutProtocol.Checkout(json)"); -} - async function generateSwift(specDir, output, {openModelNames, mapModelNames}) { await fs.mkdir(path.dirname(output), {recursive: true}); await runQuicktype([ @@ -829,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 namespaceSwiftCheckout(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 6f4c8063d..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 === 'Checkout' ? 'EmbeddedCheckoutProtocol.Checkout' : 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..ba734d802 --- /dev/null +++ b/protocol/scripts/swift_namespacing.mjs @@ -0,0 +1,60 @@ +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(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}`; + }) + .replace('let checkout = try Checkout(json)', 'let checkout = try EmbeddedCheckoutProtocol.Checkout(json)'); +} diff --git a/protocol/scripts/swift_namespacing.test.mjs b/protocol/scripts/swift_namespacing.test.mjs new file mode 100644 index 000000000..57f2fff29 --- /dev/null +++ b/protocol/scripts/swift_namespacing.test.mjs @@ -0,0 +1,50 @@ +import {expect, test} from 'vitest'; +import {namespaceSwiftPayloadModels} 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'); +}); From a0685c8d8c7b6b4f162f52d2d35d9b39b769ea6f Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 15 Sep 2026 13:16:45 +0100 Subject: [PATCH 03/23] Make Swift namespace generation and API baselines consistent --- .github/workflows/ci.yml | 2 + platforms/swift/Scripts/api | 12 +- platforms/swift/Scripts/normalize-api.jq | 18 + .../swift/api/EmbeddedCheckoutProtocol.json | 106526 +++++++-------- .../api/ShopifyAcceleratedCheckouts.json | 6128 +- platforms/swift/api/ShopifyCheckoutKit.json | 7498 +- .../Generated/Models.swift | 22 +- .../CodecDecodeTests.swift | 8 +- .../Fixtures/notification_with_dates.json | 74 + .../ModelDecodingTests.swift | 39 +- protocol/scripts/swift_namespacing.mjs | 7 +- protocol/scripts/swift_namespacing.test.mjs | 32 +- scripts/test/swift_api_normalization_test.rb | 187 + 13 files changed, 60443 insertions(+), 60110 deletions(-) create mode 100644 platforms/swift/Scripts/normalize-api.jq create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json create mode 100644 scripts/test/swift_api_normalization_test.rb 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 9630eacca..8aa249c43 100755 --- a/platforms/swift/Scripts/api +++ b/platforms/swift/Scripts/api @@ -68,14 +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() { - # Declaration order can vary between builds. Preserve member and parameter - # order, and normalize only comparison copies so baselines avoid ordering churn. - jq '.ABIRoot.children |= sort_by(.kind, .printedName, .usr)' "$1" > "$2" + # dump and check use the same canonical representation, including nested types. + jq -f "$SCRIPT_DIR/normalize-api.jq" "$1" > "$2" } diagnose_module() { @@ -128,11 +128,9 @@ case "$SUBCOMMAND" in dump_module "$module" "$current" normalized_committed="$TMP_OUT/$module.committed.normalized.json" - normalized_current="$TMP_OUT/$module.current.normalized.json" normalize_module "$committed" "$normalized_committed" - normalize_module "$current" "$normalized_current" - if ! diff -u "$normalized_committed" "$normalized_current"; then + 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/api/EmbeddedCheckoutProtocol.json b/platforms/swift/api/EmbeddedCheckoutProtocol.json index 317b6c6af..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,835 +719,559 @@ "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": "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", "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": "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", - "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" - } - ] - } - ] - } - ], - "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": [ - { - "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientVADycfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientVADycfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "onDecodeError", - "printedName": "onDecodeError(_:)", - "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" - } - ] - } - ] - } - ] - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "DiscardableResult" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "on", - "printedName": "on(_:perform:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - }, - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "P" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" }, { - "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": "GenericTypeParam", - "printedName": "Handler" - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA22NotificationDescriptorVyxq_G_yq_YbScMYcctAA12EventPayloadRzr0_lF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA22NotificationDescriptorVyxq_G_yq_YbScMYcctAA12EventPayloadRzr0_lF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", + "implicit": true, "declAttributes": [ - "DiscardableResult" + "Inlinable" ], - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { - "kind": "Function", - "name": "on", - "printedName": "on(_:perform:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - }, - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "P" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "R" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Handler) async -> R", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "R" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA17RequestDescriptorVyxq_q0_G_q0_q_YaYbScMYcctAA12EventPayloadRzAA08ResponseJ0R0_r1_lF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA17RequestDescriptorVyxq_q0_G_q0_q_YaYbScMYcctAA12EventPayloadRzAA08ResponseJ0R0_r1_lF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "declAttributes": [ - "DiscardableResult" - ], - "funcSelfKind": "NonMutating" + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Function", - "name": "process", - "printedName": "process(_:)", + "kind": "TypeAlias", + "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" - }, { "kind": "TypeNominal", "name": "String", @@ -1582,83 +1279,37 @@ "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": 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" + "implicit": true }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "AuthRequest", - "printedName": "AuthRequest", - "children": [ { "kind": "Var", - "name": "type", - "printedName": "type", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -1668,45 +1319,49 @@ { "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:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(type:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -1715,222 +1370,88 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_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:24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" - }, + "implicit": 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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", + "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:24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", - "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", @@ -1938,45 +1459,32 @@ "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:24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" }, { "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, { "kind": "Conformance", @@ -2005,533 +1513,719 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeDecl", - "name": "Checkout", - "printedName": "Checkout", + "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": "attribution", - "printedName": "attribution", + "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": "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "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" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ { - "kind": "Var", - "name": "buyer", - "printedName": "buyer", + "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": "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:24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "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" - } - ] + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { - "kind": "Var", - "name": "context", - "printedName": "context", + "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: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", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "usr": "s:Sq" + }, + { + "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": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", - "children": [ - { - "kind": "TypeNominal", - "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" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "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:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "failed", + "printedName": "failed", + "children": [ { - "kind": "Var", - "name": "currency", - "printedName": "currency", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { "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": [ + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "pending", + "printedName": "pending", + "children": [ { - "kind": "Var", - "name": "discounts", - "printedName": "discounts", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", - "children": [ - { - "kind": "TypeNominal", - "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": [ + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - } - ], - "usr": "s:Sq" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { - "kind": "Var", - "name": "expiresAt", - "printedName": "expiresAt", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], - "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": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ] + "usr": "s:Sq" }, { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "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()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Inlinable" ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ] - }, + "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": "Var", - "name": "id", - "printedName": "id", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -2539,1700 +2233,1914 @@ "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" - } ] - }, + } + ], + "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": "AppliedDiscount", + "printedName": "AppliedDiscount", + "children": [ + { + "kind": "Var", + "name": "allocations", + "printedName": "allocations", + "children": [ { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", + "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.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:24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] - }, - { - "kind": "Var", - "name": "links", - "printedName": "links", + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "automatic", + "printedName": "automatic", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", - "children": [ - { - "kind": "TypeNominal", - "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" + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } - ] - }, + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "code", + "printedName": "code", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "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:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - }, + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "order", - "printedName": "order", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "eligibility", + "printedName": "eligibility", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "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:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - }, + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "payment", - "printedName": "payment", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "method", + "printedName": "method", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - } - ], - "usr": "s:Sq" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] - }, + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "priority", + "printedName": "priority", + "children": [ { - "kind": "Var", - "name": "signals", - "printedName": "signals", + "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:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", + "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]?", + "printedName": "Swift.Int?", "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "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" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "provisional", + "printedName": "provisional", + "children": [ { - "kind": "Var", - "name": "status", - "printedName": "status", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] - }, + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ { - "kind": "Var", - "name": "totals", - "printedName": "totals", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "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": "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(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } - ], - "usr": "s:Sa" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" }, { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "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": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "children": [ { - "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": "TypeNominal", + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ { - "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": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ { - "kind": "Var", - "name": "currency", - "printedName": "currency", + "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": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "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": "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:24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "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": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "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" - } - ] + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ { - "kind": "Var", - "name": "discounts", - "printedName": "discounts", + "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": "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "Var", - "name": "expiresAt", - "printedName": "expiresAt", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod??", + "children": [ { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int??", + "children": [ { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool??", + "children": [ { - "kind": "Var", - "name": "links", - "printedName": "links", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "email", + "printedName": "email", + "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": "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Var", - "name": "order", - "printedName": "order", + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Var", - "name": "payment", - "printedName": "payment", + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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": "Var", - "name": "signals", - "printedName": "signals", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", + "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": "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", + "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": "Var", - "name": "status", - "printedName": "status", - "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + "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": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" - } - ], - "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_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" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "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": "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: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": "Void", + "printedName": "()" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", - "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" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:SD" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "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(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": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "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": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "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": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", + "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": "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": "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": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" - }, + "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: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": "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" - }, + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { "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" - }, + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { "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" - }, + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -4246,570 +4154,411 @@ } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + } + ], + "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": "email", + "printedName": "email", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + } + ] } - ], - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", - "children": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + } + ] } - ], - "usr": "s:Sa" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lastName", + "printedName": "lastName", + "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Buyer.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.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } - ], - "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" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "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:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", - "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:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", "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" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, + "implicit": 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:24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, + "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "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", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, + "implicit": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7fromURLAD10Foundation0E0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7fromURLAD10Foundation0E0V_tKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "implicit": true }, { - "kind": "Function", - "name": "with", - "printedName": "with(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]??", + "printedName": "Swift.Int?", "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ { "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "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": "Optional", - "printedName": "Swift.String?", + "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", @@ -4818,343 +4567,46 @@ "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" - } - ], - "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", - "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]?", - "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": "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" - }, - { - "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": "EmbeddedCheckoutProtocol.CheckoutStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] + } + ], + "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": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8jsonData10Foundation0E0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8jsonData10Foundation0E0VyKF", - "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", @@ -5162,45 +4614,32 @@ "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:24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" }, { "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, { "kind": "Conformance", @@ -5229,326 +4668,805 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeDecl", - "name": "ErrorResponse", - "printedName": "ErrorResponse", + "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": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "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": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "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": "ucp", - "printedName": "ucp", + "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", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extends", + "printedName": "extends", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", + "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": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "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(config:id:schema:spec:version:extends:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { - "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { - "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8messagesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "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.Extends?", + "children": [ + { + "kind": "TypeNominal", + "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": "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": "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": "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": "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": "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" + }, + { + "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": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "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", @@ -5556,35 +5474,22 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "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", @@ -5592,50 +5497,21 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -5644,113 +5520,205 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "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": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", - "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" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "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" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "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": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -5759,64 +5727,36 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sa" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", - "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" - }, + "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": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -5824,1258 +5764,1128 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "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" - }, - { - "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" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(continueURL:messages:ucp:)", + "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", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(applied:codes:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" } ], - "usr": "s:Sq" - }, + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "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" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ { - "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "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": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_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: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", + "printedName": "Swift.String?", "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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "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": "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" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(applied:codes:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { - "kind": "Function", - "name": "with", - "printedName": "with(continueURL:messages:ucp:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]??", "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "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]", + "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" } ], - "hasDefaultArg": true, "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.FulfillmentAvailableMethod]?", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV", - "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" + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "TypeDecl", - "name": "ReadyRequest", - "printedName": "ReadyRequest", + "kind": "Var", + "name": "methods", + "printedName": "methods", "children": [ { - "kind": "Var", - "name": "auth", - "printedName": "auth", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ] - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.String]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "Constructor", - "name": "init", - "printedName": "init(auth:delegate:)", + "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(availableMethods:methods:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" } ], - "usr": "s:Sq" - }, + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.String]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "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": "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": "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": "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:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "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": "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": "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": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "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": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "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": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "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:24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "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": "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" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(availableMethods:methods:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { - "kind": "Function", - "name": "with", - "printedName": "with(auth:delegate:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.String]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", - "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:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", - "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:24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", "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" - } - ] + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", - "name": "WindowOpenRequest", - "printedName": "WindowOpenRequest", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "availableMethods", + "printedName": "availableMethods", "children": [ { - "kind": "TypeNominal", - "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()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "methods", + "printedName": "methods", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "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:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, + "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(url:)", + "printedName": "init(stringValue:)", "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ], - "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "TypeAlias", + "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" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "implicit": true }, { "kind": "Var", - "name": "parsedURL", - "printedName": "parsedURL", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.URL?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -7085,119 +6895,44 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.URL?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": 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": "AddressChangeResult", - "printedName": "AddressChangeResult", - "children": [ + }, { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -7206,26 +6941,18 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } @@ -7233,25 +6960,21 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -7260,32 +6983,51 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], "accessorKind": "get" } ] + } + ], + "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": "Var", - "name": "continueURL", - "printedName": "continueURL", + "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", @@ -7293,338 +7035,615 @@ "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": [ + "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: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": "CheckoutStatus", + "printedName": "CheckoutStatus", + "children": [ + { + "kind": "Var", + "name": "canceled", + "printedName": "canceled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "completeInProgress", + "printedName": "completeInProgress", + "children": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "completed", + "printedName": "completed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "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": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "incomplete", + "printedName": "incomplete", + "children": [ { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "readyForComplete", + "printedName": "readyForComplete", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ { - "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": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "requiresEscalation", + "printedName": "requiresEscalation", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "children": [ { - "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": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + ] + } + ] + } + ], + "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": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_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: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", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "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": "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": "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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" + } + ], + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "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": "String", @@ -7632,355 +7651,125 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_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": "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" - } - ] + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", "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" - } - ] - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", + "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", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "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" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lines", + "printedName": "lines", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" - }, + "usr": "s:Sa" + } + ], + "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": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } ], "usr": "s:Sa" @@ -7989,406 +7778,676 @@ "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "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", - "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:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", + "children": [ + { + "kind": "TypeNominal", + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "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": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "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": "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(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": "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": "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": "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" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "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" + }, + { + "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": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Function", - "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Line]??", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout??", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "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": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "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": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "displayText", + "printedName": "displayText", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", "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.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "lines", + "printedName": "lines", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "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": "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": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "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" + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "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": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "AuthResult", - "printedName": "AuthResult", - "children": [ { "kind": "Var", - "name": "credential", - "printedName": "credential", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -8398,51 +8457,44 @@ { "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -8451,18 +8503,18 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } @@ -8470,33 +8522,21 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "stringValue", + "printedName": "stringValue", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -8505,281 +8545,535 @@ "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:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], "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": "Var", - "name": "messages", - "printedName": "messages", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "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:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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: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": "ContentType", + "printedName": "ContentType", + "children": [ + { + "kind": "Var", + "name": "markdown", + "printedName": "markdown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", "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": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "plain", + "printedName": "plain", + "children": [ { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", "children": [ { - "kind": "Var", - "name": "credential", - "printedName": "credential", - "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" }, { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO3ucpyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO3ucpyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ] + } + ], + "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": "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": "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "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": [ + { + "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": "Context", + "printedName": "Context", + "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: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": "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8messagesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "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": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -8787,86 +9081,60 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_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.AuthResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "currency", + "printedName": "currency", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "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": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -8875,71 +9143,35 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", - "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: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" - } - ] - }, + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "eligibility", + "printedName": "eligibility", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -8948,58 +9180,36 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -9008,121 +9218,59 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", "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" - } - ] - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "intent", + "printedName": "intent", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(credential:ucp:continueURL:messages:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" - }, + "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": [ { "kind": "TypeNominal", "name": "Optional", @@ -9136,13 +9284,55 @@ } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "language", + "printedName": "language", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -9156,124 +9346,92 @@ } ], "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", + "children": [ { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" - }, - { - "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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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" - } + "declAttributes": [ + "Transparent" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" - }, { "kind": "TypeNominal", "name": "String", @@ -9282,186 +9440,198 @@ }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "Function", - "name": "with", - "printedName": "with(credential:ucp:continueURL:messages:)", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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": [ + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "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.String?", + "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" - } - ], - "hasDefaultArg": true, - "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": "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -9470,199 +9640,277 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV", - "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" + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, + "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": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + "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": "TypeDecl", - "name": "CredentialResult", - "printedName": "CredentialResult", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "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": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "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", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Function", + "name": "with", + "printedName": "with(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "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()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -9679,25 +9927,23 @@ "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]??", + "children": [ { - "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", @@ -9706,376 +9952,506 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "kind": "TypeNominal", + "name": "String", + "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": "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.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" - } - ] + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8checkoutyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8checkoutyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "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.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" - } - ] + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO3ucpyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO3ucpyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "currency", + "printedName": "currency", + "children": [ { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "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.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" - } - ] + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11continueURLyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11continueURLyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "eligibility", + "printedName": "eligibility", + "children": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "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.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" - } - ] + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8messagesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "intent", + "printedName": "intent", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "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.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "usr": "s:Sq" + ] + } + ] + } + ], + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ] } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "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.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "usr": "s:Sq" - }, + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "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" - }, + "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" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueAFSgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -10092,46 +10468,38 @@ "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "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": "String", @@ -10139,40 +10507,40 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", "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" - } - ] - }, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -10181,163 +10549,46 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", "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": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", - "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" + "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" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "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?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -10345,3818 +10596,1224 @@ "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "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:24EmbeddedCheckoutProtocol7ContextV", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", + "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": "DiscountAllocation", + "printedName": "DiscountAllocation", + "children": [ + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_p_tKF", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "path", + "printedName": "path", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } + "declAttributes": [ + "Transparent" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "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:24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(amount:path:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "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": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_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:24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", + "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": "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Function", - "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" - }, + "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", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV", + "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": "DiscountMethod", + "printedName": "DiscountMethod", + "children": [ + { + "kind": "Var", + "name": "across", + "printedName": "across", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "each", + "printedName": "each", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", + "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", "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": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", "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" - }, + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeDecl", - "name": "InstrumentsChangeResult", - "printedName": "InstrumentsChangeResult", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Inlinable" ], - "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" - } - ] - }, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO", + "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO", + "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": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - } - ], - "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" + "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": "EmbeddedCheckoutProtocol", + "printedName": "EmbeddedCheckoutProtocol", + "children": [ + { + "kind": "Var", + "name": "specVersion", + "printedName": "specVersion", + "children": [ { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeNominal", + "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": "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "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" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parseErrorCode", + "printedName": "parseErrorCode", + "children": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isInternal": true, + "declAttributes": [ + "HasInitialValue", + "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "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": "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(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": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", - "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: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": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", - "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(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": "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": "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(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": 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": "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.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" - } - ], - "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", - "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", - "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": "ReadyResult", - "printedName": "ReadyResult", - "children": [ - { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "upgrade", - "printedName": "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", - "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.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "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": "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "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", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_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.ReadyResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", - "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: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": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", - "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(checkout:credential:ucp:upgrade:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - } - ], - "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.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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, + "isInternal": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parseErrorMessage", + "printedName": "parseErrorMessage", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "kind": "TypeNominal", + "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": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" - }, { "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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": "Function", - "name": "with", - "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout??", - "children": [ - { - "kind": "TypeNominal", - "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": "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": "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": "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV", - "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" + "static": true, + "implicit": true, + "isInternal": true, + "accessorKind": "get" } ] }, { - "kind": "TypeDecl", - "name": "WindowOpenResult", - "printedName": "WindowOpenResult", + "kind": "Var", + "name": "invalidParamsCode", + "printedName": "invalidParamsCode", "children": [ { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", - "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", - "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isInternal": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "static": true, + "implicit": true, + "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": "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "Function", + "name": "url", + "printedName": "url(for:options:)", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "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": "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": "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(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": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", - "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: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" - } - ] - }, - { - "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": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ] }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, any Swift.Error, Foundation.Data)", "children": [ { "kind": "TypeNominal", "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": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ], - "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": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true + }, + { + "kind": "TypeDecl", + "name": "AddressChangeCheckout", + "printedName": "AddressChangeCheckout", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(ucp:continueURL:messages:)", + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", "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": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", - "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": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -14167,9 +11824,9 @@ "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", @@ -14179,8 +11836,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -14189,33 +11846,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -14226,9 +11876,9 @@ "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", @@ -14238,99 +11888,68 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(ucp:continueURL:messages:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(fulfillment:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "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" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -14346,8 +11965,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -14381,8 +12000,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -14390,77 +12009,50 @@ }, { "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "rejected", - "printedName": "rejected(reason:version:)", + "name": "with", + "printedName": "with(fulfillment:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -14500,67 +12092,44 @@ "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": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "Event", - "printedName": "Event", + "name": "AddressChangeResult", + "printedName": "AddressChangeResult", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", "children": [ { "kind": "TypeNominal", - "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" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -14573,38 +12142,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", "children": [ { "kind": "TypeNominal", - "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" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -14615,45 +12169,21 @@ }, { "kind": "Var", - "name": "start", - "printedName": "start", + "name": "ucp", + "printedName": "ucp", "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" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -14666,38 +12196,15 @@ "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" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -14708,45 +12215,29 @@ }, { "kind": "Var", - "name": "complete", - "printedName": "complete", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -14759,38 +12250,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -14801,45 +12277,37 @@ }, { "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sa" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -14852,38 +12320,31 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sa" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -14893,727 +12354,973 @@ ] }, { - "kind": "Var", - "name": "lineItemsChange", - "printedName": "lineItemsChange", + "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.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.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "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": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "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: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": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": 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": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout??", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", "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" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "buyerChange", - "printedName": "buyerChange", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, + "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": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sq" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sa" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "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" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + ] } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentChange", - "printedName": "paymentChange", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "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" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + ] } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillmentChange", - "printedName": "fulfillmentChange", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_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": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", "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" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ready", - "printedName": "ready", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", + "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": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" - }, + "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": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "usr": "s:Sq" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", - "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.EmbeddedCheckoutProtocol.AuthResult>", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, + "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": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "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": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult>", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "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: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": "paymentInstrumentsChange", - "printedName": "paymentInstrumentsChange", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "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" - }, + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -15626,44 +13333,23 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult>", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -15673,329 +13359,202 @@ ] }, { - "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "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" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "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" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", + "kind": "Constructor", + "name": "init", + "printedName": "init(type:)", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult>", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { - "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" + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "all", - "printedName": "all", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -16004,30 +13563,44 @@ "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(type:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -16036,30 +13609,55 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "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", @@ -16078,24 +13676,32 @@ }, { "kind": "TypeDecl", - "name": "Delegation", - "printedName": "Delegation", + "name": "AuthRequest", + "printedName": "AuthRequest", "children": [ { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "type", + "printedName": "type", "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:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -16110,14 +13716,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:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -16130,119 +13744,356 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringLiteral:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Var", - "name": "paymentInstrumentsChange", - "printedName": "paymentInstrumentsChange", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_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:24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", + "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" + } ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "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" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "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": "TypeDecl", + "name": "AuthResult", + "printedName": "AuthResult", + "children": [ { "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -16255,16 +14106,23 @@ "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -16275,23 +14133,21 @@ }, { "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -16304,16 +14160,15 @@ "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -16324,23 +14179,29 @@ }, { "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -16353,16 +14214,23 @@ "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -16373,31 +14241,37 @@ }, { "kind": "Var", - "name": "all", - "printedName": "all", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -16410,24 +14284,31 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -16437,93 +14318,53 @@ ] }, { - "kind": "TypeAlias", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "StringLiteralType", - "printedName": "StringLiteralType", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", + "kind": "Constructor", + "name": "init", + "printedName": "init(credential:ucp:continueURL:messages:)", "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": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -16531,35 +14372,19 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] - } - ], - "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": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -16567,500 +14392,306 @@ "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": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "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:s43ExpressibleByExtendedGraphemeClusterLiteralP", - "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "ExpressibleByUnicodeScalarLiteral", - "printedName": "ExpressibleByUnicodeScalarLiteral", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { - "kind": "TypeWitness", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", - "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_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(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "UCPCheckoutResponseSchema", - "printedName": "UCPCheckoutResponseSchema", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "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" + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_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": "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "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:24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", + "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" - }, - { - "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": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(credential:ucp:continueURL:messages:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", - "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.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "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" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], + "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()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", - "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" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -17069,67 +14700,30 @@ "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": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } ] } @@ -17137,36 +14731,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } ] } @@ -17174,36 +14768,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO3ucpyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } ] } @@ -17211,36 +14805,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11continueURLyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } ] } @@ -17248,61 +14842,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8messagesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_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.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -17315,41 +14906,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_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.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -17367,8 +14961,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -17393,8 +14987,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -17419,8 +15013,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -17440,8 +15034,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -17458,8 +15052,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -17482,8 +15076,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -17500,8 +15094,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -17510,8 +15104,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -17531,98 +15125,578 @@ "mangledName": "$sSH" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "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:24EmbeddedCheckoutProtocolAAO10AuthResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV", + "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": "CapabilityElement", + "printedName": "CapabilityElement", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", + "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extends", + "printedName": "extends", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", + "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": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" }, { - "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(config:id:schema:spec:version:extends:)", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -17632,17 +15706,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -17652,64 +15718,28 @@ }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "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.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -17717,13 +15747,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -17733,38 +15763,53 @@ "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", "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": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -17773,9 +15818,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" }, { "kind": "TypeNominal", @@ -17785,8 +15830,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -17795,113 +15840,134 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_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": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", "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": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(config:id:schema:spec:version:extends:)", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -17911,17 +15977,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -17936,77 +15994,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "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" @@ -18018,74 +16017,49 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", - "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "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", @@ -18098,28 +16072,44 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", + "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:SS10FoundationE8EncodingV" + "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -18169,94 +16159,46 @@ }, { "kind": "TypeDecl", - "name": "ServiceResponseSchema", - "printedName": "ServiceResponseSchema", + "name": "Checkout", + "printedName": "Checkout", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "attribution", + "printedName": "attribution", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvg", - "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:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -18272,21 +16214,35 @@ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -18298,27 +16254,27 @@ }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "buyer", + "printedName": "buyer", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -18334,21 +16290,21 @@ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -18360,27 +16316,27 @@ }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -18396,67 +16352,21 @@ { "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvg", - "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvp", - "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -18468,8 +16378,8 @@ }, { "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", @@ -18487,8 +16397,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -18517,8 +16427,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -18530,19 +16440,19 @@ }, { "kind": "Var", - "name": "transport", - "printedName": "transport", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8currencySSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8currencySSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -18554,103 +16464,6 @@ "kind": "Accessor", "name": "Get", "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", - "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.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", - "children": [ - { - "kind": "TypeNominal", - "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" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -18659,264 +16472,230 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", - "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "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": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Var", + "name": "discounts", + "printedName": "discounts", "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvp", "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.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "expiresAt", + "printedName": "expiresAt", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvp", + "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": "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" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "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": "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" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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", @@ -18925,197 +16704,243 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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": "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" + "usr": "s:Sa" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "links", + "printedName": "links", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", + "children": [ + { + "kind": "TypeNominal", + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "messages", + "printedName": "messages", "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" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", - "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" + "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:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedTransportConfig", - "children": [ { "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", + "name": "order", + "printedName": "order", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" - } - ], - "usr": "s:Sa" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -19131,29 +16956,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" - } - ], - "usr": "s:Sa" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -19165,35 +16982,27 @@ }, { "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -19209,29 +17018,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -19242,461 +17043,575 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "signals", + "printedName": "signals", "children": [ { - "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11colorSchemeyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11colorSchemeyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "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" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", + "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.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", + "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": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", + "children": [ { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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, - "accessors": [ + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { - "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": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] - }, + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:SD" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "name": "Void", + "printedName": "()" + }, { - "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:SD" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" }, { - "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:24EmbeddedCheckoutProtocolAAO0B0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V_5usingADSS_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:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "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:SY", - "mangledName": "$sSY" + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { - "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(colorScheme:delegate:)", - "children": [ + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + } + ], + "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": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" @@ -19707,56 +17622,117 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" + }, + { + "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:Sa" + "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" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", "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": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -19765,9 +17741,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" }, { "kind": "TypeNominal", @@ -19777,132 +17753,157 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_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": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7fromURLAD10Foundation0E0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7fromURLAD10Foundation0E0V_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": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "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:24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8jsonData10Foundation0E0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8jsonData10Foundation0E0VyKF", "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": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(colorScheme:delegate:)", + "printedName": "with(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]??", + "printedName": "[Swift.String : Swift.String]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" @@ -19914,26 +17915,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]??", + "printedName": "EmbeddedCheckoutProtocol.Buyer??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], "usr": "s:Sq" @@ -19941,328 +17934,141 @@ ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_SaySSGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_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: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.String?", + "printedName": "EmbeddedCheckoutProtocol.Context??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", - "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": "EmbeddedColorScheme", - "printedName": "EmbeddedColorScheme", - "children": [ - { - "kind": "Var", - "name": "dark", - "printedName": "dark", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "light", - "printedName": "light", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts??", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme?", + "printedName": "Foundation.Date??", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + "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": "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": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", - "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:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", - "moduleName": "EmbeddedCheckoutProtocol", - "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -20270,339 +18076,147 @@ "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": "ErrorResponseUcp", - "printedName": "ErrorResponseUcp", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "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" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], + "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()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Link]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "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": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", - "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.PaymentHandlerResponseSchema]]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "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": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", - "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.Payment??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "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": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -20612,17 +18226,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -20631,109 +18237,69 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", - "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.EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", - "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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -20742,30 +18308,141 @@ "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "attribution", + "printedName": "attribution", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "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.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } ] } @@ -20773,36 +18450,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11continueURLyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } ] } @@ -20810,36 +18487,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "discounts", + "printedName": "discounts", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } ] } @@ -20847,36 +18524,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8servicesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8servicesyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "expiresAt", + "printedName": "expiresAt", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } ] } @@ -20884,36 +18561,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO6statusyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO6statusyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } ] } @@ -20921,800 +18598,601 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO7versionyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO7versionyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_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.ErrorResponseUcp.CodingKeys?", - "children": [ + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + "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" + } + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "links", + "printedName": "links", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "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": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "order", + "printedName": "order", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "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": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", - "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": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } ] } ], - "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": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "kind": "Var", + "name": "signals", + "printedName": "signals", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", - "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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Var", + "name": "totals", + "printedName": "totals", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_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": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", "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": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", "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": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -21723,76 +19201,132 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", "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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", - "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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -21837,122 +19371,58 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, { "kind": "TypeDecl", - "name": "ErrorStatus", - "printedName": "ErrorStatus", + "name": "CheckoutFulfillmentClass", + "printedName": "CheckoutFulfillmentClass", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "availableMethods", + "printedName": "availableMethods", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + ], + "usr": "s:Sa" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", "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:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "HasStorage" ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -21961,140 +19431,70 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "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": "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" + "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: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" + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "InstrumentsChangeCheckout", - "printedName": "InstrumentsChangeCheckout", - "children": [ { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "methods", + "printedName": "methods", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "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:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -22110,21 +19510,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "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:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -22137,84 +19545,96 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(payment:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "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:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(availableMethods:methods:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -22224,9 +19644,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" }, { "kind": "TypeNominal", @@ -22236,8 +19656,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -22246,33 +19666,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" }, { "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:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -22283,9 +19696,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" }, { "kind": "TypeNominal", @@ -22295,8 +19708,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -22304,44 +19717,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(payment:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment??", - "children": [ - { - "kind": "TypeNominal", - "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" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -22357,8 +19753,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -22392,127 +19788,44 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "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": "TypeDecl", - "name": "InstrumentsChangePayment", - "printedName": "InstrumentsChangePayment", - "children": [ - { - "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "kind": "Function", + "name": "with", + "printedName": "with(availableMethods:methods:)", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" } ], "usr": "s:Sa" @@ -22521,79 +19834,47 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", - "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -22602,30 +19883,30 @@ "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "availableMethods", + "printedName": "availableMethods", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" } ] } @@ -22633,36 +19914,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "methods", + "printedName": "methods", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" } ] } @@ -22670,61 +19951,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_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.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" } ], "usr": "s:Sq" @@ -22737,41 +20015,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_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.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -22789,8 +20070,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -22815,8 +20096,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -22841,8 +20122,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -22862,8 +20143,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -22880,8 +20161,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -22904,8 +20185,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -22922,8 +20203,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -22932,8 +20213,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -23024,40 +20305,284 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", + "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": "Client", + "printedName": "Client", + "children": [ { "kind": "Constructor", "name": "init", - "printedName": "init(instruments:selectedInstrumentID:)", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientVADycfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientVADycfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "on", + "printedName": "on(_:perform:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "GenericTypeParam", + "printedName": "P" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "R" + } + ], + "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": "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": "on", + "printedName": "on(_:perform:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + }, + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "P" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Handler) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "Void", + "printedName": "()" } - ], - "usr": "s:Sa" + ] + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" } - ], - "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": "Function", + "name": "onDecodeError", + "printedName": "onDecodeError(_:)", + "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" + } + ] + } + ] + } + ] + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "DiscardableResult" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "process", + "printedName": "process(_:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -23071,62 +20596,154 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "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": "CredentialCheckout", + "printedName": "CredentialCheckout", + "children": [ + { + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", "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": "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": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" }, { "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -23137,9 +20754,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" }, { "kind": "TypeNominal", @@ -23149,8 +20766,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -23159,33 +20776,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" }, { "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -23196,9 +20806,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" }, { "kind": "TypeNominal", @@ -23208,84 +20818,68 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(payment:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "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" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], - "hasDefaultArg": true, "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -23301,8 +20895,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -23336,17 +20930,59 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(payment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "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" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -23393,345 +21029,35 @@ "mangledName": "$ss9EscapableP" } ] - }, - { - "kind": "TypeDecl", - "name": "InstrumentsChangeResultUcp", - "printedName": "InstrumentsChangeResultUcp", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", - "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.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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", - "children": [ - { - "kind": "TypeNominal", - "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", - "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.PaymentHandlerElement]]?", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ] - }, - { - "kind": "Var", - "name": "services", - "printedName": "services", - "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" - } - ], - "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": "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, + }, + { + "kind": "TypeDecl", + "name": "CredentialResult", + "printedName": "CredentialResult", + "children": [ { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -23746,14 +21072,22 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -23765,19 +21099,19 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -23792,14 +21126,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -23810,301 +21144,14 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "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(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": "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", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "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": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -24113,322 +21160,203 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", "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": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declAttributes": [ + "Transparent" ], - "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" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", "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.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" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", + "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": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { - "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(checkout:ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", "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" + "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 : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -24436,82 +21364,57 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "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" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", "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": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -24520,9 +21423,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { "kind": "TypeNominal", @@ -24532,8 +21435,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -24542,253 +21445,594 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_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": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_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: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.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" + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(checkout:ucp:continueURL:messages:)", + "children": [ + { + "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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + } + ], + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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": "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": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]??", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "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": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" - } - ], - "usr": "s:Sa" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" } - ], - "usr": "s:SD" + ] + } + ] + } + ], + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", "children": [ { "kind": "TypeNominal", - "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" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", + "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "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" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -24797,103 +22041,132 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", - "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "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": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", + "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" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "success", - "printedName": "success(version:)", - "children": [ + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -24938,51 +22211,36 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "CapabilityElement", - "printedName": "CapabilityElement", + "name": "Delegation", + "printedName": "Delegation", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "rawValue", + "printedName": "rawValue", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -24997,36 +22255,14 @@ "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -25038,29 +22274,23 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -25073,23 +22303,16 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -25100,29 +22323,23 @@ }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "paymentCredential", + "printedName": "paymentCredential", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -25135,23 +22352,16 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -25162,29 +22372,23 @@ }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "fulfillmentAddressChange", + "printedName": "fulfillmentAddressChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -25197,23 +22401,16 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -25224,21 +22421,23 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -25251,15 +22450,16 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -25270,29 +22470,31 @@ }, { "kind": "Var", - "name": "extends", - "printedName": "extends", + "name": "all", + "printedName": "all", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -25305,467 +22507,446 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:extends:)", - "children": [ - { - "kind": "TypeNominal", - "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", - "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.Extends?", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(stringLiteral:)", "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeAlias", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "implicit": true }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "implicit": true }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "TypeAlias", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" - }, + "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": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_tKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:extends:)", + "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": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" - }, + "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": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", "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" - }, + ] + } + ], + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } - ], - "usr": "s:Sq" + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "light", + "printedName": "light", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } - ], - "usr": "s:Sq" + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } ], - "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" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueADSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueADSgSS_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:24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", "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?", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -25774,31 +22955,63 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", "moduleName": "EmbeddedCheckoutProtocol", "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": "Decodable", @@ -25845,8 +23058,8 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerElement", - "printedName": "PaymentHandlerElement", + "name": "EmbeddedService", + "printedName": "EmbeddedService", "children": [ { "kind": "Var", @@ -25883,8 +23096,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -25927,8 +23140,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -25945,14 +23158,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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -25967,14 +23188,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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -26005,8 +23234,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -26035,8 +23264,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -26067,8 +23296,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -26097,8 +23326,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -26121,8 +23350,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -26143,8 +23372,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -26156,35 +23385,27 @@ }, { "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "name": "endpoint", + "printedName": "endpoint", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -26200,29 +23421,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -26233,338 +23446,477 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "transport", + "printedName": "transport", "children": [ { - "kind": "Var", - "name": "config", - "printedName": "config", + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6configyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6configyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_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": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO2idyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO2idyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "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": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_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": "schema", - "printedName": "schema", + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "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": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6schemayA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6schemayA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "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": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" }, { - "kind": "Var", - "name": "version", - "printedName": "version", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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": [ + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -26573,281 +23925,277 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "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": "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" - } - ] + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "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" } ], - "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" - } - ] - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "EmbeddedTransportConfig", + "printedName": "EmbeddedTransportConfig", + "children": [ + { + "kind": "Var", + "name": "colorScheme", + "printedName": "colorScheme", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", "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()", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", "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.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ], + "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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "kind": "Var", + "name": "delegate", + "printedName": "delegate", "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[Swift.String]?", "children": [ { "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", + "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" } ], - "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", @@ -26857,53 +24205,68 @@ }, { "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(colorScheme:delegate:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" @@ -26913,35 +24276,36 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", "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": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -26950,9 +24314,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", @@ -26962,8 +24326,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -26972,201 +24336,375 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_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.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "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:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8jsonData10Foundation0G0VyKF", "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.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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(colorScheme:delegate:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ], + "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]?", + "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": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_SaySSGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_SaySSGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "colorScheme", + "printedName": "colorScheme", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "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": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", + "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.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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_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.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_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.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -27175,77 +24713,71 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]??", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", - "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", - "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": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -27254,28 +24786,174 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "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": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -27325,46 +25003,94 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "PaymentHandlerAvailableInstrument", + "name": "ErrorResponse", + "printedName": "ErrorResponse", "children": [ { "kind": "Var", - "name": "constraints", - "printedName": "constraints", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", + "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" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -27379,36 +25105,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "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": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -27420,19 +25132,19 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -27447,14 +25159,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -27467,104 +25179,86 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(constraints:type:)", + "printedName": "init(_:using:)", "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" + "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" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(continueURL:messages:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_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": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -27574,9 +25268,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" }, { "kind": "TypeNominal", @@ -27586,8 +25280,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -27596,33 +25290,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" }, { "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -27633,9 +25320,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" }, { "kind": "TypeNominal", @@ -27645,8 +25332,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -27654,73 +25341,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(constraints:type:)", + "name": "encode", + "printedName": "encode(to:)", "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": "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" + "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -27736,8 +25377,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -27771,169 +25412,261 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", - "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": "Function", + "name": "with", + "printedName": "with(continueURL:messages:ucp:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "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": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "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": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EmbeddedService", - "printedName": "EmbeddedService", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "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": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.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.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "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.ErrorResponse.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -27941,60 +25674,53 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_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": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -28003,60 +25729,71 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": 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", "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -28065,28 +25802,16 @@ "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": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -28095,47 +25820,22 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvg", - "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -28144,41 +25844,236 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", + "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" + } + ] + } ], - "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:24EmbeddedCheckoutProtocolAAO13ErrorResponseV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV", + "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": "ErrorResponseUcp", + "printedName": "ErrorResponseUcp", + "children": [ { "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -28194,21 +26089,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -28220,70 +26137,18 @@ }, { "kind": "Var", - "name": "transport", - "printedName": "transport", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "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": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", @@ -28293,252 +26158,49 @@ }, { "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": "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", - "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:24EmbeddedCheckoutProtocolAAO0A7ServiceV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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": "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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "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" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_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": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" - }, + "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": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", @@ -28548,9 +26210,17 @@ }, { "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" @@ -28559,273 +26229,185 @@ "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" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "services", + "printedName": "services", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" - } - ], - "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:SD" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", + "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": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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.Transport?", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "hasDefaultArg": true, - "usr": "s:Sq" + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", - "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": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8jsonData10Foundation0F0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", "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": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": 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": "CredentialCheckout", - "printedName": "CredentialCheckout", - "children": [ { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "version", + "printedName": "version", "children": [ { "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -28840,22 +26422,14 @@ "children": [ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -28868,84 +26442,172 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(payment:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" }, { "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:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "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": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + "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": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -28955,9 +26617,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" }, { "kind": "TypeNominal", @@ -28967,8 +26629,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -28977,33 +26639,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" }, { "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:24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -29014,9 +26669,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" }, { "kind": "TypeNominal", @@ -29026,8 +26681,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -29035,44 +26690,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(payment:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + "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:24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -29088,8 +26726,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -29123,370 +26761,566 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": 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": "AddressChangeCheckout", - "printedName": "AddressChangeCheckout", - "children": [ - { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "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" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "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": "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_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.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fulfillment:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(fulfillment:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "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", @@ -29495,28 +27329,174 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "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": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -29566,124 +27546,117 @@ }, { "kind": "TypeDecl", - "name": "CheckoutFulfillmentClass", - "printedName": "CheckoutFulfillmentClass", + "name": "ErrorStatus", + "printedName": "ErrorStatus", "children": [ { "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", + "name": "error", + "printedName": "error", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "methods", - "printedName": "methods", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_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:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", + "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:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -29692,884 +27665,530 @@ "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } ] + } + ], + "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "methods", - "printedName": "methods", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ - { - "kind": "TypeNominal", - "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" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + ] + } + ], + "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": "error", + "printedName": "error", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_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" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "start", + "printedName": "start", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", "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" - }, + "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", + "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:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "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:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(availableMethods:methods:)", + "kind": "Var", + "name": "complete", + "printedName": "complete", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" - }, + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "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:Sa" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_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.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(availableMethods:methods:)", + "kind": "Var", + "name": "messagesChange", + "printedName": "messagesChange", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_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:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", - "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:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", - "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": "Auth", - "printedName": "Auth", - "children": [ { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "lineItemsChange", + "printedName": "lineItemsChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -30582,23 +28201,38 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -30608,351 +28242,232 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(type:)", + "kind": "Var", + "name": "buyerChange", + "printedName": "buyerChange", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_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:24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "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" - } + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" - }, + "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": "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:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" - }, + "kind": "Var", + "name": "totalsChange", + "printedName": "totalsChange", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "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": "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": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV", - "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": "ReadyCheckout", - "printedName": "ReadyCheckout", - "children": [ { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "paymentChange", + "printedName": "paymentChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "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:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -30965,23 +28480,38 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "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:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -30992,29 +28522,45 @@ }, { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "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:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -31027,23 +28573,38 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "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:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -31053,396 +28614,262 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fulfillment:payment:)", + "kind": "Var", + "name": "ready", + "printedName": "ready", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", - "children": [ + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "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:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", - "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:24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "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" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(fulfillment:payment:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "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:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "auth", + "printedName": "auth", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment??", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult>", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "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.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" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V", - "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": "ReadyPayment", - "printedName": "ReadyPayment", - "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult>", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -31455,31 +28882,44 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult>", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -31490,29 +28930,51 @@ }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -31525,23 +28987,44 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -31551,305 +29034,224 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { - "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult>", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "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" - } - ] + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", - "children": [ + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "fulfillmentAddressChange", + "printedName": "fulfillmentAddressChange", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult>", "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" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "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": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" }, { "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": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "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?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult>", "children": [ { "kind": "TypeNominal", - "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": [ + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "all", + "printedName": "all", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -31858,64 +29260,30 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sa" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", "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" - }, + "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", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -31923,165 +29291,144 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "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" - }, - { - "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: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": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(instruments:selectedInstrumentID:)", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "InstrumentsChangeCheckout", + "printedName": "InstrumentsChangeCheckout", + "children": [ + { + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "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": "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.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", - "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": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "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, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -32092,9 +29439,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "kind": "TypeNominal", @@ -32104,8 +29451,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -32114,33 +29461,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -32151,9 +29491,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "kind": "TypeNominal", @@ -32163,84 +29503,68 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(payment:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", "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" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" } ], - "hasDefaultArg": true, "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -32256,8 +29580,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -32291,17 +29615,59 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(payment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment??", + "children": [ + { + "kind": "TypeNominal", + "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": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -32351,46 +29717,40 @@ }, { "kind": "TypeDecl", - "name": "Upgrade", - "printedName": "Upgrade", + "name": "InstrumentsChangePayment", + "printedName": "InstrumentsChangePayment", "children": [ { "kind": "Var", - "name": "port", - "printedName": "port", + "name": "instruments", + "printedName": "instruments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -32406,35 +29766,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -32445,48 +29799,229 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(port:)", + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "usr": "s:SD" + "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:24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -32508,50 +30043,18 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, { "kind": "TypeNominal", "name": "Data", @@ -32559,30 +30062,32 @@ "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, - { - "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" }, { "kind": "TypeNominal", @@ -32592,80 +30097,71 @@ "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(port:)", + "printedName": "with(instruments:selectedInstrumentID:)", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "usr": "s:SD" + "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?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -32676,71 +30172,446 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "kind": "Var", + "name": "instruments", + "printedName": "instruments", + "children": [ + { + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", + "children": [ + { + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "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": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_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.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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "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:24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -32790,8 +30661,8 @@ }, { "kind": "TypeDecl", - "name": "JSONRPCCheckoutParams", - "printedName": "JSONRPCCheckoutParams", + "name": "InstrumentsChangeResult", + "printedName": "InstrumentsChangeResult", "children": [ { "kind": "Var", @@ -32800,14 +30671,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "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:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -32822,14 +30701,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "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:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -32840,125 +30727,144 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:)", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "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": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "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" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", "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": "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" + "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": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "JSONRPCErrorParams", - "printedName": "JSONRPCErrorParams", - "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "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:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -32973,45 +30879,170 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "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:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_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": "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": "Constructor", "name": "init", - "printedName": "init(error:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" }, { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -33021,9 +31052,9 @@ "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" }, { "kind": "TypeNominal", @@ -33033,125 +31064,88 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "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": "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": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "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": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO", - "moduleName": "EmbeddedCheckoutProtocol", - "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": "Buyer", - "printedName": "Buyer", - "children": [ - { - "kind": "Var", - "name": "email", - "printedName": "email", - "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:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -33166,60 +31160,339 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "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" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + } + ], + "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" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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": "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": "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "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", @@ -33227,61 +31500,35 @@ "usr": "s:SS" } ], - "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": [ - { - "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()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -33289,60 +31536,17 @@ "usr": "s:SS" } ], - "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" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -33351,319 +31555,357 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "email", - "printedName": "email", - "children": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "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" - }, + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - } - ], - "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", + "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", - "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": "InstrumentsChangeResultUcp", + "printedName": "InstrumentsChangeResultUcp", + "children": [ { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "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": "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -33673,86 +31915,103 @@ { "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": "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "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()", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" } ], - "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" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -33761,755 +32020,549 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "children": [ + { + "kind": "TypeNominal", + "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:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "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", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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: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" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvp", + "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": "[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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "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": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "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": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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]", + "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:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "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" + "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": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", "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": [ + "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" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + }, + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "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": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "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": [ - { - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_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": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_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:24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "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": "Context", - "printedName": "Context", - "children": [ - { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ - { - "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": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_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:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "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:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -34524,319 +32577,211 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "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:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "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" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "intent", - "printedName": "intent", - "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:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", - "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.EmbeddedCheckoutProtocol.EmbeddedService]]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "language", - "printedName": "language", - "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:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", - "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.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", - "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:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", @@ -34849,435 +32794,331 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", "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.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "intent", - "printedName": "intent", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "language", - "printedName": "language", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } - ] - } - ] - } - ], - "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": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "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" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", - "children": [ + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", - "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -35294,37 +33135,45 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -35333,121 +33182,190 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" + "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": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "accessorKind": "get" + "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" + } + ] } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", + "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": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", "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", @@ -35480,493 +33398,412 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", + "kind": "TypeDecl", + "name": "JSONRPCCheckoutParams", + "printedName": "JSONRPCCheckoutParams", "children": [ { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - }, - { - "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?", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "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:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "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": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "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": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:SD" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": [ { "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": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", "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" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], - "usr": "s:SD" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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": "Constructor", + "name": "init", + "printedName": "init(error:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ + "conformances": [ { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "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": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "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: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:)", + "kind": "TypeDecl", + "name": "Options", + "printedName": "Options", "children": [ { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "delegations", + "printedName": "delegations", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "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": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "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": [ + "name": "Void", + "printedName": "()" + }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.String]", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], "usr": "s:Sa" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "colorScheme", + "printedName": "colorScheme", "children": [ { "kind": "TypeNominal", @@ -35983,265 +33820,210 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "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": [ - { - "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", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "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" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", - "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": "applied", - "printedName": "applied", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "kind": "Var", + "name": "auth", + "printedName": "auth", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "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": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "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": "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]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(delegations:colorScheme:auth:)", "children": [ + { + "kind": "TypeNominal", + "name": "Options", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Options", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV" + }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.String]", + "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": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -36250,104 +34032,188 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "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" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "PaymentHandlerAvailableInstrument", + "children": [ + { + "kind": "Var", + "name": "constraints", + "printedName": "constraints", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "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:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(applied:codes:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -36356,540 +34222,482 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", - "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" - } - ], - "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:)", - "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", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", - "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" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "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": "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": "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]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "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:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "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": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_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": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_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:24EmbeddedCheckoutProtocol0B9DiscountsV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": 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": "AppliedDiscount", - "printedName": "AppliedDiscount", - "children": [ - { - "kind": "Var", - "name": "allocations", - "printedName": "allocations", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "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": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "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:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(constraints:type:)", "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", - "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": "automatic", - "printedName": "automatic", + "kind": "TypeDecl", + "name": "PaymentHandlerElement", + "printedName": "PaymentHandlerElement", "children": [ { - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", - "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": "Swift.Bool?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "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:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "code", - "printedName": "code", - "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -36898,23 +34706,44 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", - "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", @@ -36931,52 +34760,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeNominal", @@ -36993,612 +34822,949 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "method", - "printedName": "method", - "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "kind": "Var", + "name": "version", + "printedName": "version", "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", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "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:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "priority", - "printedName": "priority", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:availableInstruments:)", "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, { "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:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "provisional", - "printedName": "provisional", - "children": [ - { - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", - "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" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", - "children": [ + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "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" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_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": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "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", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": 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:)", - "children": [ - { - "kind": "TypeNominal", - "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(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "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": "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" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "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": "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]??", + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:availableInstruments:)", "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "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" - } - ], - "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": [ + "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.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??", + "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.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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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", @@ -37606,21 +35772,17 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -37629,1030 +35791,801 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod??", - "children": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int??", - "children": [ + "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": "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool??", - "children": [ + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "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" + "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" + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", - "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: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": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "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:24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": 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": "DiscountAllocation", - "printedName": "DiscountAllocation", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "path", - "printedName": "path", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:path:)", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "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" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "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:24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "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:24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "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:24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(amount:path:)", + "kind": "TypeDecl", + "name": "ReadyCheckout", + "printedName": "ReadyCheckout", "children": [ { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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": "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_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:24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V_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": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_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:24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV", - "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": "DiscountMethod", - "printedName": "DiscountMethod", - "children": [ - { - "kind": "Var", - "name": "across", - "printedName": "across", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" - } - ] + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "each", - "printedName": "each", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", + "kind": "Constructor", + "name": "init", + "printedName": "init(fulfillment:payment:)", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8RawValuea", - "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:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "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:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO", - "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, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeWitness", - "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" } - ] - } - ], - "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": "CheckoutFulfillment", - "printedName": "CheckoutFulfillment", - "children": [ - { - "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", - "children": [ + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "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:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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.FulfillmentAvailableMethod]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "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]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment??", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "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": "ReadyPayment", + "printedName": "ReadyPayment", + "children": [ + { + "kind": "Var", + "name": "instruments", + "printedName": "instruments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], "usr": "s:Sa" @@ -38661,227 +36594,534 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "methods", - "printedName": "methods", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "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": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "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": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" }, { "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "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, - "declAttributes": [ - "Inlinable" + "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(stringValue:)", + "printedName": "init(instruments:selectedInstrumentID:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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": "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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(instruments:selectedInstrumentID:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, + { + "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??", + "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" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "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", @@ -38889,67 +37129,32 @@ "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_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.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "String", @@ -38957,41 +37162,35 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", "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:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": 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.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -38999,44 +37198,15 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "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" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeWitness", + "kind": "TypeAlias", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -39046,553 +37216,371 @@ "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": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", - "children": [ + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "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" } - ], - "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" - }, - { - "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": "with", - "printedName": "with(availableMethods:methods:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", + "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" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "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": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "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" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", "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:24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "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: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", + "kind": "TypeDecl", + "name": "ReadyRequest", + "printedName": "ReadyRequest", "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "auth", + "printedName": "auth", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", - "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.EmbeddedCheckoutProtocol.Auth?", + "children": [ + { + "kind": "TypeNominal", + "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" } - ], - "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()", + "kind": "Var", + "name": "delegate", + "printedName": "delegate", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -39601,56 +37589,109 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + "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:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "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" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(auth:delegate:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "children": [ + { + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Array", @@ -39666,362 +37707,389 @@ "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", "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": [ + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", "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": "description", - "printedName": "description", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "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" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "Function", + "name": "with", + "printedName": "with(auth:delegate:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "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": "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" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "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": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "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": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "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.EmbeddedCheckoutProtocol.ReadyCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "credential", + "printedName": "credential", "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -40031,44 +38099,51 @@ { "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", "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": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -40077,18 +38152,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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -40096,21 +38171,33 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "upgrade", + "printedName": "upgrade", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -40119,51 +38206,40 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "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", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -40171,394 +38247,222 @@ "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" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(description:fulfillableOn:lineItemIDS:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, { "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:Sa" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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(checkout:credential:ucp:upgrade:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + } + ], + "usr": "s:Sq" + }, { "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" } ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -40572,694 +38476,757 @@ } ], "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": "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" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, { - "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": "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": "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_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: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": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", + "kind": "Function", + "name": "with", + "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout??", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + } + ], + "usr": "s:Sq" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "shipping", - "printedName": "shipping", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "usr": "s:Sq" - }, - { - "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()", - "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" + "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:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", "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": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "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": "FulfillmentMethod", - "printedName": "FulfillmentMethod", - "children": [ - { - "kind": "Var", - "name": "destinations", - "printedName": "destinations", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", - "children": [ + "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": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "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:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "kind": "Var", + "name": "messages", + "printedName": "messages", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "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", + "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", - "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "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" - } - ] - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", - "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -41268,60 +39235,40 @@ "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", - "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -41330,145 +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:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", "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" + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", + "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": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", - "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "name": "ServiceResponseSchema", + "printedName": "ServiceResponseSchema", "children": [ { "kind": "Var", - "name": "destinations", - "printedName": "destinations", + "name": "config", + "printedName": "config", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - } - ] + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "groups", - "printedName": "groups", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", @@ -41476,203 +39530,191 @@ "printedName": "id", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", + "name": "schema", + "printedName": "schema", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvp", "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.FulfillmentMethod.CodingKeys?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ { "kind": "TypeNominal", "name": "String", @@ -41680,89 +39722,69 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", + "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" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "endpoint", + "printedName": "endpoint", "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -41772,44 +39794,51 @@ { "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "transport", + "printedName": "transport", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -41818,45 +39847,85 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } ] }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -41865,46 +39934,12 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "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", - "children": [ + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -41912,938 +39947,802 @@ "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": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_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": "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": "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" } ], - "usr": "s:Sa" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "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": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "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": "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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "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.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": "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" + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", "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" + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", "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: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": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "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": "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: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": "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: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:)", + "kind": "TypeDecl", + "name": "UCPCheckoutResponseSchema", + "printedName": "UCPCheckoutResponseSchema", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]??", - "children": [ - { - "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]??", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "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: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": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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: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:SD" } ], - "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" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "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": [ + "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": "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: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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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()", + "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "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 : [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" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", "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" - } + "HasStorage" ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", - "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": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", @@ -42852,28 +40751,20 @@ "usr": "s:SS" } ], - "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": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "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", @@ -42882,217 +40773,176 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, { "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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?", + "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": "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": [ + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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: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": [ + "usr": "s:SD" + }, { "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 : [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" + }, { "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" - } - ], - "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", @@ -43100,193 +40950,139 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", - "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": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "address", - "printedName": "address", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "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.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "name", - "printedName": "name", - "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "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", @@ -43301,619 +41097,521 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", - "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.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": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "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": [ + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:SD" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", "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.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "address", - "printedName": "address", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "name", - "printedName": "name", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "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.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", - "children": [ + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "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": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ + "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": "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -43930,37 +41628,45 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -43969,40 +41675,40 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -44011,79 +41717,148 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" + "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: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": [ + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "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: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:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", + "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", @@ -44116,339 +41891,475 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", + "kind": "TypeDecl", + "name": "Upgrade", + "printedName": "Upgrade", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "port", + "printedName": "port", "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": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "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": "[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" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, { "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: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" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_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": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "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" } ], - "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": "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: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" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "with", + "printedName": "with(port:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "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" } ], - "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:24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "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": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "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": "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: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" + "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: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:)", + "kind": "TypeDecl", + "name": "WindowOpenRequest", + "printedName": "WindowOpenRequest", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "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", @@ -44457,154 +42368,202 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_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": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_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": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_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": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(url:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_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:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_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": "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:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "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", @@ -44619,16 +42578,34 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Function", + "name": "with", + "printedName": "with(url:)", "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -44641,287 +42618,185 @@ "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" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", + "kind": "Var", + "name": "parsedURL", + "printedName": "parsedURL", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "printedName": "Foundation.URL?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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": "Foundation.URL?", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "accessorKind": "get" } - ], - "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", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "conformances": [ { - "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" - } - ], - "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": "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": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, { - "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:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "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" + }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", + "kind": "TypeDecl", + "name": "WindowOpenResult", + "printedName": "WindowOpenResult", "children": [ { - "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" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", + "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", @@ -44938,239 +42813,254 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "messages", + "printedName": "messages", "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:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ + "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "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": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, { "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" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + "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": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_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": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "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": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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", @@ -45184,54 +43074,85 @@ } ], "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "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:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -45246,55 +43167,34 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "rejected", + "printedName": "rejected(reason:version:)", "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": [ + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -45307,476 +43207,720 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", - "children": [ + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", - "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.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, + "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.PostalAddress.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "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": "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": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_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.WindowOpenResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> 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" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "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" - }, + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ], - "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", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ] } - ] - } - ], - "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": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", + "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(stringValue:)", + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "EventLineItem", + "printedName": "EventLineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -45784,32 +43928,45 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "Int", @@ -45817,17 +43974,213 @@ "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "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: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, + "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": "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_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:24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_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: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", @@ -45836,71 +44189,39 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "usr": "s:Sq" }, { - "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(id:quantity:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -45909,40 +44230,143 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - }, + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "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", + "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": "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": "description", + "printedName": "description", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -45951,64 +44375,28 @@ "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", "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", @@ -46016,88 +44404,73 @@ "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:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "fulfillableOn", + "printedName": "fulfillableOn", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -46111,25 +44484,76 @@ } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "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": "Optional", - "printedName": "Swift.String?", + "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", @@ -46138,49 +44562,195 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "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:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", + "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": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + } + ], + "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": "Optional", - "printedName": "Swift.String?", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", + "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": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "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", @@ -46196,6 +44766,12 @@ ], "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -46209,38 +44785,39 @@ } ], "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": "()" + "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": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -46249,9 +44826,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -46261,8 +44838,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -46271,98 +44848,119 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_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": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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:24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", "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": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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:24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", + "printedName": "with(description:destination:fulfillableOn:id:lineItems:methodType:)", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { "kind": "TypeNominal", @@ -46387,6 +44985,21 @@ "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", @@ -46411,106 +45024,490 @@ "usr": "s:Sq" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "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", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "methodType", + "printedName": "methodType", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_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": "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" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -46519,21 +45516,40 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -46542,21 +45558,46 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", + "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", @@ -46564,80 +45605,67 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "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": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { - "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": [ + "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:24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -46686,8 +45714,8 @@ }, { "kind": "TypeDecl", - "name": "FulfillmentGroup", - "printedName": "FulfillmentGroup", + "name": "ExpectationLineItem", + "printedName": "ExpectationLineItem", "children": [ { "kind": "Var", @@ -46702,8 +45730,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46724,8 +45752,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46737,27 +45765,19 @@ }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46772,22 +45792,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46795,90 +45807,198 @@ ], "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": "Var", - "name": "options", - "printedName": "options", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { - "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": "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": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -46893,309 +46013,38 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Function", + "name": "with", + "printedName": "with(id:quantity:)", "children": [ { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "options", - "printedName": "options", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "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": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -47204,351 +46053,414 @@ "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "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": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.Extends", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + ] } ] } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", - "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": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "stringArray", + "printedName": "stringArray", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> ([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } ] } - ], - "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:24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:lineItemIDS:options:selectedOptionID:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "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": "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": "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": "Fulfillment", + "printedName": "Fulfillment", + "children": [ + { + "kind": "Var", + "name": "events", + "printedName": "events", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" } ], "usr": "s:Sa" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", + "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.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" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "name": "expectations", + "printedName": "expectations", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "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.Expectation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasInitialValue", "HasStorage" ], + "isLet": true, "hasStorage": true, "accessors": [ { @@ -47558,183 +46470,183 @@ "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "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.Expectation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", "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": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV_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": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(events:expectations:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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" + }, + { + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -47745,9 +46657,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -47757,8 +46669,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -47766,15 +46678,54 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(id:lineItemIDS:options:selectedOptionID:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "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", @@ -47787,52 +46738,55 @@ "usr": "s:SS" } ], - "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" - } - ], + "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": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" } ], "usr": "s:Sa" @@ -47847,18 +46801,26 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -47869,71 +46831,16 @@ } ], "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", - "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -47982,13 +46889,13 @@ }, { "kind": "TypeDecl", - "name": "FulfillmentOption", - "printedName": "FulfillmentOption", + "name": "FulfillmentAvailableMethod", + "printedName": "FulfillmentAvailableMethod", "children": [ { "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeNominal", @@ -48006,8 +46913,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -48036,8 +46943,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -48049,8 +46956,8 @@ }, { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeNominal", @@ -48068,8 +46975,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -48098,8 +47005,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -48111,27 +47018,27 @@ }, { "kind": "Var", - "name": "earliestFulfillmentTime", - "printedName": "earliestFulfillmentTime", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -48146,22 +47053,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -48173,19 +47080,19 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -48200,14 +47107,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -48219,32 +47126,38 @@ }, { "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -48254,57 +47167,152 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", + "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": "title", - "printedName": "title", + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", + "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", @@ -48313,222 +47321,313 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", - "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" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "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" + }, + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "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", - "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", - "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Function", + "name": "with", + "printedName": "with(description:fulfillableOn:lineItemIDS:type:)", "children": [ { - "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "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" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "description", - "printedName": "description", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "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" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "earliestFulfillmentTime", - "printedName": "earliestFulfillmentTime", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "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", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -48536,36 +47635,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -48573,36 +47672,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "title", - "printedName": "title", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -48610,36 +47709,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -48647,61 +47746,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_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.FulfillmentOption.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -48714,41 +47810,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_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.FulfillmentOption.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -48766,8 +47865,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -48792,8 +47891,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -48818,8 +47917,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -48839,8 +47938,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -48857,8 +47956,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -48881,8 +47980,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -48899,8 +47998,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -48909,8 +48008,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -49001,371 +48100,96 @@ "mangledName": "$ss9EscapableP" } ] - }, + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ { - "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": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "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]", - "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": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "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": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "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": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "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", - "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:)", - "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": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FulfillmentDestination", + "printedName": "FulfillmentDestination", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -49382,13 +48206,52 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "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??", + "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", @@ -49405,32 +48268,85 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date??", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "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" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -49443,32 +48359,56 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "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" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -49481,64 +48421,117 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", + "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": "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" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "lastName", + "printedName": "lastName", "children": [ { "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", "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": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeNominal", @@ -49553,93 +48546,73 @@ } ], "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", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", "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" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "LineItemTotal", - "printedName": "LineItemTotal", - "children": [ { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "postalCode", + "printedName": "postalCode", "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:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -49654,14 +48627,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:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -49672,9 +48653,9 @@ ] }, { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { "kind": "TypeNominal", @@ -49692,8 +48673,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -49722,8 +48703,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -49735,8 +48716,8 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -49746,8 +48727,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -49768,8 +48749,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -49780,176 +48761,77 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "address", + "printedName": "address", "children": [ { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", + "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.LineItemTotal.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "name", + "printedName": "name", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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": "String", @@ -49957,123 +48839,99 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", + "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.LineItemTotal.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "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(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -50082,40 +48940,12 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", - "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" - } - ] + "usr": "s:Sq" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -50124,144 +48954,91 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", - "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" + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "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" + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:displayText:type:)", - "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" }, { "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" }, { "kind": "TypeNominal", @@ -50282,38 +49059,67 @@ "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:24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", "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": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -50322,9 +49128,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -50334,8 +49140,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -50344,109 +49150,138 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_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": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", "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": "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" }, { "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:24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(amount:displayText:type:)", + "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "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, @@ -50478,233 +49313,164 @@ { "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": "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": [ + "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" }, { "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": "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": [ + "usr": "s:Sq" + }, { "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()", + "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:24EmbeddedCheckoutProtocol8LineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "item", - "printedName": "item", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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()", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "parentID", - "printedName": "parentID", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -50717,23 +49483,36 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "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()", + "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": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -50750,157 +49529,270 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "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": "Var", + "name": "addressCountry", + "printedName": "addressCountry", + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } + ] + } + ] + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", "children": [ { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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" + } + ] + } + ] } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "firstName", + "printedName": "firstName", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } + ] + } + ] + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -50908,36 +49800,73 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", + "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" } ] } @@ -50945,36 +49874,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -50982,36 +49911,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "address", + "printedName": "address", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -51019,36 +49948,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "name", + "printedName": "name", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -51056,61 +49985,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_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.LineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "usr": "s:Sq" @@ -51123,41 +50049,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_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.LineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -51175,8 +50104,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -51201,8 +50130,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51227,8 +50156,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51248,8 +50177,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51266,8 +50195,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51290,8 +50219,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51308,8 +50237,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51318,8 +50247,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -51387,399 +50316,34 @@ "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: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:)", - "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??", - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "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: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?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "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:24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -51828,24 +50392,32 @@ }, { "kind": "TypeDecl", - "name": "Item", - "printedName": "Item", + "name": "FulfillmentEvent", + "printedName": "FulfillmentEvent", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "carrier", + "printedName": "carrier", "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:24EmbeddedCheckoutProtocol4ItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -51860,14 +50432,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:24EmbeddedCheckoutProtocol4ItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51879,8 +50459,8 @@ }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeNominal", @@ -51898,8 +50478,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -51928,8 +50508,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51941,19 +50521,19 @@ }, { "kind": "Var", - "name": "price", - "printedName": "price", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -51968,14 +50548,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51987,19 +50567,27 @@ }, { "kind": "Var", - "name": "title", - "printedName": "title", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52014,14 +50602,22 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52032,337 +50628,60 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "occurredAt", + "printedName": "occurredAt", "children": [ { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "price", - "printedName": "price", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "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": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", + "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "trackingNumber", + "printedName": "trackingNumber", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -52371,16 +50690,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", + "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", @@ -52389,22 +50720,30 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] - }, + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "trackingURL", + "printedName": "trackingURL", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -52413,16 +50752,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", + "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", @@ -52431,120 +50782,138 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", + "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": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", "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", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "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" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", + "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": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:imageURL:price:title:)", + "printedName": "init(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "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", @@ -52552,6 +50921,26 @@ "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", @@ -52568,9 +50957,17 @@ }, { "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" }, { "kind": "TypeNominal", @@ -52580,35 +50977,36 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", "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": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -52617,9 +51015,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", @@ -52629,8 +51027,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -52639,98 +51037,165 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_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": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "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: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": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", "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": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "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:24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(id:imageURL:price:title:)", + "printedName": "with(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "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", @@ -52747,6 +51212,44 @@ "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", @@ -52773,13 +51276,21 @@ { "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, @@ -52802,211 +51313,365 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "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": "Var", + "name": "carrier", + "printedName": "carrier", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "description", + "printedName": "description", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": [ + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "occurredAt", + "printedName": "occurredAt", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "trackingNumber", + "printedName": "trackingNumber", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "trackingURL", + "printedName": "trackingURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", "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": [ + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -53014,45 +51679,35 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "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": [ + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -53060,33 +51715,17 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", "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" + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -53095,201 +51734,71 @@ "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": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -53298,13 +51807,40 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -53313,76 +51849,132 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", "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:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "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:24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -53431,32 +52023,24 @@ }, { "kind": "TypeDecl", - "name": "Message", - "printedName": "Message", + "name": "FulfillmentGroup", + "printedName": "FulfillmentGroup", "children": [ { "kind": "Var", - "name": "code", - "printedName": "code", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53471,22 +52055,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:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53498,19 +52074,27 @@ }, { "kind": "Var", - "name": "content", - "printedName": "content", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53525,14 +52109,22 @@ "children": [ { "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53544,27 +52136,35 @@ }, { "kind": "Var", - "name": "contentType", - "printedName": "contentType", + "name": "options", + "printedName": "options", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "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:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53580,21 +52180,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "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:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53606,8 +52214,8 @@ }, { "kind": "Var", - "name": "path", - "printedName": "path", + "name": "selectedOptionID", + "printedName": "selectedOptionID", "children": [ { "kind": "TypeNominal", @@ -53625,8 +52233,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53655,8 +52263,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53668,32 +52276,38 @@ }, { "kind": "Var", - "name": "severity", - "printedName": "severity", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -53703,86 +52317,209 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", "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()", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "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:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, { - "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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(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(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": "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": "Constructor", + "name": "init", + "printedName": "init(id:lineItemIDS:options:selectedOptionID:)", + "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]", "children": [ { "kind": "TypeNominal", @@ -53791,56 +52528,30 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "usr": "s:Sa" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "presentation", - "printedName": "presentation", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -53856,52 +52567,60 @@ "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "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:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "Var", - "name": "url", - "printedName": "url", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -53916,266 +52635,165 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Function", + "name": "with", + "printedName": "with(id:lineItemIDS:options:selectedOptionID:)", "children": [ { - "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": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { - "kind": "Var", - "name": "content", - "printedName": "content", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "contentType", - "printedName": "contentType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "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" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "path", - "printedName": "path", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "severity", - "printedName": "severity", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -54183,36 +52801,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -54220,36 +52838,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "presentation", - "printedName": "presentation", + "name": "options", + "printedName": "options", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -54257,36 +52875,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "selectedOptionID", + "printedName": "selectedOptionID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -54294,61 +52912,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_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.Message.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -54361,41 +52976,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_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.Message.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -54413,8 +53031,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -54439,8 +53057,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -54465,8 +53083,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -54486,8 +53104,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -54504,8 +53122,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -54528,8 +53146,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -54546,8 +53164,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -54556,8 +53174,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -54641,38 +53259,566 @@ "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + } + ], + "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" + }, + { + "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]?", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "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" + } + ], + "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]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + } + ], + "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": [ + { + "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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "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" + } + ], + "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", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(code:content:contentType:path:severity:type:imageURL:presentation:url:)", + "printedName": "init(_:using:)", "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" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", @@ -54682,28 +53828,75 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - } - ], - "usr": "s:Sq" + "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(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(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "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" @@ -54711,27 +53904,35 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -54740,7 +53941,7 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" }, { "kind": "TypeNominal", @@ -54758,87 +53959,97 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "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": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { "kind": "TypeNominal", "name": "Data", @@ -54846,30 +54057,32 @@ "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "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" }, { "kind": "TypeNominal", @@ -54879,205 +54092,595 @@ "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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(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": "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" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]??", + "children": [ + { + "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" + } + ], + "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": "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": "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.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": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "kind": "Var", + "name": "destinations", + "printedName": "destinations", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "groups", + "printedName": "groups", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "kind": "Var", + "name": "lineItemIDS", + "printedName": "lineItemIDS", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType??", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_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.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MessageType?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] }, { - "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -55086,21 +54689,40 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -55109,79 +54731,114 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", "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:24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", - "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:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -55230,35 +54887,35 @@ }, { "kind": "TypeDecl", - "name": "ContentType", - "printedName": "ContentType", + "name": "FulfillmentMethodType", + "printedName": "FulfillmentMethodType", "children": [ { "kind": "Var", - "name": "markdown", - "printedName": "markdown", + "name": "pickup", + "printedName": "pickup", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ] } @@ -55266,36 +54923,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "plain", - "printedName": "plain", + "name": "shipping", + "printedName": "shipping", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ] } @@ -55303,8 +54960,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -55315,13 +54972,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "usr": "s:Sq" @@ -55334,8 +54991,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55356,8 +55013,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -55374,8 +55031,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -55392,8 +55049,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55405,8 +55062,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -55493,215 +55150,307 @@ }, { "kind": "TypeDecl", - "name": "Severity", - "printedName": "Severity", + "name": "FulfillmentOption", + "printedName": "FulfillmentOption", "children": [ { "kind": "Var", - "name": "recoverable", - "printedName": "recoverable", + "name": "carrier", + "printedName": "carrier", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, + "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()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "requiresBuyerInput", - "printedName": "requiresBuyerInput", + "name": "description", + "printedName": "description", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, + "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "requiresBuyerReview", - "printedName": "requiresBuyerReview", + "name": "earliestFulfillmentTime", + "printedName": "earliestFulfillmentTime", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, + "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": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "unrecoverable", - "printedName": "unrecoverable", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "latestFulfillmentTime", + "printedName": "latestFulfillmentTime", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "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": "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" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", @@ -55711,10 +55460,14 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -55729,236 +55482,296 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "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", + "kind": "Var", + "name": "totals", + "printedName": "totals", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "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:Sa" } ], - "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": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "info", - "printedName": "info", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "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]", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "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:24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "warning", - "printedName": "warning", - "children": [ + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + "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(rawValue:)", + "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": "EmbeddedCheckoutProtocol.MessageType?", + "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": "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" @@ -55968,58 +55781,158 @@ "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:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" + "init_kind": "Designated" + }, + { + "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", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_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:24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "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:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", "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", @@ -56028,162 +55941,104 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", - "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: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" + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "with", + "printedName": "with(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "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" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "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": "OrderConfirmation", - "printedName": "OrderConfirmation", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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": "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:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "label", - "printedName": "label", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -56196,77 +56051,36 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date??", "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" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -56275,23 +56089,156 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "accessorKind": "get" + "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": "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", @@ -56300,24 +56247,61 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "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.OrderConfirmation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -56325,36 +56309,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -56362,36 +56346,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -56399,61 +56383,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_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.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" @@ -56466,41 +56447,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_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.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -56518,8 +56502,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -56542,413 +56526,46 @@ ], "usr": "s:Sq" } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", - "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", - "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", - "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": [ - { - "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(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": [ - { - "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: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", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "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: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": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "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:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -56957,18 +56574,16 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -56977,16 +56592,22 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "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", @@ -56995,76 +56616,132 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", "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:24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", - "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:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -57113,40 +56790,78 @@ }, { "kind": "TypeDecl", - "name": "Payment", - "printedName": "Payment", + "name": "Item", + "printedName": "Item", "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "imageURL", + "printedName": "imageURL", "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:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -57162,29 +56877,113 @@ { "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:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "price", + "printedName": "price", + "children": [ + { + "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": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "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:24EmbeddedCheckoutProtocol4ItemV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvp", + "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:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57192,45 +56991,166 @@ ], "accessorKind": "get" } - ] + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "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(instruments:)", + "printedName": "init(id:imageURL:price:title:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -57252,203 +57172,487 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_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": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", "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": "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" }, { "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:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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(id:imageURL:price:title:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "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": "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:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "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:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "with", - "printedName": "with(instruments:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "imageURL", + "printedName": "imageURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "price", + "printedName": "price", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "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": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "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?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "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": "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": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "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?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -57457,28 +57661,174 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "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:24EmbeddedCheckoutProtocol7PaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -57527,336 +57877,82 @@ }, { "kind": "TypeDecl", - "name": "SelectedPaymentInstrument", - "printedName": "SelectedPaymentInstrument", + "name": "JSONAny", + "printedName": "JSONAny", "children": [ { - "kind": "Var", - "name": "billingAddress", - "printedName": "billingAddress", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "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": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "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": [ - { - "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": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "display", - "printedName": "display", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", - "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "handlerID", - "printedName": "handlerID", - "children": [ + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasStorage" + "Required" ], - "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasStorage" + "Final" ], - "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "value", + "printedName": "value", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ProtocolComposition", + "printedName": "Any" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasStorage" + "Final" ], - "isLet": true, - "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -57865,437 +57961,239 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ProtocolComposition", + "printedName": "Any" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "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": "Var", - "name": "selected", - "printedName": "selected", + "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": "Optional", - "printedName": "Swift.Bool?", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "usr": "s:Sq" + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullCACycfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullCACycfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ] + "init_kind": "Designated" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { - "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": "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": "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": "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": "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": "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": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" }, { - "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": "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": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "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": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "Int", @@ -58303,402 +58201,602 @@ "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declAttributes": [ + "Final" ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "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": "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": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "int", + "printedName": "int", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", - "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" - }, + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "null", + "printedName": "null", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ] } - ], - "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" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(integerLiteral:)", + "children": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(billingAddress:credential:display:handlerID:id:type:selected:)", + "printedName": "init(stringLiteral:)", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "__derived_enum_equals", + "printedName": "__derived_enum_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - } - ], - "usr": "s:Sq" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "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": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + } + ], + "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" + }, + { + "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:24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ { "kind": "TypeNominal", "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": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO", + "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": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "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" - }, + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:SD" + ] + } + ], + "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": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasInitialValue", "HasStorage" ], + "isLet": true, "hasStorage": true, "accessors": [ { @@ -58708,126 +58806,131 @@ "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", "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" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "name": "Get", + "printedName": "Get()", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "set" + "accessorKind": "get" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", + "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -58836,9 +58939,9 @@ "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -58848,8 +58951,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58858,33 +58961,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, - { - "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -58895,9 +58991,9 @@ "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -58907,8 +59003,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58916,172 +59012,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(billingAddress:credential:display:handlerID:id:type:selected:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, - { - "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": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "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": "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" + "name": "Void", + "printedName": "()" }, { "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" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -59097,8 +59048,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59132,284 +59083,130 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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", - "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()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(type:)", + "kind": "Function", + "name": "with", + "printedName": "with(amount:displayText:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "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": [ - { - "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: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]", - "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" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ] } @@ -59417,61 +59214,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_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.PaymentCredential.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -59484,41 +59278,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_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.PaymentCredential.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -59536,8 +59333,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -59562,8 +59359,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59588,8 +59385,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -59609,8 +59406,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59627,8 +59424,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -59651,8 +59448,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59669,8 +59466,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -59679,8 +59476,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -59771,55 +59568,356 @@ "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": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "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": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "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": "()" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "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:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -59828,9 +59926,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -59840,8 +59938,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59850,33 +59948,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - }, - { - "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:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -59887,9 +59978,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -59899,23 +59990,35 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(type:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(id:item:parentID:quantity:totals:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "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", @@ -59929,15 +60032,58 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "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:24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -59953,8 +60099,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59988,430 +60134,670 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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", + "kind": "Function", + "name": "with", + "printedName": "with(id:item:parentID:quantity:totals:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "TypeNominal", + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Item?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "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": "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?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "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:24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "item", + "printedName": "item", + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "parentID", + "printedName": "parentID", + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "completeInProgress", - "printedName": "completeInProgress", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "completed", - "printedName": "completed", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "incomplete", - "printedName": "incomplete", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "readyForComplete", - "printedName": "readyForComplete", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "requiresEscalation", - "printedName": "requiresEscalation", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", + "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": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "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:24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", - "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:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol0B6StatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV", "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", @@ -60458,13 +60844,13 @@ }, { "kind": "TypeDecl", - "name": "CheckoutTotal", - "printedName": "CheckoutTotal", + "name": "LineItemQuantity", + "printedName": "LineItemQuantity", "children": [ { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "fulfilled", + "printedName": "fulfilled", "children": [ { "kind": "TypeNominal", @@ -60474,8 +60860,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60496,8 +60882,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60509,27 +60895,27 @@ }, { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "original", + "printedName": "original", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60545,21 +60931,21 @@ { "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:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60571,19 +60957,19 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "total", + "printedName": "total", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60598,14 +60984,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60616,291 +61002,592 @@ ] }, { - "kind": "Var", - "name": "lines", - "printedName": "lines", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "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:24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "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": "Constructor", + "name": "init", + "printedName": "init(fulfilled:original:total:)", "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", - "children": [ - { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "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:24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", + "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: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": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", - "children": [ - { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "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": "Var", - "name": "amount", - "printedName": "amount", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "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": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "partial", + "printedName": "partial", + "children": [ { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "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": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "processing", + "printedName": "processing", + "children": [ { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "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": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "removed", + "printedName": "removed", + "children": [ { - "kind": "Var", - "name": "lines", - "printedName": "lines", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "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": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "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": "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": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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": "String", @@ -60908,48 +61595,47 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, - { - "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" - } + "declAttributes": [ + "Inlinable" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO", + "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": "TypeAlias", + "kind": "TypeWitness", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -60959,114 +61645,116 @@ "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.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", - "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" - } ] - }, + } + ], + "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": "LineItemTotal", + "printedName": "LineItemTotal", + "children": [ + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", "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" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "displayText", + "printedName": "displayText", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -61075,64 +61763,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", "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", @@ -61140,84 +61792,48 @@ "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:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:displayText:type:lines:)", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", + "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", @@ -61226,7 +61842,28 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -61236,82 +61873,62 @@ }, { "kind": "TypeNominal", - "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" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV_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:type:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "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": [ + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -61321,9 +61938,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -61333,8 +61950,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61343,33 +61960,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "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:24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -61380,9 +61990,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -61392,8 +62002,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61401,105 +62011,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(amount:displayText:type:lines:)", + "name": "encode", + "printedName": "encode(to:)", "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": [ - { - "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.Line]??", - "children": [ - { - "kind": "TypeNominal", - "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" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -61515,8 +62047,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61550,94 +62082,28 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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", + "kind": "Function", + "name": "with", + "printedName": "with(amount:displayText:type:)", "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": [ + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", @@ -61646,44 +62112,36 @@ "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -61692,17 +62150,16 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -61717,24 +62174,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ] } @@ -61742,8 +62199,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -61754,24 +62211,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ] } @@ -61779,61 +62236,95 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_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.Line.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ], "usr": "s:Sq" @@ -61846,41 +62337,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_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.Line.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -61898,8 +62392,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -61924,8 +62418,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -61950,8 +62444,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -61971,8 +62465,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -61989,8 +62483,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62013,8 +62507,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -62031,8 +62525,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -62041,35 +62535,193 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", + "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: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": "Link", + "printedName": "Link", + "children": [ + { + "kind": "Var", + "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" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", "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", @@ -62077,80 +62729,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:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:displayText:)", + "kind": "Var", + "name": "type", + "printedName": "type", "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", @@ -62158,60 +62757,116 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "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:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "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:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_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": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "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:24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -62222,9 +62877,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -62234,8 +62889,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62244,33 +62899,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "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:24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -62281,9 +62929,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -62293,38 +62941,23 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(amount:displayText:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(title:type:url:)", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -62338,15 +62971,50 @@ "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:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -62362,8 +63030,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62397,17 +63065,89 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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:24EmbeddedCheckoutProtocol4LineV", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -62456,46 +63196,32 @@ }, { "kind": "TypeDecl", - "name": "CapabilityResponseSchema", - "printedName": "CapabilityResponseSchema", + "name": "Message", + "printedName": "Message", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "code", + "printedName": "code", "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62511,35 +63237,67 @@ { "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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62551,27 +63309,27 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "contentType", + "printedName": "contentType", "children": [ { "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62587,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:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62613,8 +63371,8 @@ }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "path", + "printedName": "path", "children": [ { "kind": "TypeNominal", @@ -62632,8 +63390,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62662,8 +63420,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62675,27 +63433,27 @@ }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "severity", + "printedName": "severity", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62711,21 +63469,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62737,19 +63495,19 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62764,14 +63522,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62783,27 +63541,27 @@ }, { "kind": "Var", - "name": "extends", - "printedName": "extends", + "name": "imageURL", + "printedName": "imageURL", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62819,21 +63577,21 @@ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62844,44 +63602,10 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:extends:)", + "kind": "Var", + "name": "presentation", + "printedName": "presentation", "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - }, - { - "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", @@ -62895,21 +63619,55 @@ } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "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", @@ -62923,110 +63681,49 @@ } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { "kind": "Constructor", @@ -63035,9 +63732,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -63054,8 +63751,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -63064,144 +63761,94 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(code:content:contentType:path:severity:type:imageURL:presentation:url:)", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "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": [ + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", "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": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } ], - "hasDefaultArg": true, "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], - "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": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { @@ -63216,45 +63863,40 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends??", + "printedName": "Swift.String?", "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", "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": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + }, { "kind": "TypeNominal", "name": "Data", @@ -63262,234 +63904,63 @@ "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_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": "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": 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": [ - { - "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Extends.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } - ] - } - ] - } - ], - "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": [ - { - "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Extends.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", - "moduleName": "EmbeddedCheckoutProtocol" + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -63511,209 +63982,102 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_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": "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": "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": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PaymentHandlerResponseSchema", - "printedName": "PaymentHandlerResponseSchema", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(code:content:contentType:path:severity:type:imageURL:presentation:url:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "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": "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -63726,23 +64090,36 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "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()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -63759,52 +64136,51 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", - "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", @@ -63821,173 +64197,168 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", - "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": 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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "code", + "printedName": "code", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "content", + "printedName": "content", + "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "contentType", + "printedName": "contentType", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -63995,36 +64366,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "path", + "printedName": "path", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -64032,36 +64403,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "severity", + "printedName": "severity", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -64069,36 +64440,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -64106,36 +64477,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -64143,36 +64514,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "name": "presentation", + "printedName": "presentation", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -64180,61 +64551,95 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "url", + "printedName": "url", + "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_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.PaymentHandlerResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -64247,41 +64652,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_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.PaymentHandlerResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -64299,8 +64707,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -64325,8 +64733,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -64351,8 +64759,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -64372,8 +64780,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -64390,8 +64798,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -64414,8 +64822,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -64432,8 +64840,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -64442,8 +64850,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -64534,42 +64942,488 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "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": "MessageType", + "printedName": "MessageType", + "children": [ + { + "kind": "Var", + "name": "error", + "printedName": "error", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "info", + "printedName": "info", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "warning", + "printedName": "warning", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.MessageType?", + "children": [ + { + "kind": "TypeNominal", + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + } + ], + "usr": "s:Sq" + }, + { + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "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": [ + { + "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": "MethodType", + "printedName": "MethodType", + "children": [ + { + "kind": "Var", + "name": "digital", + "printedName": "digital", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "pickup", + "printedName": "pickup", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "shipping", + "printedName": "shipping", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "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" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], "usr": "s:Sq" @@ -64579,11 +65433,58 @@ "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -64592,12 +65493,137 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "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": [ + { + "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": "NotificationDescriptor", + "printedName": "NotificationDescriptor", + "children": [ + { + "kind": "Var", + "name": "method", + "printedName": "method", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -64606,7 +65632,41 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(method:decode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" }, { "kind": "TypeNominal", @@ -64615,121 +65675,285 @@ "usr": "s:SS" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data) throws -> Payload", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - } - ], - "usr": "s:Sa" + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ], - "usr": "s:Sq" + ] } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": ">", + "isFromExtension": true, "init_kind": "Designated" }, { "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "name": "map", + "printedName": "map(_:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" }, { - "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, + "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": "Constructor", - "name": "init", - "printedName": "init(from:)", + "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": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, + "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", + "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:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", + "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:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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:)", + "printedName": "init(jsonrpc:method:params:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" }, { "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" + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" }, { "kind": "TypeNominal", @@ -64739,142 +65963,158 @@ }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "GenericTypeParam", + "printedName": "Payload" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, + "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": "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": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:availableInstruments:)", + "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": "Order", + "printedName": "Order", + "children": [ + { + "kind": "Var", + "name": "adjustments", + "printedName": "adjustments", "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", "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": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" } ], - "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" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", + "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": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" - }, + "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??", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "String", @@ -64882,95 +66122,94 @@ "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" + "usr": "s:SD" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "checkoutID", + "printedName": "checkoutID", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", "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", @@ -64979,116 +66218,79 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "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", - "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: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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65103,36 +66305,14 @@ "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": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65144,8 +66324,8 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -65155,8 +66335,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65177,8 +66357,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65189,537 +66369,451 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(constraints:type:)", + "kind": "Var", + "name": "label", + "printedName": "label", "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "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" - }, - { - "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", "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" - } + "declAttributes": [ + "HasStorage" ], - "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" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "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:)", + "kind": "Var", + "name": "messages", + "printedName": "messages", "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" + "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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", "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" - } + "declAttributes": [ + "HasStorage" ], - "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" - }, + "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.Message]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], - "usr": "s:SD" + "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "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" + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", "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": "Transport", - "printedName": "Transport", - "children": [ - { - "kind": "Var", - "name": "a2A", - "printedName": "a2A", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "embedded", - "printedName": "embedded", + "name": "totals", + "printedName": "totals", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - }, + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "mcp", - "printedName": "mcp", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "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()", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ] + "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": "TypeNominal", + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + }, + { + "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:24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rest", - "printedName": "rest", + "kind": "Constructor", + "name": "init", + "printedName": "init(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "kind": "TypeNominal", + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" } - ] + ], + "usr": "s:Sa" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "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" @@ -65729,58 +66823,29 @@ "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": "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": "TypeNominal", + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -65789,416 +66854,250 @@ "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": "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", + "kind": "TypeNominal", + "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: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": [ + ], + "usr": "s:Sa" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Var", - "name": "success", - "printedName": "success", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "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": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": 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:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "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" + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "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" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Order", - "printedName": "Order", - "children": [ - { - "kind": "Var", - "name": "adjustments", - "printedName": "adjustments", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "printedName": "Swift.String?", "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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]??", "children": [ { "kind": "TypeNominal", @@ -66223,66 +67122,13 @@ "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[Swift.String : Swift.String]??", "children": [ { "kind": "TypeNominal", @@ -66313,182 +67159,28 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "checkoutID", - "printedName": "checkoutID", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", - "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:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "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()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "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" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", - "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": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -66497,23 +67189,24 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "label", - "printedName": "label", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -66526,23 +67219,13 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", - "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", @@ -66559,52 +67242,13 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", - "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.OrderLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]?", "children": [ { "kind": "TypeNominal", @@ -66621,60 +67265,13 @@ "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", - "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]?", - "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:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "children": [ { "kind": "TypeNominal", @@ -66699,44 +67296,13 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -66745,52 +67311,13 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", - "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.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", "children": [ { "kind": "TypeNominal", @@ -66807,44 +67334,13 @@ "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", "children": [ { "kind": "TypeNominal", @@ -66853,17 +67349,16 @@ "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -66871,157 +67366,9 @@ "printedName": "CodingKeys", "children": [ { - "kind": "Var", - "name": "adjustments", - "printedName": "adjustments", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", - "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: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": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "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": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "kind": "Var", + "name": "adjustments", + "printedName": "adjustments", "children": [ { "kind": "TypeFunc", @@ -67051,14 +67398,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "attribution", + "printedName": "attribution", "children": [ { "kind": "TypeFunc", @@ -67088,14 +67435,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "checkoutID", + "printedName": "checkoutID", "children": [ { "kind": "TypeFunc", @@ -67125,14 +67472,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeFunc", @@ -67162,14 +67509,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeFunc", @@ -67199,14 +67546,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", @@ -67236,14 +67583,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeFunc", @@ -67273,14 +67620,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeFunc", @@ -67309,750 +67656,211 @@ ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "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": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", - "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: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": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", - "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(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "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" - }, - { - "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" - }, - { - "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" - }, - { - "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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "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:Sa" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "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:Sa" + ] } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "kind": "Var", + "name": "totals", + "printedName": "totals", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "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:Sa" - }, - { - "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", - "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:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "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:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_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:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]??", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", "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": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_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.Order.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -68060,14 +67868,35 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_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": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -68075,28 +67904,17 @@ "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" + "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", @@ -68105,90 +67923,71 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "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": "[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" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "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", @@ -68197,109 +67996,169 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", "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:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", - "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:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", @@ -68353,71 +68212,9 @@ }, { "kind": "TypeDecl", - "name": "Adjustment", - "printedName": "Adjustment", + "name": "OrderConfirmation", + "printedName": "OrderConfirmation", "children": [ - { - "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": "Var", "name": "id", @@ -68431,8 +68228,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68453,8 +68250,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68466,35 +68263,27 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "label", + "printedName": "label", "children": [ { "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68510,29 +68299,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", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68544,19 +68325,19 @@ }, { "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68571,14 +68352,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68589,155 +68370,214 @@ ] }, { - "kind": "Var", - "name": "status", - "printedName": "status", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + }, + { + "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:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "isFromExtension": 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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "totals", - "printedName": "totals", + "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": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "printedName": "Swift.String?", "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" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "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" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", - "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:24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "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:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "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", @@ -68746,197 +68586,127 @@ "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:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Function", + "name": "with", + "printedName": "with(id:label:permalinkURL:)", "children": [ { - "kind": "Var", - "name": "description", - "printedName": "description", - "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" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "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:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "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:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "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:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -68944,36 +68714,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -68981,36 +68751,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -69018,61 +68788,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_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.Adjustment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" @@ -69085,41 +68852,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_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.Adjustment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -69137,8 +68907,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -69163,8 +68933,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -69189,8 +68959,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -69210,8 +68980,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -69228,8 +68998,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69252,8 +69022,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -69270,8 +69040,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -69280,8 +69050,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -69372,22 +69142,88 @@ "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(description:id:lineItems:occurredAt:status:totals:type:)", + "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": "OrderLineItem", + "printedName": "OrderLineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "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", @@ -69396,52 +69232,252 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "item", + "printedName": "item", + "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "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" + } + ] + }, + { + "kind": "Var", + "name": "parentID", + "printedName": "parentID", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "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": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "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": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - }, + "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": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -69458,45 +69494,76 @@ "usr": "s:Sa" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "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:24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", + "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:24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_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", @@ -69505,9 +69572,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -69517,8 +69584,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69527,24 +69594,24 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "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:24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69553,13 +69620,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(id:item:parentID:quantity:status:totals:)", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -69569,75 +69636,158 @@ }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "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": "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:24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", + "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:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", "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": "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": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(description:id:lineItems:occurredAt:status:totals:type:)", + "printedName": "with(id:item:parentID:quantity:status:totals:)", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "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" } ], "hasDefaultArg": true, @@ -69646,13 +69796,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Item?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" } ], "hasDefaultArg": true, @@ -69661,26 +69811,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]??", + "printedName": "Swift.String??", "children": [ { "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" @@ -69692,13 +69834,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" } ], "hasDefaultArg": true, @@ -69707,13 +69849,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], "hasDefaultArg": true, @@ -69722,44 +69864,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]??", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "name": "Array", + "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" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "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" + "usr": "s:Sa" } ], "hasDefaultArg": true, @@ -69767,195 +69886,258 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", - "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:24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": 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": "Var", + "name": "item", + "printedName": "item", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "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": "parentID", + "printedName": "parentID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "quantity", + "printedName": "quantity", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "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": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Int", @@ -69963,200 +70145,32 @@ "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "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": "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(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(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - }, - { - "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: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" - }, - { - "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": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -70164,61 +70178,53 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_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.OrderLineItem.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "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": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -70227,330 +70233,249 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "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" - } - ], - "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": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "failed", - "printedName": "failed", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "pending", - "printedName": "pending", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", + "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": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "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:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", - "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:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol16AdjustmentStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", "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", @@ -70597,107 +70522,29 @@ }, { "kind": "TypeDecl", - "name": "Fulfillment", - "printedName": "Fulfillment", + "name": "Payment", + "printedName": "Payment", "children": [ { "kind": "Var", - "name": "events", - "printedName": "events", - "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "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": "Var", - "name": "expectations", - "printedName": "expectations", + "name": "instruments", + "printedName": "instruments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], "usr": "s:Sa" @@ -70707,8 +70554,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -70724,18 +70571,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], "usr": "s:Sa" @@ -70745,8 +70592,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -70759,113 +70606,33 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(events:expectations:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - }, - { - "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" - }, - { - "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "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: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" + "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:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -70876,9 +70643,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -70888,8 +70655,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70898,33 +70665,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - }, - { - "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:24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -70935,9 +70695,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -70947,92 +70707,76 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(events:expectations:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(instruments:)", "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]??", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - } - ], - "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": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", - "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -71048,8 +70792,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -71083,17 +70827,67 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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:24EmbeddedCheckoutProtocol11FulfillmentV", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -71142,32 +70936,24 @@ }, { "kind": "TypeDecl", - "name": "FulfillmentEvent", - "printedName": "FulfillmentEvent", + "name": "PaymentCredential", + "printedName": "PaymentCredential", "children": [ { "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71182,22 +70968,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:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71209,32 +70987,38 @@ }, { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -71244,251 +71028,260 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", "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:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - } - ], - "usr": "s:Sa" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "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": "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": "occurredAt", - "printedName": "occurredAt", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "trackingNumber", - "printedName": "trackingNumber", + "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" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", "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:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "trackingURL", - "printedName": "trackingURL", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -71503,76 +71296,38 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Function", + "name": "with", + "printedName": "with(type:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -71581,282 +71336,22 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", - "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", "name": "CodingKeys", "printedName": "CodingKeys", "children": [ - { - "kind": "Var", - "name": "carrier", - "printedName": "carrier", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "description", - "printedName": "description", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO9lineItemsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "trackingNumber", - "printedName": "trackingNumber", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "trackingURL", - "printedName": "trackingURL", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, { "kind": "Var", "name": "type", @@ -71865,24 +71360,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ] } @@ -71890,61 +71385,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_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.FulfillmentEvent.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -71957,41 +71449,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_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.FulfillmentEvent.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -72009,8 +71504,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -72035,8 +71530,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -72061,8 +71556,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -72082,8 +71577,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -72100,8 +71595,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72124,8 +71619,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -72142,8 +71637,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -72152,8 +71647,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -72244,310 +71739,178 @@ "mangledName": "$ss9EscapableP" } ] - }, + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ { - "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": "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:24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_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": "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": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "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": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "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": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "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": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PaymentHandlerResponseSchema", + "printedName": "PaymentHandlerResponseSchema", + "children": [ { - "kind": "Function", - "name": "with", - "printedName": "with(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", + "kind": "Var", + "name": "config", + "printedName": "config", "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "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": "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "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", @@ -72556,74 +71919,52 @@ "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" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ { "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", + "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", @@ -72640,9 +71981,23 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "spec", + "printedName": "spec", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -72655,131 +72010,55 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "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": "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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV", - "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": "EventLineItem", - "printedName": "EventLineItem", - "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", @@ -72789,8 +72068,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72811,8 +72090,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72824,19 +72103,35 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72851,14 +72146,30 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72871,13 +72182,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:quantity:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -72887,66 +72198,126 @@ }, { "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:24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:availableInstruments:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "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": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "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" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -72956,9 +72327,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -72968,8 +72339,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72978,33 +72349,26 @@ { "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": "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:24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -73015,9 +72379,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -73027,8 +72391,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73036,51 +72400,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(id:quantity:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - }, - { - "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.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -73096,8 +72436,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73131,73 +72471,61 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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(config:id:schema:spec:version:availableInstruments:)", "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + }, + { + "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", @@ -73210,23 +72538,13 @@ "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", @@ -73243,98 +72561,13 @@ "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" - } - ], - "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": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -73351,44 +72584,13 @@ "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -73397,125 +72599,47 @@ "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": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + } + ], + "usr": "s:Sa" } ], - "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", "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", @@ -73524,30 +72648,30 @@ "children": [ { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73555,36 +72679,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "destination", - "printedName": "destination", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73592,36 +72716,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73629,36 +72753,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73666,36 +72790,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73703,36 +72827,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "methodType", - "printedName": "methodType", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73740,61 +72864,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_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.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -73807,41 +72928,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_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.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -73859,8 +72983,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -73885,8 +73009,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -73907,466 +73031,40 @@ "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", - "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(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" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -74375,16 +73073,22 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "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", @@ -74393,114 +73097,132 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "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" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", "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:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", - "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:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -74549,24 +73271,46 @@ }, { "kind": "TypeDecl", - "name": "ExpectationLineItem", - "printedName": "ExpectationLineItem", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "PaymentHandlerResponseSchemaAvailableInstrument", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "constraints", + "printedName": "constraints", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74581,14 +73325,36 @@ "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:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74600,19 +73366,19 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74627,14 +73393,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74647,13 +73413,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:quantity:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -74663,66 +73429,70 @@ }, { "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:24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(constraints:type:)", "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" - } - ], - "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" + "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": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -74732,9 +73502,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -74744,8 +73514,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74754,33 +73524,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "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:24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -74791,9 +73554,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -74803,8 +73566,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74812,51 +73575,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(id:quantity:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -74872,8 +73611,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74907,17 +73646,88 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" + }, + { + "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]?", + "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": "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:24EmbeddedCheckoutProtocol19ExpectationLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -74966,191 +73776,410 @@ }, { "kind": "TypeDecl", - "name": "MethodType", - "printedName": "MethodType", + "name": "PostalAddress", + "printedName": "PostalAddress", "children": [ { "kind": "Var", - "name": "digital", - "printedName": "digital", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, + "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", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "pickup", - "printedName": "pickup", + "name": "addressLocality", + "printedName": "addressLocality", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "shipping", - "printedName": "shipping", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, + "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MethodType?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "init_kind": "Designated" + "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": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "firstName", + "printedName": "firstName", "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": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "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:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "lastName", + "printedName": "lastName", "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:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", + "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: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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -75159,54 +74188,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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "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", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -75214,76 +74229,13 @@ "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": "OrderLineItem", - "printedName": "OrderLineItem", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -75298,14 +74250,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:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75317,19 +74277,27 @@ }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -75344,14 +74312,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75362,9 +74338,309 @@ ] }, { - "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "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(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": "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(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(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_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: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": "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": [ { "kind": "TypeNominal", @@ -75379,22 +74655,38 @@ } ], "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:24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", + "children": [ { - "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", @@ -75411,171 +74703,200 @@ "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": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "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": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "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": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "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": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -75584,30 +74905,30 @@ "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -75615,36 +74936,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "addressLocality", + "printedName": "addressLocality", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -75652,36 +74973,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -75689,36 +75010,147 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "extendedAddress", + "printedName": "extendedAddress", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "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" } ] } @@ -75726,36 +75158,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -75763,36 +75195,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -75800,61 +75232,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "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:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_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.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "usr": "s:Sq" @@ -75867,41 +75296,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_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.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -75919,8 +75351,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -75945,8 +75377,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -75971,8 +75403,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -75992,8 +75424,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -76010,8 +75442,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -76034,8 +75466,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -76052,8 +75484,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -76062,8 +75494,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -76154,228 +75586,88 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV", + "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:)", - "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?", - "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": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", - "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:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_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": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_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": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_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": "RequestDescriptor", + "printedName": "RequestDescriptor", + "children": [ + { + "kind": "Var", + "name": "method", + "printedName": "method", "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:24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(id:item:parentID:quantity:status:totals:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -76384,28 +75676,53 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "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", "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:24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvp", + "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", @@ -76422,145 +75739,155 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(method:delegation:decode:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Result" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "printedName": "Swift.String?", "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" } ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorVA2A0D7MessageVyxGRs_rlE6method10delegation6decodeACyxAFq0_GSS_SSSgx10Foundation4DataVYbKctcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorVA2A0D7MessageVyxGRs_rlE6method10delegation6decodeACyxAFq0_GSS_SSSgx10Foundation4DataVYbKctcfc", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": ", Result : EmbeddedCheckoutProtocol.ResponsePayload>", "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "name": "map", + "printedName": "map(_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Result" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Handler) -> Mapped", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + } + ] } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV3mapyACyxqd__q0_Gqd__q_YbclF", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV3mapyACyxqd__q0_Gqd__q_YbclF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, + "genericSig": "", "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV", "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", @@ -76593,24 +75920,24 @@ }, { "kind": "TypeDecl", - "name": "LineItemQuantity", - "printedName": "LineItemQuantity", + "name": "RequestMessage", + "printedName": "RequestMessage", "children": [ { "kind": "Var", - "name": "fulfilled", - "printedName": "fulfilled", + "name": "jsonrpc", + "printedName": "jsonrpc", "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:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -76625,15 +75952,16 @@ "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:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -76644,27 +75972,19 @@ }, { "kind": "Var", - "name": "original", - "printedName": "original", + "name": "method", + "printedName": "method", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -76679,23 +75999,16 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -76706,19 +76019,19 @@ }, { "kind": "Var", - "name": "total", - "printedName": "total", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -76733,15 +76046,16 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvg", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -76751,332 +76065,107 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fulfilled:original:total:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "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": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "params", + "printedName": "params", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } + "declAttributes": [ + "HasStorage" ], - "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": "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" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int??", + "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" + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "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" + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", - "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" + { + "kind": "TypeNominal", + "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:24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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:24EmbeddedCheckoutProtocol16LineItemQuantityV", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV", + "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", @@ -77109,176 +76198,321 @@ }, { "kind": "TypeDecl", - "name": "LineItemStatus", - "printedName": "LineItemStatus", + "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": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "SelectedPaymentInstrument", + "printedName": "SelectedPaymentInstrument", "children": [ { "kind": "Var", - "name": "fulfilled", - "printedName": "fulfilled", + "name": "billingAddress", + "printedName": "billingAddress", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + "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": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "partial", - "printedName": "partial", + "name": "credential", + "printedName": "credential", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + "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": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "processing", - "printedName": "processing", + "name": "display", + "printedName": "display", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "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:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "removed", - "printedName": "removed", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "handlerID", + "printedName": "handlerID", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "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": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "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", @@ -77286,20 +76520,44 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "init_kind": "Designated" + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -77308,29 +76566,69 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "selected", + "printedName": "selected", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -77339,130 +76637,76 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO", - "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": "additionalProperties", + "printedName": "additionalProperties", "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": "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": "UCPOrderResponseSchema", - "printedName": "UCPOrderResponseSchema", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "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]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -77472,103 +76716,148 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, { "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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": "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "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": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "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": [ + { + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -77578,155 +76867,282 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "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", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(billingAddress:credential:display:handlerID:id:type:selected:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "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": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", "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": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "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()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -77736,17 +77152,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -77755,106 +77163,43 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", - "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.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", - "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -77863,17 +77208,39 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -77882,30 +77249,30 @@ "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "billingAddress", + "printedName": "billingAddress", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -77913,36 +77280,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -77950,36 +77317,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "display", + "printedName": "display", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -77987,36 +77354,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "handlerID", + "printedName": "handlerID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -78024,36 +77391,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO9handlerIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO9handlerIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ] } @@ -78061,61 +77428,132 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "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": "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(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_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.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "usr": "s:Sq" @@ -78128,41 +77566,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_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.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "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:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -78180,8 +77621,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -78206,8 +77647,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -78232,8 +77673,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -78253,8 +77694,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -78271,8 +77712,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -78295,8 +77736,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -78313,8 +77754,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -78323,8 +77764,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -78380,62 +77821,580 @@ "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, + "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: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": "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", + "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: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" + } + ] + }, + { + "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: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" + } + ] + }, + { + "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: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" + } + ] + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endpoint", + "printedName": "endpoint", + "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:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", + "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: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": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", + "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": "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": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { - "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:24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -78445,17 +78404,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -78466,35 +78417,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "Swift.String?", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -78502,35 +78431,13 @@ { "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" @@ -78538,13 +78445,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -78554,38 +78461,59 @@ "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_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", @@ -78594,9 +78522,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", @@ -78606,8 +78534,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -78616,113 +78544,134 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_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": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_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": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_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(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -78732,17 +78681,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -78757,40 +78698,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "Swift.String?", "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -78802,40 +78721,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]??", + "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" @@ -78847,74 +78744,26 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String?", "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": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", - "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -78927,28 +78776,59 @@ "usr": "s:SS" } ], + "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" + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -78997,289 +78877,215 @@ }, { "kind": "TypeDecl", - "name": "Service", - "printedName": "Service", + "name": "Severity", + "printedName": "Severity", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "recoverable", + "printedName": "recoverable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "requiresBuyerInput", + "printedName": "requiresBuyerInput", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.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": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "requiresBuyerReview", + "printedName": "requiresBuyerReview", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "String", - "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": [ + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "unrecoverable", + "printedName": "unrecoverable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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": [ + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", + "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.Severity?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4specSSSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -79289,14 +79095,10 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -79311,202 +79113,273 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "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": [ + { + "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": "Transport", + "printedName": "Transport", + "children": [ { "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", + "name": "a2A", + "printedName": "a2A", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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": [ + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "transport", - "printedName": "transport", + "name": "embedded", + "printedName": "embedded", "children": [ { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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.Transport.Type", + "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" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", + "kind": "Var", + "name": "mcp", + "printedName": "mcp", "children": [ { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "rest", + "printedName": "rest", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ] } - ], - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Transport?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "usr": "s:Sq" @@ -79516,377 +79389,321 @@ "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:24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_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:24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_tcfc", "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" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } + "declAttributes": [ + "Inlinable" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8RawValuea", "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": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, { "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:24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", "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: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(fromURL:)", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, - { - "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:24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", + "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": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", "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": [ + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", "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" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "success", + "printedName": "success", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", "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": [ + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", "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" + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], - "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", "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:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -79895,30 +79712,62 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV", + "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" + }, + { + "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", @@ -79965,163 +79814,356 @@ }, { "kind": "TypeDecl", - "name": "JSONNull", - "printedName": "JSONNull", + "name": "UCPOrderResponseSchema", + "printedName": "UCPOrderResponseSchema", "children": [ { - "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": "hash", - "printedName": "hash(into:)", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "Final" + "HasStorage" ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + "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" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullCACycfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullCACycfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "Required" + "HasStorage" ], - "throwing": true, - "init_kind": "Designated" + "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": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "Final" + "HasStorage" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "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" + } + ] }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Final" + "HasStorage" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -80130,113 +80172,52 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Final" + "Transparent" ], "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": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "JSONAny", - "printedName": "JSONAny", - "children": [ { "kind": "Var", - "name": "value", - "printedName": "value", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "Any" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "Final" + "HasStorage" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -80245,16 +80226,18 @@ "children": [ { "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "Any" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "Final" + "Transparent" ], "accessorKind": "get" } @@ -80263,263 +80246,168 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "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:24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Required" - ], + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "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" - } - ], - "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": "JSONRPCID", - "printedName": "JSONRPCID", - "children": [ - { - "kind": "Var", - "name": "string", - "printedName": "string", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "int", - "printedName": "int", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" + "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "null", - "printedName": "null", - "children": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> EmbeddedCheckoutProtocol.JSONRPCID", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "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": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringLiteral:)", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -80529,33 +80417,35 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(integerLiteral:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -80565,9 +80455,9 @@ "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", @@ -80577,367 +80467,93 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", - "children": [ - { - "kind": "TypeNominal", - "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": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "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 - }, - { - "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" - }, - { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - } - ], - "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", - "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": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "ExpressibleByStringLiteral", - "printedName": "ExpressibleByStringLiteral", - "children": [ - { - "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": "ExpressibleByIntegerLiteral", - "printedName": "ExpressibleByIntegerLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "IntegerLiteralType", - "printedName": "IntegerLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" - } - ] - } - ], - "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" - } - ] - } - ], - "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": "NotificationMessage", - "printedName": "NotificationMessage", - "children": [ - { - "kind": "Var", - "name": "jsonrpc", - "printedName": "jsonrpc", - "children": [ - { - "kind": "TypeNominal", - "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", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "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", @@ -80946,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", @@ -81124,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", @@ -81171,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", @@ -81366,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 16bf3e4ed..c4ae5bf30 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -138,676 +138,604 @@ "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": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, { - "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": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" }, { - "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": "TypeNominal", + "name": "EntryPoint", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" }, { - "kind": "Var", - "name": "cartExpired", - "printedName": "cartExpired", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "CheckoutDelegate", + "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "cartCompleted", - "printedName": "cartCompleted", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "CheckoutCommunicationProtocol", + "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit7present8checkout4from10entryPoint8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewL0CAA8MetaDataO05EntryH0OAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", + "mangledName": "$s18ShopifyCheckoutKit7present8checkout4from10entryPoint8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewL0CAA8MetaDataO05EntryH0OAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", + "moduleName": "ShopifyCheckoutKit", + "isInternal": true, + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CheckoutCommunicationProtocol", + "printedName": "CheckoutCommunicationProtocol", + "children": [ { - "kind": "Var", - "name": "invalidCart", - "printedName": "invalidCart", + "kind": "Function", + "name": "process", + "printedName": "process(_:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "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": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "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": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Var", - "name": "networkError", - "printedName": "networkError", + "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": "CheckoutConfigurable", + "printedName": "CheckoutConfigurable", + "children": [ + { + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "webContentProcessTerminated", - "printedName": "webContentProcessTerminated", + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "sdkError", - "printedName": "sdkError", + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "unknown", - "printedName": "unknown", + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode?", + "printedName": "UIKit.UIColor?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", "moduleName": "ShopifyCheckoutKit", - "implicit": true, + "genericSig": "", + "protocolReq": true, "declAttributes": [ - "Inlinable" + "Custom" ], - "init_kind": "Designated" + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "AllCases", - "printedName": "AllCases", + "kind": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "UIKit.UIColor?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", "moduleName": "ShopifyCheckoutKit", - "implicit": true + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "tintColor", + "printedName": "tintColor(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", "moduleName": "ShopifyCheckoutKit", - "implicit": true + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "allCases", - "printedName": "allCases", + "kind": "Function", + "name": "tintColor", + "printedName": "tintColor(_:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "usr": "s:Sa" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, + "genericSig": "", "declAttributes": [ - "Nonisolated" + "DiscardableResult", + "Custom" ], - "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" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "title", + "printedName": "title(_:)", "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, { "kind": "TypeNominal", "name": "String", @@ -815,137 +743,136 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", "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" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", - "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" + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "title", + "printedName": "title(_:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "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:18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Custom" + ], + "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", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutDelegate", + "printedName": "CheckoutDelegate", + "children": [ + { + "kind": "Function", + "name": "checkoutDidDismiss", + "printedName": "checkoutDidDismiss()", "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" - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ], - "usr": "s:s12CaseIterableP", - "mangledName": "$ss12CaseIterableP" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "kind": "Function", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail(error:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "conformances": [ { "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", @@ -953,13 +880,6 @@ "printedName": "Copyable", "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" } ] }, @@ -1349,550 +1269,488 @@ }, { "kind": "TypeDecl", - "name": "CheckoutProtocol", - "printedName": "CheckoutProtocol", + "name": "CheckoutErrorCode", + "printedName": "CheckoutErrorCode", "children": [ - { - "kind": "TypeAlias", - "name": "Client", - "printedName": "Client", - "children": [ - { - "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Function", - "name": "url", - "printedName": "url(for:)", - "children": [ - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "complete", - "printedName": "complete", + "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": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "customerAccountRequired", + "printedName": "customerAccountRequired", + "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "error", - "printedName": "error", + "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": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", - "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": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "fulfillmentChange", - "printedName": "fulfillmentChange", + "name": "invalidCart", + "printedName": "invalidCart", "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "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": "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "lineItemsChange", - "printedName": "lineItemsChange", + "name": "networkError", + "printedName": "networkError", "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "webContentProcessTerminated", + "printedName": "webContentProcessTerminated", + "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", + "name": "sdkError", + "printedName": "sdkError", "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { - "kind": "Var", - "name": "start", - "printedName": "start", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", "moduleName": "ShopifyCheckoutKit", - "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Inlinable" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "AllCases", + "printedName": "AllCases", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", "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" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sa" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", + "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:18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", + "moduleName": "ShopifyCheckoutKit", + "implicit": true }, { "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", + "name": "allCases", + "printedName": "allCases", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Nonisolated" ], - "isLet": true, - "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -1901,81 +1759,46 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, - "declAttributes": [ - "Transparent" - ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "name": "rawValue", + "printedName": "rawValue", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -1984,39 +1807,18 @@ "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } @@ -2024,138 +1826,150 @@ } ], "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", "moduleName": "ShopifyCheckoutKit", + "enumRawTypeName": "String", "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutURL", - "printedName": "CheckoutURL", - "children": [ + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, { - "kind": "Var", - "name": "url", - "printedName": "url", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "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": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvg", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "isMultipassURL", - "printedName": "isMultipassURL()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B3URLV011isMultipassD0SbyF", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV011isMultipassD0SbyF", - "moduleName": "ShopifyCheckoutKit", - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "isBlank", - "printedName": "isBlank()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + ] } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B3URLV7isBlankSbyF", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV7isBlankSbyF", - "moduleName": "ShopifyCheckoutKit", - "funcSelfKind": "NonMutating" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "isDeepLink", - "printedName": "isDeepLink()", + "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": "CaseIterable", + "printedName": "CaseIterable", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "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" + } + ] } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B3URLV10isDeepLinkSbyF", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV10isDeepLinkSbyF", - "moduleName": "ShopifyCheckoutKit", - "funcSelfKind": "NonMutating" + "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", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutKitTelemetry", + "printedName": "CheckoutKitTelemetry", + "declKind": "Class", + "usr": "s:20CheckoutKitTelemetryAAC", + "mangledName": "$s20CheckoutKitTelemetryAAC", + "moduleName": "CheckoutKitTelemetry", + "isInternal": true, + "declAttributes": [ + "Final" ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B3URLV", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV", - "moduleName": "ShopifyCheckoutKit", + "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", @@ -2174,391 +1988,317 @@ }, { "kind": "TypeDecl", - "name": "CheckoutViewController", - "printedName": "CheckoutViewController", + "name": "CheckoutPreload", + "printedName": "CheckoutPreload", "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" - }, - { - "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": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Custom" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:delegate:client:entryPoint:)", + "kind": "Var", + "name": "onStateChange", + "printedName": "onStateChange", "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?", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "EntryPoint", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" + "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" + } + ] } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6client10entryPointAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgAA8MetaDataO05EntryJ0OSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6client10entryPointAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgAA8MetaDataO05EntryJ0OSgtcfc", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", "moduleName": "ShopifyCheckoutKit", - "isInternal": true, "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", "Custom" ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(navigationBarClass:toolbarClass:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, + "hasStorage": true, + "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": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "ExistentialMetatype", - "printedName": "any Swift.AnyObject.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Swift.AnyObject", + "name": "Void", + "printedName": "Swift.Void", "children": [ { - "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Builtin.AnyObject", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "AnyObject" - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ] + }, + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" } ] } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.AnyClass?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { - "kind": "TypeNameAlias", - "name": "AnyClass", - "printedName": "Swift.AnyClass", + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "ExistentialMetatype", - "printedName": "any Swift.AnyObject.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Swift.AnyObject", + "name": "Void", + "printedName": "Swift.Void", "children": [ { - "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Builtin.AnyObject", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "AnyObject" - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ] + }, + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" } ] } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "set" } - ], - "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": "TypeAlias", + "name": "ObjectWillChangePublisher", + "printedName": "ObjectWillChangePublisher", "children": [ { "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, + "name": "ObservableObjectPublisher", + "printedName": "Combine.ObservableObjectPublisher", + "usr": "s:7Combine25ObservableObjectPublisherC" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "Var", + "name": "$state", + "printedName": "$state", + "children": [ { "kind": "TypeNominal", - "name": "UIViewController", - "printedName": "UIKit.UIViewController", - "usr": "c:objc(cs)UIViewController" + "name": "Publisher", + "printedName": "Combine.Published.Publisher", + "usr": "s:7Combine9PublishedV9PublisherV" } ], - "declKind": "Constructor", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController(im)initWithRootViewController:", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC04rootdE0ACSo06UIViewE0C_tcfc", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", "moduleName": "ShopifyCheckoutKit", - "overriding": true, "implicit": true, - "objc_name": "initWithRootViewController:", "declAttributes": [ - "Dynamic", - "ObjC", - "Override", + "Final", + "SetterAccess", "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", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Publisher", + "printedName": "Combine.Published.Publisher", + "usr": "s:7Combine9PublishedV9PublisherV" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "state", + "printedName": "state", + "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": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Bundle?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Bundle", - "printedName": "Foundation.Bundle", - "usr": "c:objc(cs)NSBundle" + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "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", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ - "Custom", - "ObjC" + "Final", + "Custom" ], - "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" + "name": "ObservableObject", + "printedName": "ObservableObject", + "children": [ + { + "kind": "TypeWitness", + "name": "ObjectWillChangePublisher", + "printedName": "ObjectWillChangePublisher", + "children": [ + { + "kind": "TypeNominal", + "name": "ObservableObjectPublisher", + "printedName": "Combine.ObservableObjectPublisher", + "usr": "s:7Combine25ObservableObjectPublisherC" + } + ] + } + ], + "usr": "s:7Combine16ObservableObjectP", + "mangledName": "$s7Combine16ObservableObjectP" }, { "kind": "Conformance", - "name": "UIResponderStandardEditActions", - "printedName": "UIResponderStandardEditActions", - "usr": "c:objc(pl)UIResponderStandardEditActions" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", @@ -2576,1072 +2316,1246 @@ }, { "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": "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" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "TypeDecl", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckout", + "name": "CheckoutProtocol", + "printedName": "CheckoutProtocol", "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:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0aB0V8checkoutAC10Foundation3URLV_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0aB0V8checkoutAC10Foundation3URLV_tcfc", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "makeUIViewController", - "printedName": "makeUIViewController(context:)", + "kind": "Var", + "name": "complete", + "printedName": "complete", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, - { - "kind": "TypeNameAlias", - "name": "Context", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout.Context", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "UIViewControllerRepresentableContext", - "printedName": "SwiftUI.UIViewControllerRepresentableContext", - "children": [ - { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - } - ], - "usr": "s:7SwiftUI36UIViewControllerRepresentableContextV" + "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:18ShopifyCheckoutKit0aB0V20makeUIViewController7contextAA0b4ViewF0C7SwiftUI0eF20RepresentableContextVyACG_tF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V20makeUIViewController7contextAA0b4ViewF0C7SwiftUI0eF20RepresentableContextVyACG_tF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ - "Preconcurrency", - "Custom" + "HasInitialValue", + "HasStorage" ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "updateUIViewController", - "printedName": "updateUIViewController(_:context:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNameAlias", - "name": "Context", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout.Context", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "UIViewControllerRepresentableContext", - "printedName": "SwiftUI.UIViewControllerRepresentableContext", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:7SwiftUI36UIViewControllerRepresentableContextV" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } - ] - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V22updateUIViewController_7contextyAA0b4ViewF0C_7SwiftUI0eF20RepresentableContextVyACGtF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V22updateUIViewController_7contextyAA0b4ViewF0C_7SwiftUI0eF20RepresentableContextVyACGtF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "connect", - "printedName": "connect(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "DiscardableResult", - "Custom" - ], - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "onDismiss", - "printedName": "onDismiss(_:)", + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "() -> Swift.Void", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] + "kind": "TypeNominal", + "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": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V9onDismissyACyycF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V9onDismissyACyycF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ - "Preconcurrency", - "DiscardableResult", - "Custom" + "HasInitialValue", + "HasStorage" ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "onFail", - "printedName": "onFail(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - } - ] - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "DiscardableResult", - "Custom" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "Body", - "printedName": "Body", - "children": [ - { - "kind": "TypeNominal", - "name": "Never", - "printedName": "Swift.Never", - "usr": "s:s5NeverO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "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" } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0aB0V4Bodya", - "mangledName": "$s18ShopifyCheckoutKit0aB0V4Bodya", - "moduleName": "ShopifyCheckoutKit", - "implicit": true + ] }, { - "kind": "TypeAlias", - "name": "Coordinator", - "printedName": "Coordinator", + "kind": "Var", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0aB0V11Coordinatora", - "mangledName": "$s18ShopifyCheckoutKit0aB0V11Coordinatora", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "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": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "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" } - ], - "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": "lineItemsChange", + "printedName": "lineItemsChange", "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" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutConfigurable", - "printedName": "CheckoutConfigurable", - "children": [ + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "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:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Function", - "name": "backgroundColor", - "printedName": "backgroundColor(_:)", + "kind": "Var", + "name": "messagesChange", + "printedName": "messagesChange", "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: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": "appearance", - "printedName": "appearance(_:)", + "kind": "Var", + "name": "start", + "printedName": "start", "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: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": "tintColor", - "printedName": "tintColor(_:)", + "kind": "Var", + "name": "totalsChange", + "printedName": "totalsChange", "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: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": "title", - "printedName": "title(_:)", + "kind": "Var", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, + "static": true, "declAttributes": [ - "Custom" + "HasInitialValue", + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "closeButtonTintColor", - "printedName": "closeButtonTintColor(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "UIKit.UIColor?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "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" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + ] }, { "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/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift index e0db2841a..f7e91b42d 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift @@ -1,18 +1,18 @@ // 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 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 diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift index c75907c9d..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(EmbeddedCheckoutProtocol.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 { 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 53a138eb0..de4062f5e 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift @@ -4,38 +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(EmbeddedCheckoutProtocol.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: JSONEncoder().encode(updated)) + 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") @@ -109,7 +126,7 @@ struct ModelDecodingTests { } } """ - let checkout = try JSONDecoder().decode(EmbeddedCheckoutProtocol.Checkout.self, from: Data(json.utf8)) + let checkout = try EmbeddedCheckoutProtocol.Checkout(json) #expect(checkout.discounts?.codes == ["SUMMER20"]) #expect(checkout.discounts?.applied?.first?.method == .across) @@ -174,8 +191,8 @@ struct ModelDecodingTests { "com.example.foo": "bar" } """ - var checkout = try JSONDecoder().decode(EmbeddedCheckoutProtocol.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") @@ -185,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/scripts/swift_namespacing.mjs b/protocol/scripts/swift_namespacing.mjs index ba734d802..ecc21a0e5 100644 --- a/protocol/scripts/swift_namespacing.mjs +++ b/protocol/scripts/swift_namespacing.mjs @@ -50,11 +50,16 @@ export function namespaceSwiftPayloadModels(source, payloadTypes = swiftPayloadT } 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}`; }) - .replace('let checkout = try Checkout(json)', 'let checkout = try EmbeddedCheckoutProtocol.Checkout(json)'); + // 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 index 57f2fff29..c24cb1055 100644 --- a/protocol/scripts/swift_namespacing.test.mjs +++ b/protocol/scripts/swift_namespacing.test.mjs @@ -1,5 +1,5 @@ import {expect, test} from 'vitest'; -import {namespaceSwiftPayloadModels} from './swift_namespacing.mjs'; +import {namespaceSwiftPayloadModels, swiftPayloadTypes} from './swift_namespacing.mjs'; const source = `public struct Checkout: Codable { public let buyer: Buyer @@ -48,3 +48,33 @@ 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..a3b048038 --- /dev/null +++ b/scripts/test/swift_api_normalization_test.rb @@ -0,0 +1,187 @@ +# 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"), "#!/bin/sh\nexit 0\n") + 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 From c68b13232cca23bb0e540e81aa7533e196541038 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 15 Sep 2026 14:18:47 +0100 Subject: [PATCH 04/23] Validate package resolution in the API build mock --- scripts/test/swift_api_normalization_test.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/test/swift_api_normalization_test.rb b/scripts/test/swift_api_normalization_test.rb index a3b048038..7dade575a 100644 --- a/scripts/test/swift_api_normalization_test.rb +++ b/scripts/test/swift_api_normalization_test.rb @@ -86,7 +86,13 @@ def test_dump_and_check_share_canonical_output_and_reject_api_drift 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"), "#!/bin/sh\nexit 0\n") + 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} From 2cdd5c2705f3c4fc2644aef8b281d6f230af8c17 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 8 Sep 2026 12:16:35 +0100 Subject: [PATCH 05/23] Prototype protocol-agnostic checkout events --- .../App/CartResettingCheckoutDelegate.swift | 7 +- .../Sources/App/CheckoutCoordinator.swift | 13 +- .../Sources/Scenes/Cart/CartView.swift | 6 +- .../Scenes/Cart/CartViewController.swift | 10 +- .../Sources/ShopifyCheckoutKit/Checkout.swift | 410 + .../ShopifyCheckoutKit/CheckoutDelegate.swift | 17 + .../CheckoutEventAdapter.swift | 67 + .../ShopifyCheckoutKit/CheckoutProtocol.swift | 4 + .../CheckoutViewController.swift | 31 +- .../CheckoutWebViewController.swift | 25 +- .../ShopifyCheckoutKit.swift | 4 +- .../CheckoutEventAdapterTests.swift | 112 + .../CheckoutProtocolTests.swift | 2 + .../CheckoutViewControllerTests.swift | 20 + .../Mocks/MockCheckoutDelegate.swift | 15 + .../ShopifyCheckoutKitTests.swift | 7 +- .../SwiftUITests.swift | 13 +- platforms/swift/api/ShopifyCheckoutKit.json | 9313 ++++++++++++++--- 18 files changed, 8314 insertions(+), 1762 deletions(-) create mode 100644 platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift create mode 100644 platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift create mode 100644 platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift index ac9d9915f..6a4092a17 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift @@ -4,8 +4,11 @@ import ShopifyCheckoutKit final class CartResettingCheckoutDelegate: CheckoutDelegate { private var completed = false - func markCompleted() { - completed = true + nonisolated func checkoutDidComplete(_ checkout: Checkout) { + MainActor.assumeIsolated { + print("[CheckoutKit] Checkout completed: \(checkout.order?.id ?? "unknown")") + completed = true + } } nonisolated func checkoutDidDismiss() { diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift index 079f6b423..84c29faa9 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift @@ -1,5 +1,3 @@ -import EmbeddedCheckoutProtocol -import OSLog import ShopifyCheckoutKit import UIKit @@ -8,15 +6,6 @@ class CheckoutCoordinator: UIViewController { var root: UIViewController? private let checkoutDelegate = CartResettingCheckoutDelegate() - private lazy var client = CheckoutProtocol.Client() - .on(CheckoutProtocol.start) { checkout in - OSLogger.shared.debug("[UCP] Checkout started: \(checkout.id)") - } - .on(CheckoutProtocol.complete) { [checkoutDelegate] checkout in - OSLogger.shared.debug("[UCP] Checkout completed: \(checkout.order?.id ?? "unknown")") - checkoutDelegate.markCompleted() - } - init(window: UIWindow?) { self.window = window super.init(nibName: nil, bundle: nil) @@ -31,7 +20,7 @@ class CheckoutCoordinator: UIViewController { public func present(checkout url: URL) { if let rootViewController = window?.topMostViewController() { - ShopifyCheckoutKit.present(checkout: url, from: rootViewController, delegate: checkoutDelegate, client: client) + ShopifyCheckoutKit.present(checkout: url, from: rootViewController, delegate: checkoutDelegate) root = rootViewController } } diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index 1a30b4535..a09886a0d 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -117,13 +117,13 @@ struct CartView: View { .sheet(isPresented: $showCheckoutSheet) { if let url = cartManager.cart?.checkoutURL { ShopifyCheckout(checkout: url) - .connect(client.on(CheckoutProtocol.complete) { checkout in + .onComplete { checkout in // Set the flag here; defer the cart reset until the user dismisses // the sheet (in .onDismiss). Resetting now would nil the cart and // SwiftUI would auto-collapse this sheet, hiding the confirmation page. - print("[UCP] ec.complete: \(checkout.order?.id ?? "unknown")") + print("[CheckoutKit] Complete: \(checkout.order?.id ?? "unknown")") isCompleted = true - }) + } .appearance(.app(.automatic)) .onDismiss { print("[CheckoutKitSwiftDemo] DISMISSED") diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartViewController.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartViewController.swift index ddcb08c8a..fe663e747 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartViewController.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartViewController.swift @@ -129,14 +129,6 @@ class CartViewController: UIViewController, UITableViewDelegate, UITableViewData private var checkoutButton: UIButton! private let checkoutDelegate = CartResettingCheckoutDelegate() - private lazy var client = CheckoutProtocol.Client() - .on(CheckoutProtocol.start) { checkout in - print("[UCP] Checkout started: \(checkout.id)") - } - .on(CheckoutProtocol.complete) { [checkoutDelegate] checkout in - print("[UCP] Checkout completed: \(checkout.order?.id ?? "unknown")") - checkoutDelegate.markCompleted() - } // MARK: Initializers @@ -372,7 +364,7 @@ class CartViewController: UIViewController, UITableViewDelegate, UITableViewData @objc private func presentCheckout() { guard let url = CartManager.shared.cart?.checkoutURL else { return } - ShopifyCheckoutKit.present(checkout: url, from: self, delegate: checkoutDelegate, client: client) + ShopifyCheckoutKit.present(checkout: url, from: self, delegate: checkoutDelegate) } @objc private func resetCart() { diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift b/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift new file mode 100644 index 000000000..e026dd7de --- /dev/null +++ b/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift @@ -0,0 +1,410 @@ +#if !COCOAPODS + import EmbeddedCheckoutProtocol +#endif +import Foundation + +/// A protocol-independent snapshot of the checkout visible to the buyer. +/// +/// Checkout Kit derives this value from its internal communication protocol. Raw protocol +/// messages, links, and transport metadata are intentionally not exposed. +public struct Checkout: Equatable, Sendable { + public let id: String + public let status: CheckoutStatus + public let currency: String + public let buyer: CheckoutBuyer? + public let lineItems: CheckoutLineItems + public let totals: [CheckoutTotal] + public let fulfillment: CheckoutFulfillment? + public let discounts: [CheckoutDiscount] + public let paymentInstruments: [CheckoutPaymentInstrument] + public let order: CheckoutOrder? + + public init( + id: String, + status: CheckoutStatus, + currency: String, + buyer: CheckoutBuyer? = nil, + lineItems: CheckoutLineItems, + totals: [CheckoutTotal], + fulfillment: CheckoutFulfillment? = nil, + discounts: [CheckoutDiscount] = [], + paymentInstruments: [CheckoutPaymentInstrument] = [], + order: CheckoutOrder? = nil + ) { + self.id = id + self.status = status + self.currency = currency + self.buyer = buyer + self.lineItems = lineItems + self.totals = totals + self.fulfillment = fulfillment + self.discounts = discounts + self.paymentInstruments = paymentInstruments + self.order = order + } +} + +public enum CheckoutStatus: String, Equatable, Sendable { + case incomplete + case readyForComplete = "ready_for_complete" + case completeInProgress = "complete_in_progress" + case completed + case canceled + case requiresEscalation = "requires_escalation" +} + +public struct CheckoutBuyer: Equatable, Sendable { + public let email: String? + public let firstName: String? + public let lastName: String? + public let phoneNumber: String? +} + +public struct CheckoutLineItems: RandomAccessCollection, Equatable, Sendable { + public typealias Index = Int + + private let items: [CheckoutLineItem] + + /// Whether Checkout Kit determined that every item was removed because it is out of stock. + public let allOutOfStock: Bool + + public init(_ items: [CheckoutLineItem], allOutOfStock: Bool = false) { + self.items = items + self.allOutOfStock = allOutOfStock + } + + public var startIndex: Int { + items.startIndex + } + + public var endIndex: Int { + items.endIndex + } + + public subscript(position: Int) -> CheckoutLineItem { + items[position] + } +} + +public struct CheckoutLineItem: Identifiable, Equatable, Sendable { + public let id: String + public let merchandiseID: String + public let title: String + public let quantity: Int + public let unitPrice: Int + public let totals: [CheckoutLineItemTotal] + public let availability: CheckoutLineItemAvailability +} + +public enum CheckoutLineItemAvailability: Equatable, Sendable { + case available + case outOfStock +} + +public struct CheckoutLineItemTotal: Equatable, Sendable { + public let type: String + public let amount: Int + public let displayText: String? +} + +public struct CheckoutTotal: Equatable, Sendable { + public let type: String + public let amount: Int + public let displayText: String? +} + +public struct CheckoutFulfillment: Equatable, Sendable { + public let availableMethods: [CheckoutFulfillmentAvailability] + public let methods: [CheckoutFulfillmentMethod] +} + +public struct CheckoutFulfillmentAvailability: Equatable, Sendable { + public let type: CheckoutFulfillmentMethodType + public let lineItemIDs: [String] + public let description: String? + public let fulfillableOn: String? +} + +public struct CheckoutFulfillmentMethod: Identifiable, Equatable, Sendable { + public let id: String + public let type: CheckoutFulfillmentMethodType + public let lineItemIDs: [String] + public let selectedDestinationID: String? +} + +public enum CheckoutFulfillmentMethodType: String, Equatable, Sendable { + case shipping + case pickup +} + +public struct CheckoutDiscount: Equatable, Sendable { + public let title: String + public let code: String? + public let amount: Int + public let automatic: Bool + public let provisional: Bool +} + +public struct CheckoutPaymentInstrument: Identifiable, Equatable, Sendable { + public let id: String + public let type: String + public let handlerID: String + public let selected: Bool +} + +public struct CheckoutOrder: Identifiable, Equatable, Sendable { + public let id: String + public let label: String? + public let permalink: URL? +} + +extension Checkout { + init?(protocolCheckout: some Encodable) { + let encoder = JSONEncoder() + encoder.dateEncodingStrategy = .iso8601 + let decoder = JSONDecoder() + decoder.dateDecodingStrategy = .iso8601 + guard + let data = try? encoder.encode(protocolCheckout), + let checkout = try? decoder.decode(ProtocolCheckoutProjection.self, from: data) + else { + return nil + } + + let outOfStockIndexes = Set((checkout.messages ?? []).compactMap(Self.outOfStockLineItemIndex)) + let items = checkout.lineItems.enumerated().map { index, lineItem in + CheckoutLineItem( + id: lineItem.id, + merchandiseID: lineItem.item.id, + title: lineItem.item.title, + quantity: lineItem.quantity, + unitPrice: lineItem.item.price, + totals: lineItem.totals.map { + CheckoutLineItemTotal(type: $0.type, amount: $0.amount, displayText: $0.displayText) + }, + availability: outOfStockIndexes.contains(index) ? .outOfStock : .available + ) + } + let hasOutOfStockMessage = (checkout.messages ?? []).contains { $0.code == "out_of_stock" } + let allOutOfStock = (items.isEmpty && hasOutOfStockMessage) + || (!items.isEmpty && items.allSatisfy { $0.availability == .outOfStock }) + + id = checkout.id + status = CheckoutStatus(rawValue: checkout.status) ?? .incomplete + currency = checkout.currency + buyer = checkout.buyer.map { + CheckoutBuyer( + email: $0.email, + firstName: $0.firstName, + lastName: $0.lastName, + phoneNumber: $0.phoneNumber + ) + } + lineItems = CheckoutLineItems(items, allOutOfStock: allOutOfStock) + totals = checkout.totals.map { + CheckoutTotal(type: $0.type, amount: $0.amount, displayText: $0.displayText) + } + fulfillment = checkout.fulfillment.map { fulfillment in + CheckoutFulfillment( + availableMethods: (fulfillment.availableMethods ?? []).map { availability in + CheckoutFulfillmentAvailability( + type: CheckoutFulfillmentMethodType(rawValue: availability.type) ?? .shipping, + lineItemIDs: availability.lineItemIDs, + description: availability.description, + fulfillableOn: availability.fulfillableOn + ) + }, + methods: (fulfillment.methods ?? []).map { method in + CheckoutFulfillmentMethod( + id: method.id, + type: CheckoutFulfillmentMethodType(rawValue: method.type) ?? .shipping, + lineItemIDs: method.lineItemIDs, + selectedDestinationID: method.selectedDestinationID + ) + } + ) + } + discounts = (checkout.discounts?.applied ?? []).map { + CheckoutDiscount( + title: $0.title, + code: $0.code, + amount: $0.amount, + automatic: $0.automatic ?? false, + provisional: $0.provisional ?? false + ) + } + paymentInstruments = (checkout.payment?.instruments ?? []).map { + CheckoutPaymentInstrument( + id: $0.id, + type: $0.type, + handlerID: $0.handlerID, + selected: $0.selected ?? false + ) + } + order = checkout.order.map { + CheckoutOrder(id: $0.id, label: $0.label, permalink: URL(string: $0.permalinkURL)) + } + } + + private static func outOfStockLineItemIndex(_ message: ProtocolCheckoutProjection.Message) -> Int? { + guard message.code == "out_of_stock", let path = message.path else { return nil } + let prefix = "$.line_items[" + guard path.hasPrefix(prefix), let closingBracket = path[prefix.endIndex...].firstIndex(of: "]") else { + return nil + } + return Int(path[prefix.endIndex ..< closingBracket]) + } +} + +private struct ProtocolCheckoutProjection: Decodable { + let buyer: Buyer? + let currency: String + let discounts: Discounts? + let fulfillment: Fulfillment? + let id: String + let lineItems: [LineItem] + let messages: [Message]? + let order: Order? + let payment: Payment? + let status: String + let totals: [Total] + + enum CodingKeys: String, CodingKey { + case buyer, currency, discounts, fulfillment, id + case lineItems = "line_items" + case messages, order, payment, status, totals + } + + struct Buyer: Decodable { + let email: String? + let firstName: String? + let lastName: String? + let phoneNumber: String? + + enum CodingKeys: String, CodingKey { + case email + case firstName = "first_name" + case lastName = "last_name" + case phoneNumber = "phone_number" + } + } + + struct LineItem: Decodable { + let id: String + let item: Item + let quantity: Int + let totals: [LineItemTotal] + } + + struct Item: Decodable { + let id: String + let price: Int + let title: String + } + + struct LineItemTotal: Decodable { + let amount: Int + let displayText: String? + let type: String + + enum CodingKeys: String, CodingKey { + case amount + case displayText = "display_text" + case type + } + } + + struct Total: Decodable { + let amount: Int + let displayText: String? + let type: String + + enum CodingKeys: String, CodingKey { + case amount + case displayText = "display_text" + case type + } + } + + struct Message: Decodable { + let code: String? + let path: String? + } + + struct Fulfillment: Decodable { + let availableMethods: [AvailableMethod]? + let methods: [Method]? + + enum CodingKeys: String, CodingKey { + case availableMethods = "available_methods" + case methods + } + } + + struct AvailableMethod: Decodable { + let description: String? + let fulfillableOn: String? + let lineItemIDs: [String] + let type: String + + enum CodingKeys: String, CodingKey { + case description + case fulfillableOn = "fulfillable_on" + case lineItemIDs = "line_item_ids" + case type + } + } + + struct Method: Decodable { + let id: String + let lineItemIDs: [String] + let selectedDestinationID: String? + let type: String + + enum CodingKeys: String, CodingKey { + case id + case lineItemIDs = "line_item_ids" + case selectedDestinationID = "selected_destination_id" + case type + } + } + + struct Discounts: Decodable { + let applied: [Discount]? + } + + struct Discount: Decodable { + let amount: Int + let automatic: Bool? + let code: String? + let provisional: Bool? + let title: String + } + + struct Payment: Decodable { + let instruments: [Instrument]? + } + + struct Instrument: Decodable { + let handlerID: String + let id: String + let selected: Bool? + let type: String + + enum CodingKeys: String, CodingKey { + case handlerID = "handler_id" + case id, selected, type + } + } + + struct Order: Decodable { + let id: String + let label: String? + let permalinkURL: String + + enum CodingKeys: String, CodingKey { + case id, label + case permalinkURL = "permalink_url" + } + } +} diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift index aa12d29a4..0b4d100cc 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift @@ -2,6 +2,15 @@ import Foundation /// A delegate protocol for managing checkout lifecycle events. public protocol CheckoutDelegate: AnyObject { + /// Tells the delegate that the buyer started checkout. + func checkoutDidStart(_ checkout: Checkout) + + /// Tells the delegate that the buyer-visible checkout state changed. + func checkoutDidUpdate(_ checkout: Checkout) + + /// Tells the delegate that checkout completed. + func checkoutDidComplete(_ checkout: Checkout) + /// Tells the delegate that the buyer dismissed checkout. func checkoutDidDismiss() @@ -10,3 +19,11 @@ public protocol CheckoutDelegate: AnyObject { /// Use ``CheckoutError/code`` for your app's recovery policy. func checkoutDidFail(error: CheckoutError) } + +extension CheckoutDelegate { + public func checkoutDidStart(_: Checkout) {} + public func checkoutDidUpdate(_: Checkout) {} + public func checkoutDidComplete(_: Checkout) {} + public func checkoutDidDismiss() {} + public func checkoutDidFail(error _: CheckoutError) {} +} diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift new file mode 100644 index 000000000..06c5bcb20 --- /dev/null +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift @@ -0,0 +1,67 @@ +#if !COCOAPODS + import EmbeddedCheckoutProtocol +#endif +import Foundation + +@MainActor +protocol CheckoutEventSink: AnyObject { + func checkoutDidStart(_ checkout: Checkout) + func checkoutDidUpdate(_ checkout: Checkout) + func checkoutDidComplete(_ checkout: Checkout) +} + +/// Translates protocol notifications into the stable lifecycle exposed by Checkout Kit. +struct CheckoutEventAdapter: CheckoutCommunicationProtocol { + private let base: (any CheckoutCommunicationProtocol)? + private let eventClient: EmbeddedCheckoutProtocol.Client + + @MainActor + init(base: (any CheckoutCommunicationProtocol)? = nil, sink: any CheckoutEventSink) { + self.base = base + let state = CheckoutEventState(sink: sink) + eventClient = EmbeddedCheckoutProtocol.Client() + .on(CheckoutProtocol.start) { state.start($0) } + .on(CheckoutProtocol.buyerChange) { state.update($0) } + .on(CheckoutProtocol.lineItemsChange) { state.update($0) } + .on(CheckoutProtocol.messagesChange) { state.update($0) } + .on(CheckoutProtocol.totalsChange) { state.update($0) } + .on(CheckoutProtocol.paymentChange) { state.update($0) } + .on(CheckoutProtocol.fulfillmentChange) { state.update($0) } + .on(CheckoutProtocol.complete) { state.complete($0) } + } + + func process(_ message: String) async -> String? { + let response = await base?.process(message) + let eventResponse = await eventClient.process(message) + return response ?? eventResponse + } +} + +@MainActor +private final class CheckoutEventState { + weak var sink: (any CheckoutEventSink)? + private var latestCheckout: Checkout? + + init(sink: any CheckoutEventSink) { + self.sink = sink + } + + func start(_ checkout: some Encodable) { + guard let snapshot = Checkout(protocolCheckout: checkout) else { return } + latestCheckout = snapshot + sink?.checkoutDidStart(snapshot) + } + + func update(_ checkout: some Encodable) { + guard let snapshot = Checkout(protocolCheckout: checkout) else { return } + guard snapshot != latestCheckout else { return } + latestCheckout = snapshot + sink?.checkoutDidUpdate(snapshot) + } + + func complete(_ checkout: some Encodable) { + guard let snapshot = Checkout(protocolCheckout: checkout) else { return } + latestCheckout = snapshot + sink?.checkoutDidComplete(snapshot) + } +} diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift index 15dd078e2..c108fb22f 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift @@ -24,10 +24,12 @@ public enum CheckoutProtocol { /// ``CheckoutDelegate/checkoutDidFail(error:)``. It is for advanced protocol diagnostics; /// use ``CheckoutError/code`` for normal lifecycle recovery. public static let error = EmbeddedCheckoutProtocol.Event.error.map { $0.params.error } + public static let buyerChange = EmbeddedCheckoutProtocol.Event.buyerChange.map { $0.params.checkout } public static let fulfillmentChange = EmbeddedCheckoutProtocol.Event.fulfillmentChange.map { $0.params.checkout } public static let lineItemsChange = EmbeddedCheckoutProtocol.Event.lineItemsChange.map { $0.params.checkout } /// Delivers in-checkout messages and warnings as state updates. public static let messagesChange = EmbeddedCheckoutProtocol.Event.messagesChange.map { $0.params.checkout } + public static let paymentChange = EmbeddedCheckoutProtocol.Event.paymentChange.map { $0.params.checkout } public static let start = EmbeddedCheckoutProtocol.Event.start.map { $0.params.checkout } public static let totalsChange = EmbeddedCheckoutProtocol.Event.totalsChange.map { $0.params.checkout } public static let windowOpen = EmbeddedCheckoutProtocol.Event.windowOpen.map { $0.params } @@ -37,9 +39,11 @@ public enum CheckoutProtocol { start.method, complete.method, error.method, + buyerChange.method, fulfillmentChange.method, lineItemsChange.method, messagesChange.method, + paymentChange.method, totalsChange.method, windowOpen.method ] diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift index dbc701305..bbc2d1fa7 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift @@ -6,8 +6,8 @@ import UIKit @MainActor public class CheckoutViewController: UINavigationController { - public init(checkout url: URL, delegate: (any CheckoutDelegate)? = nil, client: (any CheckoutCommunicationProtocol)? = nil) { - let rootViewController = CheckoutWebViewController(checkoutURL: url, delegate: delegate, client: client, entryPoint: nil) + public init(checkout url: URL, delegate: (any CheckoutDelegate)? = nil) { + let rootViewController = CheckoutWebViewController(checkoutURL: url, delegate: delegate, entryPoint: nil) super.init(rootViewController: rootViewController) configureNavigationBar() presentationController?.delegate = rootViewController @@ -40,7 +40,9 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab public typealias UIViewControllerType = CheckoutViewController var checkoutURL: URL - var client: (any CheckoutCommunicationProtocol)? + var onStartAction: ((Checkout) -> Void)? + var onUpdateAction: ((Checkout) -> Void)? + var onCompleteAction: ((Checkout) -> Void)? var onDismissAction: (() -> Void)? var onFailAction: ((CheckoutError) -> Void)? @@ -53,7 +55,7 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab } public func makeUIViewController(context _: Self.Context) -> CheckoutViewController { - let viewController = CheckoutViewController(checkout: decoratedCheckoutURL, client: client) + let viewController = CheckoutViewController(checkout: decoratedCheckoutURL) configureWebViewController(viewController) return viewController } @@ -72,15 +74,28 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab return } - webViewController.client = client - webViewController.checkoutView?.client = client + webViewController.onStart = onStartAction + webViewController.onUpdate = onUpdateAction + webViewController.onComplete = onCompleteAction webViewController.onDismiss = onDismissAction webViewController.onFail = onFailAction } - @discardableResult public func connect(_ handler: any CheckoutCommunicationProtocol) -> Self { + @discardableResult public func onStart(_ action: @escaping (Checkout) -> Void) -> Self { var copy = self - copy.client = handler + copy.onStartAction = action + return copy + } + + @discardableResult public func onUpdate(_ action: @escaping (Checkout) -> Void) -> Self { + var copy = self + copy.onUpdateAction = action + return copy + } + + @discardableResult public func onComplete(_ action: @escaping (Checkout) -> Void) -> Self { + var copy = self + copy.onCompleteAction = action return copy } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift index 26b889a12..3b12ec7b0 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift @@ -7,10 +7,12 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl /// Keep this value in sync with the checkout close selector used by E2E flows. private static let closeButtonAccessibilityIdentifier = "shopify_checkout_kit_close_button" + var onStart: ((Checkout) -> Void)? + var onUpdate: ((Checkout) -> Void)? + var onComplete: ((Checkout) -> Void)? var onDismiss: (() -> Void)? var onFail: ((CheckoutError) -> Void)? weak var delegate: (any CheckoutDelegate)? - var client: (any CheckoutCommunicationProtocol)? var checkoutView: CheckoutWebView? @@ -65,17 +67,17 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl public init(checkoutURL url: URL, delegate: (any CheckoutDelegate)? = nil, client: (any CheckoutCommunicationProtocol)? = nil, entryPoint: MetaData.EntryPoint? = nil) { checkoutURL = url self.delegate = delegate - self.client = client let checkoutView = CheckoutWebView.for(checkout: url, entryPoint: entryPoint) checkoutView.isPresented = true checkoutView.translatesAutoresizingMaskIntoConstraints = false checkoutView.scrollView.contentInsetAdjustmentBehavior = .automatic - checkoutView.client = client self.checkoutView = checkoutView super.init(nibName: nil, bundle: nil) + checkoutView.client = CheckoutEventAdapter(base: client, sink: self) + title = ShopifyCheckoutKit.configuration.title navigationItem.rightBarButtonItem = closeBarButtonItem @@ -193,6 +195,23 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl } } +extension CheckoutWebViewController: CheckoutEventSink { + func checkoutDidStart(_ checkout: Checkout) { + onStart?(checkout) + delegate?.checkoutDidStart(checkout) + } + + func checkoutDidUpdate(_ checkout: Checkout) { + onUpdate?(checkout) + delegate?.checkoutDidUpdate(checkout) + } + + func checkoutDidComplete(_ checkout: Checkout) { + onComplete?(checkout) + delegate?.checkoutDidComplete(checkout) + } +} + extension CheckoutWebViewController: CheckoutWebViewDelegate { func checkoutViewDidStartNavigation() {} diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift b/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift index 167a4062e..664722bc7 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift @@ -69,9 +69,9 @@ public func invalidate() { @MainActor @discardableResult -public func present(checkout url: URL, from: UIViewController, delegate: (any CheckoutDelegate)? = nil, client: (any CheckoutCommunicationProtocol)? = nil) -> CheckoutViewController { +public func present(checkout url: URL, from: UIViewController, delegate: (any CheckoutDelegate)? = nil) -> CheckoutViewController { let decorated = CheckoutURLDecorator.decorate(url) - let viewController = CheckoutViewController(checkout: decorated, delegate: delegate, client: client) + let viewController = CheckoutViewController(checkout: decorated, delegate: delegate) from.present(viewController, animated: true) return viewController } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift new file mode 100644 index 000000000..4fcaade97 --- /dev/null +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift @@ -0,0 +1,112 @@ +import EmbeddedCheckoutProtocol +@testable import ShopifyCheckoutKit +import XCTest + +@MainActor +final class CheckoutEventAdapterTests: XCTestCase { + func testStartProducesNormalizedCheckout() async { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + + _ = await adapter.process(message(method: "ec.start", status: "incomplete")) + + let checkout = try? XCTUnwrap(sink.started.first) + XCTAssertEqual(checkout?.id, "checkout-1") + XCTAssertEqual(checkout?.currency, "USD") + XCTAssertEqual(checkout?.status, .incomplete) + XCTAssertEqual(checkout?.buyer?.email, "buyer@example.com") + } + + func testEveryChangeNotificationProducesOneUpdate() async { + let methods = [ + "ec.buyer.change", + "ec.line_items.change", + "ec.messages.change", + "ec.payment.change", + "ec.totals.change", + "ec.fulfillment.change" + ] + + for (index, method) in methods.enumerated() { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + _ = await adapter.process(message(method: method, total: index)) + XCTAssertEqual(sink.updated.count, 1, method) + } + } + + func testEqualUpdateSnapshotsAreDeduplicated() async { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + let update = message(method: "ec.totals.change") + + _ = await adapter.process(update) + _ = await adapter.process(update) + + XCTAssertEqual(sink.updated.count, 1) + } + + func testCompleteProducesCompleteEventEvenWhenSnapshotIsUnchanged() async { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + + _ = await adapter.process(message(method: "ec.start", status: "completed")) + _ = await adapter.process(message(method: "ec.complete", status: "completed")) + + XCTAssertEqual(sink.completed.count, 1) + } + + func testOutOfStockMessageIsDerivedInsteadOfExposed() async throws { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + + _ = await adapter.process(message( + method: "ec.messages.change", + messages: #"[{"type":"error","code":"out_of_stock","content":"Unavailable"}]"# + )) + + let checkout = try XCTUnwrap(sink.updated.first) + XCTAssertTrue(checkout.lineItems.isEmpty) + XCTAssertTrue(checkout.lineItems.allOutOfStock) + } + + private func message( + method: String, + status: String = "incomplete", + total: Int = 1000, + messages: String = "[]" + ) -> String { + """ + {"jsonrpc":"2.0","method":"\(method)","params":{"checkout":{ + "buyer":{"email":"buyer@example.com","first_name":"Ada","last_name":"Lovelace"}, + "currency":"USD", + "id":"checkout-1", + "line_items":[], + "links":[{"type":"privacy_policy","url":"https://example.com/privacy"}], + "messages":\(messages), + "status":"\(status)", + "totals":[{"amount":\(total),"type":"total"}], + "ucp":{"payment_handlers":{},"version":"\(EmbeddedCheckoutProtocol.specVersion)"} + }}} + """ + } +} + +@MainActor +private final class RecordingCheckoutEventSink: CheckoutEventSink { + var started: [ShopifyCheckoutKit.Checkout] = [] + var updated: [ShopifyCheckoutKit.Checkout] = [] + var completed: [ShopifyCheckoutKit.Checkout] = [] + + func checkoutDidStart(_ checkout: ShopifyCheckoutKit.Checkout) { + started.append(checkout) + } + + func checkoutDidUpdate(_ checkout: ShopifyCheckoutKit.Checkout) { + updated.append(checkout) + } + + func checkoutDidComplete(_ checkout: ShopifyCheckoutKit.Checkout) { + completed.append(checkout) + } +} diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift index 3d8418aa1..a80b7b19a 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift @@ -17,9 +17,11 @@ struct CheckoutProtocolTests { "ec.start", "ec.complete", "ec.error", + "ec.buyer.change", "ec.fulfillment.change", "ec.line_items.change", "ec.messages.change", + "ec.payment.change", "ec.totals.change", "ec.window.open_request" ]) diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift index 8bfed0ceb..fc37d1c45 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift @@ -73,6 +73,26 @@ class CheckoutViewDelegateTests: XCTestCase { XCTAssertTrue(didDismiss) } + func testLifecycleEventsInvokeDelegate() { + let delegate = MockCheckoutDelegate() + let controller = MockCheckoutWebViewController(checkoutURL: checkoutURL, delegate: delegate) + let checkout = Checkout( + id: "checkout-1", + status: .incomplete, + currency: "USD", + lineItems: CheckoutLineItems([]), + totals: [] + ) + + controller.checkoutDidStart(checkout) + controller.checkoutDidUpdate(checkout) + controller.checkoutDidComplete(checkout) + + XCTAssertEqual(delegate.didStartCheckouts, [checkout]) + XCTAssertEqual(delegate.didUpdateCheckouts, [checkout]) + XCTAssertEqual(delegate.didCompleteCheckouts, [checkout]) + } + func testPresentationControllerDidDismissInvokesDismissDelegate() throws { var didDismiss = false viewController.onDismiss = { diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift index ccf29d338..bf05bab20 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift @@ -11,9 +11,24 @@ struct MockBridgeClient: CheckoutCommunicationProtocol { } final class MockCheckoutDelegate: CheckoutDelegate { + private(set) var didStartCheckouts: [Checkout] = [] + private(set) var didUpdateCheckouts: [Checkout] = [] + private(set) var didCompleteCheckouts: [Checkout] = [] private(set) var didDismissCount = 0 private(set) var didFailErrors: [CheckoutError] = [] + func checkoutDidStart(_ checkout: Checkout) { + didStartCheckouts.append(checkout) + } + + func checkoutDidUpdate(_ checkout: Checkout) { + didUpdateCheckouts.append(checkout) + } + + func checkoutDidComplete(_ checkout: Checkout) { + didCompleteCheckouts.append(checkout) + } + func checkoutDidDismiss() { didDismissCount += 1 } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/ShopifyCheckoutKitTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/ShopifyCheckoutKitTests.swift index 7ca982eb6..958f0bdb2 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/ShopifyCheckoutKitTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/ShopifyCheckoutKitTests.swift @@ -73,23 +73,20 @@ class ShopifyCheckoutKitTests: XCTestCase { ) } - func test_present_propagatesDelegateAndClientToWebViewController() throws { + func test_present_propagatesDelegateAndInstallsInternalEventClient() throws { let delegate = MockCheckoutDelegate() - let client = MockBridgeClient() let presenter = UIViewController() let viewController = ShopifyCheckoutKit.present( checkout: checkoutURL, from: presenter, - delegate: delegate, - client: client + delegate: delegate ) let webViewController = try XCTUnwrap( viewController.viewControllers.compactMap { $0 as? CheckoutWebViewController }.first ) XCTAssertTrue(webViewController.delegate === delegate) - XCTAssertNotNil(webViewController.client) XCTAssertNotNil(webViewController.checkoutView?.client) } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift index 12b2b5909..762a99e14 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift @@ -59,10 +59,15 @@ class ShopifyCheckoutTests: XCTestCase { XCTAssertNotNil(actionData) } - func testConnect() { - let client = MockBridgeClient() - let sheet = shopifyCheckout.connect(client) - XCTAssertNotNil(sheet.client) + func testLifecycleModifiers() { + let sheet = shopifyCheckout + .onStart { _ in } + .onUpdate { _ in } + .onComplete { _ in } + + XCTAssertNotNil(sheet.onStartAction) + XCTAssertNotNil(sheet.onUpdateAction) + XCTAssertNotNil(sheet.onCompleteAction) } } diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index c4ae5bf30..3597c36d9 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -264,7 +264,7 @@ { "kind": "Function", "name": "present", - "printedName": "present(checkout:from:delegate:client:)", + "printedName": "present(checkout:from:delegate:)", "children": [ { "kind": "TypeNominal", @@ -298,26 +298,11 @@ ], "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": "Func", - "usr": "s:18ShopifyCheckoutKit7present8checkout4from8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewJ0CAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", - "mangledName": "$s18ShopifyCheckoutKit7present8checkout4from8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewJ0CAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", + "usr": "s:18ShopifyCheckoutKit7present8checkout4from8delegateAA0B14ViewControllerC10Foundation3URLV_So06UIViewI0CAA0B8Delegate_pSgtF", + "mangledName": "$s18ShopifyCheckoutKit7present8checkout4from8delegateAA0B14ViewControllerC10Foundation3URLV_So06UIViewI0CAA0B8Delegate_pSgtF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "DiscardableResult", @@ -398,18 +383,35 @@ }, { "kind": "TypeDecl", - "name": "CheckoutCommunicationProtocol", - "printedName": "CheckoutCommunicationProtocol", + "name": "Checkout", + "printedName": "Checkout", "children": [ { - "kind": "Function", - "name": "process", - "printedName": "process(_:)", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V2idSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V2idSSvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -418,387 +420,720 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V2idSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V2idSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", - "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", - "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP", - "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" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvg", + "moduleName": "ShopifyCheckoutKit", + "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": "appearance", - "printedName": "appearance(_:)", + "kind": "Var", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "Appearance", - "printedName": "ShopifyCheckoutKit.Configuration.Appearance", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V8currencySSvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V8currencySSvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, "declAttributes": [ - "Custom" + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "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:18ShopifyCheckoutKit0B0V8currencySSvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V8currencySSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "appearance", - "printedName": "appearance(_:)", + "kind": "Var", + "name": "buyer", + "printedName": "buyer", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "Appearance", - "printedName": "ShopifyCheckoutKit.Configuration.Appearance", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutBuyer", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvp", "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": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutBuyer", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "backgroundColor", - "printedName": "backgroundColor(_:)", + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, "declAttributes": [ - "Custom" + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "backgroundColor", - "printedName": "backgroundColor(_:)", + "kind": "Var", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "ShopifyCheckoutKit.CheckoutTotal", + "usr": "s:18ShopifyCheckoutKit0B5TotalV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvp", "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": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "ShopifyCheckoutKit.CheckoutTotal", + "usr": "s:18ShopifyCheckoutKit0B5TotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "closeButtonTintColor", - "printedName": "closeButtonTintColor(_:)", + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "UIKit.UIColor?", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment?", "children": [ { "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "CheckoutFulfillment", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" } ], "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, "declAttributes": [ - "Custom" + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "closeButtonTintColor", - "printedName": "closeButtonTintColor(_:)", + "kind": "Var", + "name": "discounts", + "printedName": "discounts", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "UIKit.UIColor?", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutDiscount]", "children": [ { "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "CheckoutDiscount", + "printedName": "ShopifyCheckoutKit.CheckoutDiscount", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvp", "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": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutDiscount]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscount", + "printedName": "ShopifyCheckoutKit.CheckoutDiscount", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "tintColor", - "printedName": "tintColor(_:)", + "kind": "Var", + "name": "paymentInstruments", + "printedName": "paymentInstruments", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutPaymentInstrument", + "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, "declAttributes": [ - "Custom" + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutPaymentInstrument", + "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "tintColor", - "printedName": "tintColor(_:)", + "kind": "Var", + "name": "order", + "printedName": "order", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutOrder?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutOrder", + "printedName": "ShopifyCheckoutKit.CheckoutOrder", + "usr": "s:18ShopifyCheckoutKit0B5OrderV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvp", "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": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutOrder?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutOrder", + "printedName": "ShopifyCheckoutKit.CheckoutOrder", + "usr": "s:18ShopifyCheckoutKit0B5OrderV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "title", - "printedName": "title(_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(id:status:currency:buyer:lineItems:totals:fulfillment:discounts:paymentInstruments:order:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutBuyer", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "ShopifyCheckoutKit.CheckoutTotal", + "usr": "s:18ShopifyCheckoutKit0B5TotalV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutDiscount]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscount", + "printedName": "ShopifyCheckoutKit.CheckoutDiscount", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutPaymentInstrument", + "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutOrder?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutOrder", + "printedName": "ShopifyCheckoutKit.CheckoutOrder", + "usr": "s:18ShopifyCheckoutKit0B5OrderV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgAA0b4LineI0VSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgAA0b4LineI0VSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "title", - "printedName": "title(_:)", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", + "usr": "s:18ShopifyCheckoutKit0B0V23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B0V23__derived_struct_equalsySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", + "static": true, + "implicit": true, "declAttributes": [ - "DiscardableResult", - "Custom" + "Implements" ], - "isFromExtension": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP", + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B0V", + "mangledName": "$s18ShopifyCheckoutKit0B0V", "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Custom" - ], "conformances": [ { "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { "kind": "Conformance", @@ -806,106 +1141,47 @@ "printedName": "Copyable", "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutDelegate", - "printedName": "CheckoutDelegate", + "name": "CheckoutBuyer", + "printedName": "CheckoutBuyer", "children": [ { - "kind": "Function", - "name": "checkoutDidDismiss", - "printedName": "checkoutDidDismiss()", + "kind": "Var", + "name": "email", + "printedName": "email", "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": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV5emailSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV5emailSSSgvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidFail", - "printedName": "checkoutDidFail(error:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", - "moduleName": "ShopifyCheckoutKit", - "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": "code", - "printedName": "code", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" + "declAttributes": [ + "HasStorage" ], "isLet": true, "hasStorage": true, @@ -917,14 +1193,22 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvg", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV5emailSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV5emailSSSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -936,19 +1220,27 @@ }, { "kind": "Var", - "name": "message", - "printedName": "message", + "name": "firstName", + "printedName": "firstName", "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:18ShopifyCheckoutKit0B5ErrorV7messageSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvp", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -963,14 +1255,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:18ShopifyCheckoutKit0B5ErrorV7messageSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvg", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -982,27 +1282,27 @@ }, { "kind": "Var", - "name": "httpStatusCode", - "printedName": "httpStatusCode", + "name": "lastName", + "printedName": "lastName", "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:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -1018,21 +1318,21 @@ { "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:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -1044,27 +1344,27 @@ }, { "kind": "Var", - "name": "underlyingError", - "printedName": "underlyingError", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "(any Swift.Error)?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -1080,21 +1380,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "(any Swift.Error)?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -1105,69 +1405,92 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(code:message:httpStatusCode:underlyingError:)", + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", "children": [ { "kind": "TypeNominal", - "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" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "CheckoutBuyer", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV" }, { "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": "CheckoutBuyer", + "printedName": "ShopifyCheckoutKit.CheckoutBuyer", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV23__derived_struct_equalsySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", - "init_kind": "Designated" + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B5BuyerV", + "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Var", - "name": "errorDescription", - "printedName": "errorDescription", + "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": "CheckoutCommunicationProtocol", + "printedName": "CheckoutCommunicationProtocol", + "children": [ + { + "kind": "Function", + "name": "process", + "printedName": "process(_:)", "children": [ { "kind": "TypeNominal", @@ -1182,60 +1505,43 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", - "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" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", + "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV", + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", + "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", "conformances": [ { "kind": "Conformance", - "name": "LocalizedError", - "printedName": "LocalizedError", - "usr": "s:10Foundation14LocalizedErrorP", - "mangledName": "$s10Foundation14LocalizedErrorP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", @@ -1250,507 +1556,6120 @@ "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", + "name": "CheckoutConfigurable", + "printedName": "CheckoutConfigurable", "children": [ { - "kind": "Var", - "name": "storefrontPasswordRequired", - "printedName": "storefrontPasswordRequired", + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "customerAccountRequired", - "printedName": "customerAccountRequired", + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "cartExpired", - "printedName": "cartExpired", + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "cartCompleted", - "printedName": "cartCompleted", + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ + "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": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", + "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" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", + "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" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "tintColor", + "printedName": "tintColor(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "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": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": 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:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "moduleName": "ShopifyCheckoutKit", + "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": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP", + "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": "TypeDecl", + "name": "CheckoutDelegate", + "printedName": "CheckoutDelegate", + "children": [ + { + "kind": "Function", + "name": "checkoutDidComplete", + "printedName": "checkoutDidComplete(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0B0VF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0B0VF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidComplete", + "printedName": "checkoutDidComplete(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0B0VF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0B0VF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidDismiss", + "printedName": "checkoutDidDismiss()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidDismiss", + "printedName": "checkoutDidDismiss()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail(error:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail(error:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFail5erroryAA0B5ErrorV_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFail5erroryAA0B5ErrorV_tF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidStart", + "printedName": "checkoutDidStart(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0B0VF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0B0VF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidStart", + "printedName": "checkoutDidStart(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0B0VF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0B0VF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidUpdate", + "printedName": "checkoutDidUpdate(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0B0VF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0B0VF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidUpdate", + "printedName": "checkoutDidUpdate(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0B0VF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0B0VF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "isFromExtension": 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": "CheckoutDiscount", + "printedName": "CheckoutDiscount", + "children": [ + { + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV5titleSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV5titleSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8DiscountV5titleSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV5titleSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "code", + "printedName": "code", + "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:18ShopifyCheckoutKit0B8DiscountV4codeSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV4codeSSSgvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8DiscountV4codeSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV4codeSSSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV6amountSivp", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV6amountSivp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8DiscountV6amountSivg", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV6amountSivg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "automatic", + "printedName": "automatic", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV9automaticSbvp", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV9automaticSbvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV9automaticSbvg", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV9automaticSbvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "provisional", + "printedName": "provisional", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV11provisionalSbvp", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV11provisionalSbvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV11provisionalSbvg", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV11provisionalSbvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutDiscount", + "printedName": "ShopifyCheckoutKit.CheckoutDiscount", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutDiscount", + "printedName": "ShopifyCheckoutKit.CheckoutDiscount", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B8DiscountV", + "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutError", + "printedName": "CheckoutError", + "children": [ + { + "kind": "Var", + "name": "code", + "printedName": "code", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "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" + } + ] + }, + { + "kind": "Var", + "name": "message", + "printedName": "message", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B5ErrorV7messageSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "httpStatusCode", + "printedName": "httpStatusCode", + "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:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": 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:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "underlyingError", + "printedName": "underlyingError", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(code:message:httpStatusCode:underlyingError:)", + "children": [ + { + "kind": "TypeNominal", + "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "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" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", + "moduleName": "ShopifyCheckoutKit", + "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" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", + "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" + } + ] + } + ], + "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": "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": "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": "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": "Var", + "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": "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" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", + "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": "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": "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", + "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": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentAvailability]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentAvailability]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "methods", + "printedName": "methods", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethod", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethod", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV", + "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutFulfillmentAvailability", + "printedName": "CheckoutFulfillmentAvailability", + "children": [ + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvp", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvg", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvg", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvp", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvg", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "fulfillableOn", + "printedName": "fulfillableOn", + "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV", + "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutFulfillmentMethod", + "printedName": "CheckoutFulfillmentMethod", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvp", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvg", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvg", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvp", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "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:18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvg", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", + "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:18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethod", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethod", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV2IDa", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV2IDa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV", + "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Identifiable", + "printedName": "Identifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s12IdentifiableP", + "mangledName": "$ss12IdentifiableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutFulfillmentMethodType", + "printedName": "CheckoutFulfillmentMethodType", + "children": [ + { + "kind": "Var", + "name": "shipping", + "printedName": "shipping", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type) -> ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8shippingyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8shippingyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "pickup", + "printedName": "pickup", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type) -> ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO6pickupyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO6pickupyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentMethodType", + "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8RawValuea", + "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8RawValuea", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvp", + "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:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO", + "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO", + "moduleName": "ShopifyCheckoutKit", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "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": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "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" + }, + { + "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": "CheckoutLineItem", + "printedName": "CheckoutLineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV2idSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV2idSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8LineItemV2idSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV2idSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "merchandiseID", + "printedName": "merchandiseID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvg", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8LineItemV5titleSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV5titleSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8LineItemV5titleSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV5titleSSvg", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8LineItemV8quantitySivp", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV8quantitySivp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8LineItemV8quantitySivg", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV8quantitySivg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "unitPrice", + "printedName": "unitPrice", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV9unitPriceSivp", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV9unitPriceSivp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B8LineItemV9unitPriceSivg", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV9unitPriceSivg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutLineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemTotal", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutLineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemTotal", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "availability", + "printedName": "availability", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvp", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvg", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV2IDa", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV2IDa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV", + "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Identifiable", + "printedName": "Identifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s12IdentifiableP", + "mangledName": "$ss12IdentifiableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutLineItemAvailability", + "printedName": "CheckoutLineItemAvailability", + "children": [ + { + "kind": "Var", + "name": "available", + "printedName": "available", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLineItemAvailability.Type) -> ShopifyCheckoutKit.CheckoutLineItemAvailability", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO9availableyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO9availableyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "outOfStock", + "printedName": "outOfStock", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLineItemAvailability.Type) -> ShopifyCheckoutKit.CheckoutLineItemAvailability", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO10outOfStockyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO10outOfStockyA2CmF", + "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": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLineItemAvailability", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO21__derived_enum_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO21__derived_enum_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "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:18ShopifyCheckoutKit0B20LineItemAvailabilityO4hash4intoys6HasherVz_tF", + "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO4hash4intoys6HasherVz_tF", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivp", + "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivp", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivg", + "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO", + "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO", + "moduleName": "ShopifyCheckoutKit", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutLineItemTotal", + "printedName": "CheckoutLineItemTotal", + "children": [ + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV6amountSivp", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV6amountSivp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B13LineItemTotalV6amountSivg", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV6amountSivg", + "moduleName": "ShopifyCheckoutKit", + "implicit": 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" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLineItemTotal", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLineItemTotal", + "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV", + "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutLineItems", + "printedName": "CheckoutLineItems", + "children": [ + { + "kind": "Var", + "name": "allOutOfStock", + "printedName": "allOutOfStock", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvp", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvg", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Subscript", + "name": "subscript", + "printedName": "subscript(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Subscript", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicip", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicip", + "moduleName": "ShopifyCheckoutKit", + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicig", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicig", + "moduleName": "ShopifyCheckoutKit", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:allOutOfStock:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "hasDefaultArg": true, + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV_13allOutOfStockACSayAA0bD4ItemVG_Sbtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV_13allOutOfStockACSayAA0bD4ItemVG_Sbtcfc", + "moduleName": "ShopifyCheckoutKit", + "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": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV7Elementa", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV7Elementa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV5Indexa", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV5Indexa", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "TypeAlias", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Index", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sn" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV7Indicesa", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV7Indicesa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV8Iteratora", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV8Iteratora", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Slice", + "printedName": "Swift.Slice", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "usr": "s:s5SliceV" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV11SubSequencea", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV11SubSequencea", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "Var", + "name": "endIndex", + "printedName": "endIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV8endIndexSivp", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV8endIndexSivp", + "moduleName": "ShopifyCheckoutKit", + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV8endIndexSivg", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV8endIndexSivg", + "moduleName": "ShopifyCheckoutKit", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "startIndex", + "printedName": "startIndex", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV10startIndexSivp", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV10startIndexSivp", + "moduleName": "ShopifyCheckoutKit", + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV10startIndexSivg", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV10startIndexSivg", + "moduleName": "ShopifyCheckoutKit", + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV", + "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Index", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Slice", + "printedName": "Swift.Slice", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "usr": "s:s5SliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Index", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sk", + "mangledName": "$sSk" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "BidirectionalCollection", + "printedName": "BidirectionalCollection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Index", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Slice", + "printedName": "Swift.Slice", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "usr": "s:s5SliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Index", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:SK", + "mangledName": "$sSK" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Collection", + "printedName": "Collection", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Index", + "printedName": "Index", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Index", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SubSequence", + "printedName": "SubSequence", + "children": [ + { + "kind": "TypeNominal", + "name": "Slice", + "printedName": "Swift.Slice", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "usr": "s:s5SliceV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Indices", + "printedName": "Indices", + "children": [ + { + "kind": "TypeNominal", + "name": "Range", + "printedName": "Swift.Range", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Index", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sn" + } + ] + } + ], + "usr": "s:Sl", + "mangledName": "$sSl" + }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "children": [ + { + "kind": "TypeWitness", + "name": "Element", + "printedName": "Element", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "Iterator", + "printedName": "Iterator", + "children": [ + { + "kind": "TypeNominal", + "name": "IndexingIterator", + "printedName": "Swift.IndexingIterator", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItems", + "printedName": "ShopifyCheckoutKit.CheckoutLineItems", + "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + } + ], + "usr": "s:s16IndexingIteratorV" + } + ] + } + ], + "usr": "s:ST", + "mangledName": "$sST" + }, + { + "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": "CheckoutOrder", + "printedName": "CheckoutOrder", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5OrderV2idSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV2idSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B5OrderV2idSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV2idSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "label", + "printedName": "label", + "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:18ShopifyCheckoutKit0B5OrderV5labelSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV5labelSSSgvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B5OrderV5labelSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV5labelSSSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "permalink", + "printedName": "permalink", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.URL?", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.URL?", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutOrder", + "printedName": "ShopifyCheckoutKit.CheckoutOrder", + "usr": "s:18ShopifyCheckoutKit0B5OrderV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutOrder", + "printedName": "ShopifyCheckoutKit.CheckoutOrder", + "usr": "s:18ShopifyCheckoutKit0B5OrderV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B5OrderV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B5OrderV2IDa", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV2IDa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B5OrderV", + "mangledName": "$s18ShopifyCheckoutKit0B5OrderV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Identifiable", + "printedName": "Identifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s12IdentifiableP", + "mangledName": "$ss12IdentifiableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutPaymentInstrument", + "printedName": "CheckoutPaymentInstrument", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvg", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvg", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selected", + "printedName": "selected", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvp", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvg", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutPaymentInstrument", + "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutPaymentInstrument", + "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV2IDa", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV2IDa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV", + "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Identifiable", + "printedName": "Identifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "ID", + "printedName": "ID", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s12IdentifiableP", + "mangledName": "$ss12IdentifiableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutPreload", + "printedName": "CheckoutPreload", + "children": [ + { + "kind": "Var", + "name": "onStateChange", + "printedName": "onStateChange", + "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": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasInitialValue", + "Final", + "HasStorage", + "Custom" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "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": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "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: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": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "Var", + "name": "$state", + "printedName": "$state", + "children": [ + { + "kind": "TypeNominal", + "name": "Publisher", + "printedName": "Combine.Published.Publisher", + "usr": "s:7Combine9PublishedV9PublisherV" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final", + "SetterAccess", + "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" + } + ] + }, + { + "kind": "Var", + "name": "state", + "printedName": "state", + "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" } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, + ] + } + ], + "declKind": "Class", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Final", + "Custom" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ { - "kind": "Var", - "name": "invalidCart", - "printedName": "invalidCart", + "kind": "Conformance", + "name": "ObservableObject", + "printedName": "ObservableObject", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "kind": "TypeWitness", + "name": "ObjectWillChangePublisher", + "printedName": "ObjectWillChangePublisher", "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" - } - ] + "name": "ObservableObjectPublisher", + "printedName": "Combine.ObservableObjectPublisher", + "usr": "s:7Combine25ObservableObjectPublisherC" } ] } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "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" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutProtocol", + "printedName": "CheckoutProtocol", + "children": [ { "kind": "Var", - "name": "httpError", - "printedName": "httpError", + "name": "complete", + "printedName": "complete", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "networkError", - "printedName": "networkError", - "children": [ + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "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": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" + ] }, { "kind": "Var", - "name": "webContentProcessTerminated", - "printedName": "webContentProcessTerminated", + "name": "error", + "printedName": "error", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "sdkError", - "printedName": "sdkError", - "children": [ + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "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" } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" + ] }, { "kind": "Var", - "name": "unknown", - "printedName": "unknown", + "name": "buyerChange", + "printedName": "buyerChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocol0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "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": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocol0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } - ] + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", - "moduleName": "ShopifyCheckoutKit" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", - "implicit": true, + "static": true, "declAttributes": [ - "Inlinable" + "HasInitialValue", + "HasStorage" ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "AllCases", - "printedName": "AllCases", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "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" } ], - "usr": "s:Sa" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", - "moduleName": "ShopifyCheckoutKit", - "implicit": true + ] }, { "kind": "Var", - "name": "allCases", - "printedName": "allCases", + "name": "lineItemsChange", + "printedName": "lineItemsChange", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, - "implicit": true, "declAttributes": [ - "Nonisolated" + "HasInitialValue", + "HasStorage" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -1759,287 +7678,151 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "messagesChange", + "printedName": "messagesChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "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" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", - "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": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "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": "CaseIterable", - "printedName": "CaseIterable", - "children": [ + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeWitness", - "name": "AllCases", - "printedName": "AllCases", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sa" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } - ] - } - ], - "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", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "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" - }, - { - "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": "CheckoutPreload", - "printedName": "CheckoutPreload", - "children": [ + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", - "name": "onStateChange", - "printedName": "onStateChange", + "name": "paymentChange", + "printedName": "paymentChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "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": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocol0B0V" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ "HasInitialValue", - "Final", - "HasStorage", - "Custom" + "HasStorage" ], + "isLet": true, "hasStorage": true, "accessors": [ { @@ -2049,144 +7832,152 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "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": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocol0B0V" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ - "Final" + "Transparent" ], "accessorKind": "get" - }, + } + ] + }, + { + "kind": "Var", + "name": "start", + "printedName": "start", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "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": "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": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ - "Final" + "Transparent" ], - "accessorKind": "set" + "accessorKind": "get" } ] }, - { - "kind": "TypeAlias", - "name": "ObjectWillChangePublisher", - "printedName": "ObjectWillChangePublisher", - "children": [ - { - "kind": "TypeNominal", - "name": "ObservableObjectPublisher", - "printedName": "Combine.ObservableObjectPublisher", - "usr": "s:7Combine25ObservableObjectPublisherC" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - }, { "kind": "Var", - "name": "$state", - "printedName": "$state", + "name": "totalsChange", + "printedName": "totalsChange", "children": [ { "kind": "TypeNominal", - "name": "Publisher", - "printedName": "Combine.Published.Publisher", - "usr": "s:7Combine9PublishedV9PublisherV" + "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", - "implicit": true, + "static": true, "declAttributes": [ - "Final", - "SetterAccess", - "Custom" + "HasInitialValue", + "HasStorage" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -2195,18 +7986,33 @@ "children": [ { "kind": "TypeNominal", - "name": "Publisher", - "printedName": "Combine.Published.Publisher", - "usr": "s:7Combine9PublishedV9PublisherV" + "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:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ - "Final" + "Transparent" ], "accessorKind": "get" } @@ -2214,27 +8020,47 @@ }, { "kind": "Var", - "name": "state", - "printedName": "state", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ - "Final", - "ProjectedValueProperty", - "SetterAccess", - "Custom", - "Custom" + "HasInitialValue", + "HasStorage" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -2243,63 +8069,93 @@ "children": [ { "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + "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:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ - "Final" + "Transparent" ], "accessorKind": "get" } ] - } - ], - "declKind": "Class", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Final", - "Custom" - ], - "hasMissingDesignatedInitializers": true, - "conformances": [ + }, { - "kind": "Conformance", - "name": "ObservableObject", - "printedName": "ObservableObject", + "kind": "Function", + "name": "url", + "printedName": "url(for:)", "children": [ { - "kind": "TypeWitness", - "name": "ObjectWillChangePublisher", - "printedName": "ObjectWillChangePublisher", - "children": [ - { - "kind": "TypeNominal", - "name": "ObservableObjectPublisher", - "printedName": "Combine.ObservableObjectPublisher", - "usr": "s:7Combine25ObservableObjectPublisherC" - } - ] + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:7Combine16ObservableObjectP", - "mangledName": "$s7Combine16ObservableObjectP" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "kind": "TypeAlias", + "name": "Client", + "printedName": "Client", + "children": [ + { + "kind": "TypeNominal", + "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", @@ -2313,366 +8169,307 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutProtocol", - "printedName": "CheckoutProtocol", + "name": "CheckoutStatus", + "printedName": "CheckoutStatus", "children": [ { "kind": "Var", - "name": "complete", - "printedName": "complete", + "name": "incomplete", + "printedName": "incomplete", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B6StatusO10incompleteyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO10incompleteyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "readyForComplete", + "printedName": "readyForComplete", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", "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" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + } + ] + } + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B6StatusO16readyForCompleteyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO16readyForCompleteyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "completeInProgress", + "printedName": "completeInProgress", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" }, { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B6StatusO18completeInProgressyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO18completeInProgressyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "completed", + "printedName": "completed", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B6StatusO9completedyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO9completedyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "fulfillmentChange", - "printedName": "fulfillmentChange", + "name": "canceled", + "printedName": "canceled", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B6StatusO8canceledyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8canceledyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "requiresEscalation", + "printedName": "requiresEscalation", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B6StatusO18requiresEscalationyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO18requiresEscalationyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { - "kind": "Var", - "name": "lineItemsChange", - "printedName": "lineItemsChange", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutStatus?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutStatus", + "printedName": "ShopifyCheckoutKit.CheckoutStatus", + "usr": "s:18ShopifyCheckoutKit0B6StatusO" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B6StatusO8rawValueACSgSS_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8rawValueACSgSS_tcfc", "moduleName": "ShopifyCheckoutKit", - "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "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": "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": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B6StatusO8RawValuea", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8RawValuea", + "moduleName": "ShopifyCheckoutKit", + "implicit": true }, { "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", + "name": "rawValue", + "printedName": "rawValue", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B6StatusO8rawValueSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8rawValueSSvp", "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -2681,71 +8478,119 @@ "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B6StatusO8rawValueSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8rawValueSSvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B6StatusO", + "mangledName": "$s18ShopifyCheckoutKit0B6StatusO", + "moduleName": "ShopifyCheckoutKit", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { - "kind": "Var", - "name": "start", - "printedName": "start", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B5TotalV4typeSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV4typeSSvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2758,30 +8603,15 @@ "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5TotalV4typeSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV4typeSSvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2792,37 +8622,21 @@ }, { "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", + "name": "amount", + "printedName": "amount", "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B5TotalV6amountSivp", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV6amountSivp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2835,30 +8649,15 @@ "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5TotalV6amountSivg", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV6amountSivg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2869,43 +8668,29 @@ }, { "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "usr": "s:18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -2918,36 +8703,23 @@ "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -2958,53 +8730,66 @@ }, { "kind": "Function", - "name": "url", - "printedName": "url(for:)", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "CheckoutTotal", + "printedName": "ShopifyCheckoutKit.CheckoutTotal", + "usr": "s:18ShopifyCheckoutKit0B5TotalV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "ShopifyCheckoutKit.CheckoutTotal", + "usr": "s:18ShopifyCheckoutKit0B5TotalV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "usr": "s:18ShopifyCheckoutKit0B5TotalV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV23__derived_struct_equalsySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", "static": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "Client", - "printedName": "Client", - "children": [ - { - "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - } + "implicit": true, + "declAttributes": [ + "Implements" ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "moduleName": "ShopifyCheckoutKit" + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO", + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B5TotalV", + "mangledName": "$s18ShopifyCheckoutKit0B5TotalV", "moduleName": "ShopifyCheckoutKit", - "isEnumExhaustive": true, "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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", @@ -3156,7 +8941,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:delegate:client:)", + "printedName": "init(checkout:delegate:)", "children": [ { "kind": "TypeNominal", @@ -3184,26 +8969,11 @@ ], "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": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", + "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegateAC10Foundation3URLV_AA0B8Delegate_pSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegateAC10Foundation3URLV_AA0B8Delegate_pSgtcfc", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Custom" @@ -7918,35 +13688,6 @@ ], "init_kind": "Designated" }, - { - "kind": "Function", - "name": "connect", - "printedName": "connect(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "DiscardableResult", - "Custom" - ], - "funcSelfKind": "NonMutating" - }, { "kind": "Function", "name": "makeUIViewController", @@ -7990,6 +13731,54 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "onComplete", + "printedName": "onComplete(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.Checkout) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ] + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V10onCompleteyACyAA0B0VcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V10onCompleteyACyAA0B0VcF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Preconcurrency", + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "onDismiss", @@ -8085,6 +13874,102 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "onStart", + "printedName": "onStart(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.Checkout) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ] + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V7onStartyACyAA0B0VcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V7onStartyACyAA0B0VcF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Preconcurrency", + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdate", + "printedName": "onUpdate(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.Checkout) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ] + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V8onUpdateyACyAA0B0VcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V8onUpdateyACyAA0B0VcF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Preconcurrency", + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "updateUIViewController", From 7e547c5f634d188f4fdb67ffffc62da43c5772d5 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 8 Sep 2026 12:20:37 +0100 Subject: [PATCH 06/23] Isolate checkout delegates to main actor --- .../App/CartResettingCheckoutDelegate.swift | 20 +++++------ .../ShopifyCheckoutKit/CheckoutDelegate.swift | 1 + .../Mocks/MockCheckoutDelegate.swift | 1 + platforms/swift/api/ShopifyCheckoutKit.json | 33 +++++++++++++++++++ 4 files changed, 43 insertions(+), 12 deletions(-) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift index 6a4092a17..0106747df 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift @@ -4,20 +4,16 @@ import ShopifyCheckoutKit final class CartResettingCheckoutDelegate: CheckoutDelegate { private var completed = false - nonisolated func checkoutDidComplete(_ checkout: Checkout) { - MainActor.assumeIsolated { - print("[CheckoutKit] Checkout completed: \(checkout.order?.id ?? "unknown")") - completed = true - } + func checkoutDidComplete(_ checkout: Checkout) { + print("[CheckoutKit] Checkout completed: \(checkout.order?.id ?? "unknown")") + completed = true } - nonisolated func checkoutDidDismiss() { - MainActor.assumeIsolated { - guard completed else { return } - completed = false - CartManager.shared.resetCart() - } + func checkoutDidDismiss() { + guard completed else { return } + completed = false + CartManager.shared.resetCart() } - nonisolated func checkoutDidFail(error _: CheckoutError) {} + func checkoutDidFail(error _: CheckoutError) {} } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift index 0b4d100cc..9aee4a23f 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift @@ -1,6 +1,7 @@ import Foundation /// A delegate protocol for managing checkout lifecycle events. +@MainActor public protocol CheckoutDelegate: AnyObject { /// Tells the delegate that the buyer started checkout. func checkoutDidStart(_ checkout: Checkout) diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift index bf05bab20..ed8a33f96 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift @@ -10,6 +10,7 @@ struct MockBridgeClient: CheckoutCommunicationProtocol { } } +@MainActor final class MockCheckoutDelegate: CheckoutDelegate { private(set) var didStartCheckouts: [Checkout] = [] private(set) var didUpdateCheckouts: [Checkout] = [] diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 3597c36d9..e40f93f0b 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -1923,6 +1923,9 @@ "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, + "declAttributes": [ + "Custom" + ], "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, @@ -1948,6 +1951,9 @@ "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0B0VF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", + "declAttributes": [ + "Custom" + ], "isFromExtension": true, "funcSelfKind": "NonMutating" }, @@ -1968,6 +1974,9 @@ "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, + "declAttributes": [ + "Custom" + ], "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, @@ -1987,6 +1996,9 @@ "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", + "declAttributes": [ + "Custom" + ], "isFromExtension": true, "funcSelfKind": "NonMutating" }, @@ -2013,6 +2025,9 @@ "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, + "declAttributes": [ + "Custom" + ], "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, @@ -2038,6 +2053,9 @@ "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFail5erroryAA0B5ErrorV_tF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", + "declAttributes": [ + "Custom" + ], "isFromExtension": true, "funcSelfKind": "NonMutating" }, @@ -2064,6 +2082,9 @@ "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, + "declAttributes": [ + "Custom" + ], "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, @@ -2089,6 +2110,9 @@ "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0B0VF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", + "declAttributes": [ + "Custom" + ], "isFromExtension": true, "funcSelfKind": "NonMutating" }, @@ -2115,6 +2139,9 @@ "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, + "declAttributes": [ + "Custom" + ], "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, @@ -2140,6 +2167,9 @@ "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0B0VF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", + "declAttributes": [ + "Custom" + ], "isFromExtension": true, "funcSelfKind": "NonMutating" } @@ -2149,6 +2179,9 @@ "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP", "moduleName": "ShopifyCheckoutKit", "genericSig": "", + "declAttributes": [ + "Custom" + ], "conformances": [ { "kind": "Conformance", From 2a9551146c03fddf20ce210d8193f93dcddcd283 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 8 Sep 2026 12:59:15 +0100 Subject: [PATCH 07/23] Add consumer link handling policy --- .../ShopifyCheckoutKit/CheckoutDelegate.swift | 7 + .../ShopifyCheckoutKit/CheckoutLink.swift | 22 + .../CheckoutViewController.swift | 15 + .../ShopifyCheckoutKit/CheckoutWebView.swift | 18 +- .../CheckoutWebViewController.swift | 7 + .../CheckoutWebViewControllerTests.swift | 16 + .../CheckoutWebViewTests.swift | 36 ++ .../Mocks/MockCheckoutDelegate.swift | 7 + .../SwiftUITests.swift | 13 + platforms/swift/api/ShopifyCheckoutKit.json | 520 ++++++++++++++++++ 10 files changed, 657 insertions(+), 4 deletions(-) create mode 100644 platforms/swift/Sources/ShopifyCheckoutKit/CheckoutLink.swift diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift index 9aee4a23f..b994271c6 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift @@ -12,6 +12,9 @@ public protocol CheckoutDelegate: AnyObject { /// Tells the delegate that checkout completed. func checkoutDidComplete(_ checkout: Checkout) + /// Asks the delegate how to handle a link clicked in checkout. + func checkoutAction(for link: CheckoutLink) -> CheckoutLinkAction + /// Tells the delegate that the buyer dismissed checkout. func checkoutDidDismiss() @@ -25,6 +28,10 @@ extension CheckoutDelegate { public func checkoutDidStart(_: Checkout) {} public func checkoutDidUpdate(_: Checkout) {} public func checkoutDidComplete(_: Checkout) {} + public func checkoutAction(for _: CheckoutLink) -> CheckoutLinkAction { + .open + } + public func checkoutDidDismiss() {} public func checkoutDidFail(error _: CheckoutError) {} } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutLink.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutLink.swift new file mode 100644 index 000000000..df51b8744 --- /dev/null +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutLink.swift @@ -0,0 +1,22 @@ +import Foundation + +/// A link that checkout asked the host app to open. +public struct CheckoutLink: Equatable, Sendable { + public let url: URL + + public init(url: URL) { + self.url = url + } +} + +/// The action Checkout Kit should take for a link clicked in checkout. +public enum CheckoutLinkAction: Equatable, Sendable { + /// Open the link using Checkout Kit's default system behavior. + case open + + /// Do not open the link. + case cancel + + /// The app handled the link itself. + case handled +} diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift index bbc2d1fa7..7c5ad3696 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift @@ -43,6 +43,7 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab var onStartAction: ((Checkout) -> Void)? var onUpdateAction: ((Checkout) -> Void)? var onCompleteAction: ((Checkout) -> Void)? + var onLinkClickAction: ((CheckoutLink) -> CheckoutLinkAction)? var onDismissAction: (() -> Void)? var onFailAction: ((CheckoutError) -> Void)? @@ -77,6 +78,7 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab webViewController.onStart = onStartAction webViewController.onUpdate = onUpdateAction webViewController.onComplete = onCompleteAction + webViewController.onLinkClick = onLinkClickAction webViewController.onDismiss = onDismissAction webViewController.onFail = onFailAction } @@ -99,6 +101,19 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab return copy } + /// Registers a handler for links clicked in checkout. + /// + /// Return ``CheckoutLinkAction/open`` to use Checkout Kit's default behavior, + /// ``CheckoutLinkAction/handled`` when your app handled the link, or + /// ``CheckoutLinkAction/cancel`` to reject it. + @discardableResult public func onLinkClick( + _ action: @escaping (CheckoutLink) -> CheckoutLinkAction + ) -> Self { + var copy = self + copy.onLinkClickAction = action + return copy + } + @discardableResult public func onDismiss(_ action: @escaping () -> Void) -> Self { var copy = self copy.onDismissAction = action diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift index ac0d1dc52..a6afd0f64 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift @@ -318,6 +318,7 @@ class CheckoutWebView: WKWebView { var client: (any CheckoutCommunicationProtocol)? var externalURLHandler: any ExternalURLHandling = UIApplicationExternalURLHandler() + var linkActionProvider: ((CheckoutLink) -> CheckoutLinkAction)? /// Resolves whether a navigation targets the main frame. Overridable in tests. var navigationIsMainFrame: (WKNavigationAction) -> Bool = { $0.targetFrame?.isMainFrame == true } @@ -341,9 +342,9 @@ class CheckoutWebView: WKWebView { /// ready result carries only the UCP envelope and the kit simply answers the /// delegated calls it supports. It is abstracted from consumers and cannot be /// overridden by a merchant-supplied client. - /// - `window.open` - opens web URLs in `SFSafariViewController` so buyers stay in an - /// in-app browser surface, and routes non-web URLs through `externalURLHandler` - /// (consumers may still override via their own client). + /// - `window.open` - consults the public link action handler, then by default opens web + /// URLs in `SFSafariViewController` so buyers stay in an in-app browser surface and + /// routes non-web URLs through `externalURLHandler`. lazy var defaultsClient: CheckoutProtocol.Client = .init() .onDecodeError { [entryPoint] method, error, params in OSLogger.shared.error("Failed to decode \(method) payload: \(error)") @@ -377,11 +378,20 @@ class CheckoutWebView: WKWebView { guard cacheContainsCompletedView || cacheContainsItsReplacement else { return } CheckoutWebView.preloadCache.evict(with: .idle) } - .on(CheckoutProtocol.windowOpen) { [externalURLHandler] request in + .on(CheckoutProtocol.windowOpen) { [weak self, externalURLHandler] request in guard let target = request.parsedURL else { return .rejected(reason: "failed to open URL") } + switch self?.linkActionProvider?(CheckoutLink(url: target)) ?? .open { + case .handled: + return .success() + case .cancel: + return .rejected(reason: "link opening canceled") + case .open: + break + } + let scheme = target.scheme?.lowercased() guard scheme == "http" || scheme == "https", let presenter = UIApplication.shared.foregroundActiveWindow?.topMostViewController() diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift index 3b12ec7b0..1c72378b4 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift @@ -10,6 +10,7 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl var onStart: ((Checkout) -> Void)? var onUpdate: ((Checkout) -> Void)? var onComplete: ((Checkout) -> Void)? + var onLinkClick: ((CheckoutLink) -> CheckoutLinkAction)? var onDismiss: (() -> Void)? var onFail: ((CheckoutError) -> Void)? weak var delegate: (any CheckoutDelegate)? @@ -76,6 +77,11 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl super.init(nibName: nil, bundle: nil) + checkoutView.linkActionProvider = { [weak self] link in + guard let self else { return .open } + return onLinkClick?(link) ?? delegate?.checkoutAction(for: link) ?? .open + } + checkoutView.client = CheckoutEventAdapter(base: client, sink: self) title = ShopifyCheckoutKit.configuration.title @@ -186,6 +192,7 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl if let checkoutView, CheckoutWebView.preloadCache.retainAfterPresentation(checkoutView) { checkoutView.viewDelegate = nil checkoutView.client = nil + checkoutView.linkActionProvider = nil checkoutView.removeFromSuperview() } else { checkoutView?.cleanUpForDismissal() diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift index a87829499..2e1169eb2 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift @@ -107,6 +107,22 @@ class CheckoutWebViewControllerTests: XCTestCase { XCTAssertEqual(delegate.didDismissCount, 1) } + func test_linkClickUsesDelegateAction() async throws { + let delegate = MockCheckoutDelegate() + delegate.linkAction = .handled + let viewController = TestableCheckoutWebViewController(checkoutURL: url, delegate: delegate, entryPoint: nil) + let body = #"{"jsonrpc":"2.0","method":"ec.window.open_request","id":"link-1","params":{"url":"https://example.com/policy"}}"# + + let rawResponse = await viewController.checkoutView?.defaultsClient.process(body) + let response = try XCTUnwrap(rawResponse) + let parsed = try XCTUnwrap(try JSONSerialization.jsonObject(with: Data(response.utf8)) as? [String: Any]) + let result = try XCTUnwrap(parsed["result"] as? [String: Any]) + let ucp = try XCTUnwrap(result["ucp"] as? [String: Any]) + + XCTAssertEqual(ucp["status"] as? String, "success") + XCTAssertEqual(delegate.clickedLinks, try [CheckoutLink(url: XCTUnwrap(URL(string: "https://example.com/policy")))]) + } + func test_presentationControllerDidDismiss_doesNotCleanUpBeforeViewDisappears() throws { ShopifyCheckoutKit.configuration.preloading.enabled = true ShopifyCheckoutKit.preload(checkout: url) diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift index bd319dfa5..89ccf055d 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift @@ -1024,6 +1024,42 @@ class CheckoutWebViewTests: XCTestCase { XCTAssertEqual(externalURLHandler.openedURL?.absoluteString, "unhandled-scheme://nowhere") } + @MainActor + func testDefaultsClientDoesNotOpenLinkHandledByConsumer() async throws { + let body = #"{"jsonrpc":"2.0","method":"ec.window.open_request","id":"req-window-1","params":{"url":"https://example.com/policy"}}"# + let externalURLHandler = MockExternalURLHandler(didOpen: true) + view.externalURLHandler = externalURLHandler + view.linkActionProvider = { _ in .handled } + + let raw = await view.defaultsClient.process(body) + let response = try XCTUnwrap(raw) + let parsed = try XCTUnwrap(try JSONSerialization.jsonObject(with: Data(response.utf8)) as? [String: Any]) + let resultBody = try XCTUnwrap(parsed["result"] as? [String: Any]) + let ucp = try XCTUnwrap(resultBody["ucp"] as? [String: Any]) + + XCTAssertEqual(ucp["status"] as? String, "success") + XCTAssertNil(externalURLHandler.openedURL) + } + + @MainActor + func testDefaultsClientRejectsLinkCanceledByConsumer() async throws { + let body = #"{"jsonrpc":"2.0","method":"ec.window.open_request","id":"req-window-1","params":{"url":"https://example.com/policy"}}"# + let externalURLHandler = MockExternalURLHandler(didOpen: true) + view.externalURLHandler = externalURLHandler + view.linkActionProvider = { _ in .cancel } + + let raw = await view.defaultsClient.process(body) + let response = try XCTUnwrap(raw) + let parsed = try XCTUnwrap(try JSONSerialization.jsonObject(with: Data(response.utf8)) as? [String: Any]) + let resultBody = try XCTUnwrap(parsed["result"] as? [String: Any]) + let ucp = try XCTUnwrap(resultBody["ucp"] as? [String: Any]) + let messages = try XCTUnwrap(resultBody["messages"] as? [[String: Any]]) + + XCTAssertEqual(ucp["status"] as? String, "error") + XCTAssertEqual(messages.first?["content"] as? String, "link opening canceled") + XCTAssertNil(externalURLHandler.openedURL) + } + @MainActor func testDefaultsClientFallsBackToExternalHandlerForWebURLWhenNoPresenter() async throws { let body = #"{"jsonrpc":"2.0","method":"ec.window.open_request","id":"req-window-1","params":{"url":"https://example.com/policy"}}"# diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift index ed8a33f96..eba281a51 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift @@ -15,6 +15,8 @@ final class MockCheckoutDelegate: CheckoutDelegate { private(set) var didStartCheckouts: [Checkout] = [] private(set) var didUpdateCheckouts: [Checkout] = [] private(set) var didCompleteCheckouts: [Checkout] = [] + private(set) var clickedLinks: [CheckoutLink] = [] + var linkAction: CheckoutLinkAction = .open private(set) var didDismissCount = 0 private(set) var didFailErrors: [CheckoutError] = [] @@ -30,6 +32,11 @@ final class MockCheckoutDelegate: CheckoutDelegate { didCompleteCheckouts.append(checkout) } + func checkoutAction(for link: CheckoutLink) -> CheckoutLinkAction { + clickedLinks.append(link) + return linkAction + } + func checkoutDidDismiss() { didDismissCount += 1 } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift index 762a99e14..a7aedbc6e 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift @@ -69,6 +69,19 @@ class ShopifyCheckoutTests: XCTestCase { XCTAssertNotNil(sheet.onUpdateAction) XCTAssertNotNil(sheet.onCompleteAction) } + + func testOnLinkClick() throws { + let expectedLink = try CheckoutLink(url: XCTUnwrap(URL(string: "https://example.com/policy"))) + var receivedLink: CheckoutLink? + + let sheet = shopifyCheckout.onLinkClick { link in + receivedLink = link + return .handled + } + + XCTAssertEqual(sheet.onLinkClickAction?(expectedLink), .handled) + XCTAssertEqual(receivedLink, expectedLink) + } } @MainActor diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index e40f93f0b..69b0a0727 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -1900,6 +1900,65 @@ "name": "CheckoutDelegate", "printedName": "CheckoutDelegate", "children": [ + { + "kind": "Function", + "name": "checkoutAction", + "printedName": "checkoutAction(for:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutAction", + "printedName": "checkoutAction(for:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "checkoutDidComplete", @@ -6416,6 +6475,425 @@ } ] }, + { + "kind": "TypeDecl", + "name": "CheckoutLink", + "printedName": "CheckoutLink", + "children": [ + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvp", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "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:18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvg", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(url:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B4LinkV3urlAC10Foundation3URLV_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3urlAC10Foundation3URLV_tcfc", + "moduleName": "ShopifyCheckoutKit", + "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": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B4LinkV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B4LinkV", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutLinkAction", + "printedName": "CheckoutLinkAction", + "children": [ + { + "kind": "Var", + "name": "open", + "printedName": "open", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO4openyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO4openyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "cancel", + "printedName": "cancel", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO6cancelyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO6cancelyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "handled", + "printedName": "handled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO7handledyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO7handledyA2CmF", + "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": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO21__derived_enum_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO21__derived_enum_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "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:18ShopifyCheckoutKit0B10LinkActionO4hash4intoys6HasherVz_tF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO4hash4intoys6HasherVz_tF", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO9hashValueSivp", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO9hashValueSivp", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO9hashValueSivg", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO9hashValueSivg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO", + "moduleName": "ShopifyCheckoutKit", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutOrder", @@ -13907,6 +14385,48 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "onLinkClick", + "printedName": "onLinkClick(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ] + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V11onLinkClickyAcA0bE6ActionOAA0bE0VcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V11onLinkClickyAcA0bE6ActionOAA0bE0VcF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Preconcurrency", + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "onStart", From 31b38b3b71c6e933199200613b9e30f8c0d98a0e Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 8 Sep 2026 13:16:21 +0100 Subject: [PATCH 08/23] Keep checkout line items unannotated --- .../Sources/ShopifyCheckoutKit/Checkout.swift | 64 +- .../CheckoutEventAdapterTests.swift | 3 +- .../CheckoutViewControllerTests.swift | 2 +- platforms/swift/api/ShopifyCheckoutKit.json | 1077 +---------------- 4 files changed, 47 insertions(+), 1099 deletions(-) diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift b/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift index e026dd7de..f90f2603a 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift @@ -12,7 +12,7 @@ public struct Checkout: Equatable, Sendable { public let status: CheckoutStatus public let currency: String public let buyer: CheckoutBuyer? - public let lineItems: CheckoutLineItems + public let lineItems: [CheckoutLineItem] public let totals: [CheckoutTotal] public let fulfillment: CheckoutFulfillment? public let discounts: [CheckoutDiscount] @@ -24,7 +24,7 @@ public struct Checkout: Equatable, Sendable { status: CheckoutStatus, currency: String, buyer: CheckoutBuyer? = nil, - lineItems: CheckoutLineItems, + lineItems: [CheckoutLineItem], totals: [CheckoutTotal], fulfillment: CheckoutFulfillment? = nil, discounts: [CheckoutDiscount] = [], @@ -60,32 +60,6 @@ public struct CheckoutBuyer: Equatable, Sendable { public let phoneNumber: String? } -public struct CheckoutLineItems: RandomAccessCollection, Equatable, Sendable { - public typealias Index = Int - - private let items: [CheckoutLineItem] - - /// Whether Checkout Kit determined that every item was removed because it is out of stock. - public let allOutOfStock: Bool - - public init(_ items: [CheckoutLineItem], allOutOfStock: Bool = false) { - self.items = items - self.allOutOfStock = allOutOfStock - } - - public var startIndex: Int { - items.startIndex - } - - public var endIndex: Int { - items.endIndex - } - - public subscript(position: Int) -> CheckoutLineItem { - items[position] - } -} - public struct CheckoutLineItem: Identifiable, Equatable, Sendable { public let id: String public let merchandiseID: String @@ -93,12 +67,6 @@ public struct CheckoutLineItem: Identifiable, Equatable, Sendable { public let quantity: Int public let unitPrice: Int public let totals: [CheckoutLineItemTotal] - public let availability: CheckoutLineItemAvailability -} - -public enum CheckoutLineItemAvailability: Equatable, Sendable { - case available - case outOfStock } public struct CheckoutLineItemTotal: Equatable, Sendable { @@ -171,8 +139,7 @@ extension Checkout { return nil } - let outOfStockIndexes = Set((checkout.messages ?? []).compactMap(Self.outOfStockLineItemIndex)) - let items = checkout.lineItems.enumerated().map { index, lineItem in + let items = checkout.lineItems.map { lineItem in CheckoutLineItem( id: lineItem.id, merchandiseID: lineItem.item.id, @@ -181,13 +148,9 @@ extension Checkout { unitPrice: lineItem.item.price, totals: lineItem.totals.map { CheckoutLineItemTotal(type: $0.type, amount: $0.amount, displayText: $0.displayText) - }, - availability: outOfStockIndexes.contains(index) ? .outOfStock : .available + } ) } - let hasOutOfStockMessage = (checkout.messages ?? []).contains { $0.code == "out_of_stock" } - let allOutOfStock = (items.isEmpty && hasOutOfStockMessage) - || (!items.isEmpty && items.allSatisfy { $0.availability == .outOfStock }) id = checkout.id status = CheckoutStatus(rawValue: checkout.status) ?? .incomplete @@ -200,7 +163,7 @@ extension Checkout { phoneNumber: $0.phoneNumber ) } - lineItems = CheckoutLineItems(items, allOutOfStock: allOutOfStock) + lineItems = items totals = checkout.totals.map { CheckoutTotal(type: $0.type, amount: $0.amount, displayText: $0.displayText) } @@ -245,15 +208,6 @@ extension Checkout { CheckoutOrder(id: $0.id, label: $0.label, permalink: URL(string: $0.permalinkURL)) } } - - private static func outOfStockLineItemIndex(_ message: ProtocolCheckoutProjection.Message) -> Int? { - guard message.code == "out_of_stock", let path = message.path else { return nil } - let prefix = "$.line_items[" - guard path.hasPrefix(prefix), let closingBracket = path[prefix.endIndex...].firstIndex(of: "]") else { - return nil - } - return Int(path[prefix.endIndex ..< closingBracket]) - } } private struct ProtocolCheckoutProjection: Decodable { @@ -263,7 +217,6 @@ private struct ProtocolCheckoutProjection: Decodable { let fulfillment: Fulfillment? let id: String let lineItems: [LineItem] - let messages: [Message]? let order: Order? let payment: Payment? let status: String @@ -272,7 +225,7 @@ private struct ProtocolCheckoutProjection: Decodable { enum CodingKeys: String, CodingKey { case buyer, currency, discounts, fulfillment, id case lineItems = "line_items" - case messages, order, payment, status, totals + case order, payment, status, totals } struct Buyer: Decodable { @@ -326,11 +279,6 @@ private struct ProtocolCheckoutProjection: Decodable { } } - struct Message: Decodable { - let code: String? - let path: String? - } - struct Fulfillment: Decodable { let availableMethods: [AvailableMethod]? let methods: [Method]? diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift index 4fcaade97..6e92ed268 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift @@ -56,7 +56,7 @@ final class CheckoutEventAdapterTests: XCTestCase { XCTAssertEqual(sink.completed.count, 1) } - func testOutOfStockMessageIsDerivedInsteadOfExposed() async throws { + func testProtocolMessagesDoNotAddDerivedLineItemState() async throws { let sink = RecordingCheckoutEventSink() let adapter = CheckoutEventAdapter(sink: sink) @@ -67,7 +67,6 @@ final class CheckoutEventAdapterTests: XCTestCase { let checkout = try XCTUnwrap(sink.updated.first) XCTAssertTrue(checkout.lineItems.isEmpty) - XCTAssertTrue(checkout.lineItems.allOutOfStock) } private func message( diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift index fc37d1c45..2c1bedd40 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift @@ -80,7 +80,7 @@ class CheckoutViewDelegateTests: XCTestCase { id: "checkout-1", status: .incomplete, currency: "USD", - lineItems: CheckoutLineItems([]), + lineItems: [], totals: [] ) diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 69b0a0727..1ee9cdf39 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -593,14 +593,22 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvp", + "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -615,14 +623,22 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsAA0b4LineE0Vvg", + "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -988,9 +1004,17 @@ }, { "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLineItem", + "printedName": "ShopifyCheckoutKit.CheckoutLineItem", + "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + } + ], + "usr": "s:Sa" }, { "kind": "TypeNominal", @@ -1068,8 +1092,8 @@ } ], "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgAA0b4LineI0VSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgAA0b4LineI0VSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", + "usr": "s:18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgSayAA0B8LineItemVGSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgSayAA0B8LineItemVGSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", "moduleName": "ShopifyCheckoutKit", "init_kind": "Designated" }, @@ -5097,52 +5121,6 @@ } ] }, - { - "kind": "Var", - "name": "availability", - "printedName": "availability", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvp", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvg", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV12availabilityAA0bdE12AvailabilityOvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Function", "name": "__derived_struct_equals", @@ -5261,235 +5239,6 @@ } ] }, - { - "kind": "TypeDecl", - "name": "CheckoutLineItemAvailability", - "printedName": "CheckoutLineItemAvailability", - "children": [ - { - "kind": "Var", - "name": "available", - "printedName": "available", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutLineItemAvailability.Type) -> ShopifyCheckoutKit.CheckoutLineItemAvailability", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO9availableyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO9availableyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "outOfStock", - "printedName": "outOfStock", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutLineItemAvailability.Type) -> ShopifyCheckoutKit.CheckoutLineItemAvailability", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO10outOfStockyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO10outOfStockyA2CmF", - "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": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - }, - { - "kind": "TypeNominal", - "name": "CheckoutLineItemAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemAvailability", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO21__derived_enum_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO21__derived_enum_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "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:18ShopifyCheckoutKit0B20LineItemAvailabilityO4hash4intoys6HasherVz_tF", - "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO4hash4intoys6HasherVz_tF", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivp", - "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivp", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivg", - "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO9hashValueSivg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B20LineItemAvailabilityO", - "mangledName": "$s18ShopifyCheckoutKit0B20LineItemAvailabilityO", - "moduleName": "ShopifyCheckoutKit", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutLineItemTotal", @@ -5727,754 +5476,6 @@ } ] }, - { - "kind": "TypeDecl", - "name": "CheckoutLineItems", - "printedName": "CheckoutLineItems", - "children": [ - { - "kind": "Var", - "name": "allOutOfStock", - "printedName": "allOutOfStock", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvp", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvg", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV13allOutOfStockSbvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Subscript", - "name": "subscript", - "printedName": "subscript(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Subscript", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicip", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicip", - "moduleName": "ShopifyCheckoutKit", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicig", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsVyAA0bD4ItemVSicig", - "moduleName": "ShopifyCheckoutKit", - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:allOutOfStock:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "hasDefaultArg": true, - "usr": "s:Sb" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV_13allOutOfStockACSayAA0bD4ItemVG_Sbtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV_13allOutOfStockACSayAA0bD4ItemVG_Sbtcfc", - "moduleName": "ShopifyCheckoutKit", - "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": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV7Elementa", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV7Elementa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV5Indexa", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV5Indexa", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "TypeAlias", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Index", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ], - "usr": "s:Sn" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV7Indicesa", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV7Indicesa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV8Iteratora", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV8Iteratora", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "Slice", - "printedName": "Swift.Slice", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "usr": "s:s5SliceV" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV11SubSequencea", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV11SubSequencea", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - }, - { - "kind": "Var", - "name": "endIndex", - "printedName": "endIndex", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV8endIndexSivp", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV8endIndexSivp", - "moduleName": "ShopifyCheckoutKit", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV8endIndexSivg", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV8endIndexSivg", - "moduleName": "ShopifyCheckoutKit", - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "startIndex", - "printedName": "startIndex", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV10startIndexSivp", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV10startIndexSivp", - "moduleName": "ShopifyCheckoutKit", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV10startIndexSivg", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV10startIndexSivg", - "moduleName": "ShopifyCheckoutKit", - "accessorKind": "get" - } - ] - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV", - "mangledName": "$s18ShopifyCheckoutKit0B9LineItemsV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "RandomAccessCollection", - "printedName": "RandomAccessCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Index", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "Slice", - "printedName": "Swift.Slice", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "usr": "s:s5SliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Index", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ], - "usr": "s:Sn" - } - ] - } - ], - "usr": "s:Sk", - "mangledName": "$sSk" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BidirectionalCollection", - "printedName": "BidirectionalCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Index", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "Slice", - "printedName": "Swift.Slice", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "usr": "s:s5SliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Index", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ], - "usr": "s:Sn" - } - ] - } - ], - "usr": "s:SK", - "mangledName": "$sSK" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Collection", - "printedName": "Collection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Index", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "Slice", - "printedName": "Swift.Slice", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "usr": "s:s5SliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Index", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems.Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ], - "usr": "s:Sn" - } - ] - } - ], - "usr": "s:Sl", - "mangledName": "$sSl" - }, - { - "kind": "Conformance", - "name": "Sequence", - "printedName": "Sequence", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItems", - "printedName": "ShopifyCheckoutKit.CheckoutLineItems", - "usr": "s:18ShopifyCheckoutKit0B9LineItemsV" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - } - ], - "usr": "s:ST", - "mangledName": "$sST" - }, - { - "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": "CheckoutLink", From 088b0a78e78bf2d09bb937d78354f5da68ffa32c Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 13:59:07 +0100 Subject: [PATCH 09/23] Add typed checkout event payloads --- .../App/CartResettingCheckoutDelegate.swift | 6 +- .../Sources/Scenes/Cart/CartView.swift | 8 +- .../ShopifyCheckoutKit/CheckoutDelegate.swift | 16 +- .../ShopifyCheckoutKit/CheckoutError.swift | 2 +- .../ShopifyCheckoutKit/CheckoutEvent.swift | 37 + .../CheckoutEventAdapter.swift | 2 - .../ShopifyCheckoutKit/CheckoutProtocol.swift | 6 +- .../CheckoutViewController.swift | 16 +- .../CheckoutWebViewController.swift | 28 +- .../ShopifyCheckoutKit/PreloadState.swift | 2 +- .../CheckoutEventAdapterTests.swift | 13 +- .../CheckoutProtocolTests.swift | 4 +- .../CheckoutViewControllerTests.swift | 6 +- .../CheckoutWebViewControllerTests.swift | 3 +- .../Mocks/MockCheckoutDelegate.swift | 24 +- .../SwiftUITests.swift | 6 +- platforms/swift/api/ShopifyCheckoutKit.json | 946 +++++++++++++----- 17 files changed, 786 insertions(+), 339 deletions(-) create mode 100644 platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEvent.swift diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift index 0106747df..57175c014 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift @@ -4,8 +4,8 @@ import ShopifyCheckoutKit final class CartResettingCheckoutDelegate: CheckoutDelegate { private var completed = false - func checkoutDidComplete(_ checkout: Checkout) { - print("[CheckoutKit] Checkout completed: \(checkout.order?.id ?? "unknown")") + func checkoutDidComplete(_ event: CheckoutCompleteEvent) { + print("[CheckoutKit] Checkout completed: \(event.checkout.order?.id ?? "unknown")") completed = true } @@ -15,5 +15,5 @@ final class CartResettingCheckoutDelegate: CheckoutDelegate { CartManager.shared.resetCart() } - func checkoutDidFail(error _: CheckoutError) {} + func checkoutDidFail(_: CheckoutFailureEvent) {} } diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index a09886a0d..5f64ae306 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -117,11 +117,11 @@ struct CartView: View { .sheet(isPresented: $showCheckoutSheet) { if let url = cartManager.cart?.checkoutURL { ShopifyCheckout(checkout: url) - .onComplete { checkout in + .onComplete { event in // Set the flag here; defer the cart reset until the user dismisses // the sheet (in .onDismiss). Resetting now would nil the cart and // SwiftUI would auto-collapse this sheet, hiding the confirmation page. - print("[CheckoutKit] Complete: \(checkout.order?.id ?? "unknown")") + print("[CheckoutKit] Complete: \(event.checkout.order?.id ?? "unknown")") isCompleted = true } .appearance(.app(.automatic)) @@ -134,9 +134,9 @@ struct CartView: View { isCompleted = false } } - .onFail { error in + .onFail { event in showCheckoutSheet = false - print("[CheckoutKitSwiftDemo] FAIL - Checkout failed: \(error)") + print("[CheckoutKitSwiftDemo] FAIL - Checkout failed: \(event.error)") } .edgesIgnoringSafeArea(.all) } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift index b994271c6..32aa618f6 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift @@ -4,13 +4,13 @@ import Foundation @MainActor public protocol CheckoutDelegate: AnyObject { /// Tells the delegate that the buyer started checkout. - func checkoutDidStart(_ checkout: Checkout) + func checkoutDidStart(_ event: CheckoutStartEvent) /// Tells the delegate that the buyer-visible checkout state changed. - func checkoutDidUpdate(_ checkout: Checkout) + func checkoutDidUpdate(_ event: CheckoutUpdateEvent) /// Tells the delegate that checkout completed. - func checkoutDidComplete(_ checkout: Checkout) + func checkoutDidComplete(_ event: CheckoutCompleteEvent) /// Asks the delegate how to handle a link clicked in checkout. func checkoutAction(for link: CheckoutLink) -> CheckoutLinkAction @@ -21,17 +21,17 @@ public protocol CheckoutDelegate: AnyObject { /// Tells the delegate that checkout cannot continue. /// /// Use ``CheckoutError/code`` for your app's recovery policy. - func checkoutDidFail(error: CheckoutError) + func checkoutDidFail(_ event: CheckoutFailureEvent) } extension CheckoutDelegate { - public func checkoutDidStart(_: Checkout) {} - public func checkoutDidUpdate(_: Checkout) {} - public func checkoutDidComplete(_: Checkout) {} + public func checkoutDidStart(_: CheckoutStartEvent) {} + public func checkoutDidUpdate(_: CheckoutUpdateEvent) {} + public func checkoutDidComplete(_: CheckoutCompleteEvent) {} public func checkoutAction(for _: CheckoutLink) -> CheckoutLinkAction { .open } public func checkoutDidDismiss() {} - public func checkoutDidFail(error _: CheckoutError) {} + public func checkoutDidFail(_: CheckoutFailureEvent) {} } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift index 85495ed63..6668bc111 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift @@ -36,7 +36,7 @@ public enum CheckoutErrorCode: String, Codable, CaseIterable, Sendable { case unknown } -/// A terminal checkout presentation failure delivered through ``CheckoutDelegate/checkoutDidFail(error:)`` +/// A terminal checkout presentation failure delivered through ``CheckoutDelegate/checkoutDidFail(_:)`` /// or ``ShopifyCheckout/onFail(_:)``. /// /// Use ``code`` for application behavior. Use ``message`` and ``underlyingError`` only for debugging diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEvent.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEvent.swift new file mode 100644 index 000000000..64c7218ee --- /dev/null +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEvent.swift @@ -0,0 +1,37 @@ +import Foundation + +/// The payload delivered when checkout starts. +public struct CheckoutStartEvent: Equatable, Sendable { + public let checkout: Checkout + + public init(checkout: Checkout) { + self.checkout = checkout + } +} + +/// The payload delivered when the buyer-visible checkout state changes. +public struct CheckoutUpdateEvent: Equatable, Sendable { + public let checkout: Checkout + + public init(checkout: Checkout) { + self.checkout = checkout + } +} + +/// The payload delivered when checkout completes. +public struct CheckoutCompleteEvent: Equatable, Sendable { + public let checkout: Checkout + + public init(checkout: Checkout) { + self.checkout = checkout + } +} + +/// The payload delivered when checkout cannot continue. +public struct CheckoutFailureEvent { + public let error: CheckoutError + + public init(error: CheckoutError) { + self.error = error + } +} diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift index 06c5bcb20..5fe04ceb6 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutEventAdapter.swift @@ -21,11 +21,9 @@ struct CheckoutEventAdapter: CheckoutCommunicationProtocol { let state = CheckoutEventState(sink: sink) eventClient = EmbeddedCheckoutProtocol.Client() .on(CheckoutProtocol.start) { state.start($0) } - .on(CheckoutProtocol.buyerChange) { state.update($0) } .on(CheckoutProtocol.lineItemsChange) { state.update($0) } .on(CheckoutProtocol.messagesChange) { state.update($0) } .on(CheckoutProtocol.totalsChange) { state.update($0) } - .on(CheckoutProtocol.paymentChange) { state.update($0) } .on(CheckoutProtocol.fulfillmentChange) { state.update($0) } .on(CheckoutProtocol.complete) { state.complete($0) } } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift index c108fb22f..e0ca8d8b6 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutProtocol.swift @@ -21,15 +21,13 @@ public enum CheckoutProtocol { /// Delivers the complete payload of a valid terminal `ec.error` notification. /// /// This callback runs before Checkout Kit maps the terminal event to - /// ``CheckoutDelegate/checkoutDidFail(error:)``. It is for advanced protocol diagnostics; + /// ``CheckoutDelegate/checkoutDidFail(_:)``. It is for advanced protocol diagnostics; /// use ``CheckoutError/code`` for normal lifecycle recovery. public static let error = EmbeddedCheckoutProtocol.Event.error.map { $0.params.error } - public static let buyerChange = EmbeddedCheckoutProtocol.Event.buyerChange.map { $0.params.checkout } public static let fulfillmentChange = EmbeddedCheckoutProtocol.Event.fulfillmentChange.map { $0.params.checkout } public static let lineItemsChange = EmbeddedCheckoutProtocol.Event.lineItemsChange.map { $0.params.checkout } /// Delivers in-checkout messages and warnings as state updates. public static let messagesChange = EmbeddedCheckoutProtocol.Event.messagesChange.map { $0.params.checkout } - public static let paymentChange = EmbeddedCheckoutProtocol.Event.paymentChange.map { $0.params.checkout } public static let start = EmbeddedCheckoutProtocol.Event.start.map { $0.params.checkout } public static let totalsChange = EmbeddedCheckoutProtocol.Event.totalsChange.map { $0.params.checkout } public static let windowOpen = EmbeddedCheckoutProtocol.Event.windowOpen.map { $0.params } @@ -39,11 +37,9 @@ public enum CheckoutProtocol { start.method, complete.method, error.method, - buyerChange.method, fulfillmentChange.method, lineItemsChange.method, messagesChange.method, - paymentChange.method, totalsChange.method, windowOpen.method ] diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift index 7c5ad3696..abc86a5d2 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutViewController.swift @@ -40,12 +40,12 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab public typealias UIViewControllerType = CheckoutViewController var checkoutURL: URL - var onStartAction: ((Checkout) -> Void)? - var onUpdateAction: ((Checkout) -> Void)? - var onCompleteAction: ((Checkout) -> Void)? + var onStartAction: ((CheckoutStartEvent) -> Void)? + var onUpdateAction: ((CheckoutUpdateEvent) -> Void)? + var onCompleteAction: ((CheckoutCompleteEvent) -> Void)? var onLinkClickAction: ((CheckoutLink) -> CheckoutLinkAction)? var onDismissAction: (() -> Void)? - var onFailAction: ((CheckoutError) -> Void)? + var onFailAction: ((CheckoutFailureEvent) -> Void)? public init(checkout url: URL) { checkoutURL = url @@ -83,19 +83,19 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab webViewController.onFail = onFailAction } - @discardableResult public func onStart(_ action: @escaping (Checkout) -> Void) -> Self { + @discardableResult public func onStart(_ action: @escaping (CheckoutStartEvent) -> Void) -> Self { var copy = self copy.onStartAction = action return copy } - @discardableResult public func onUpdate(_ action: @escaping (Checkout) -> Void) -> Self { + @discardableResult public func onUpdate(_ action: @escaping (CheckoutUpdateEvent) -> Void) -> Self { var copy = self copy.onUpdateAction = action return copy } - @discardableResult public func onComplete(_ action: @escaping (Checkout) -> Void) -> Self { + @discardableResult public func onComplete(_ action: @escaping (CheckoutCompleteEvent) -> Void) -> Self { var copy = self copy.onCompleteAction = action return copy @@ -123,7 +123,7 @@ public struct ShopifyCheckout: UIViewControllerRepresentable, CheckoutConfigurab /// Registers a handler called when checkout cannot continue. /// /// Use ``CheckoutError/code`` for your app's recovery policy. - @discardableResult public func onFail(_ action: @escaping (CheckoutError) -> Void) -> Self { + @discardableResult public func onFail(_ action: @escaping (CheckoutFailureEvent) -> Void) -> Self { var copy = self copy.onFailAction = action return copy diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift index 1c72378b4..a1a13cf20 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebViewController.swift @@ -7,12 +7,12 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl /// Keep this value in sync with the checkout close selector used by E2E flows. private static let closeButtonAccessibilityIdentifier = "shopify_checkout_kit_close_button" - var onStart: ((Checkout) -> Void)? - var onUpdate: ((Checkout) -> Void)? - var onComplete: ((Checkout) -> Void)? + var onStart: ((CheckoutStartEvent) -> Void)? + var onUpdate: ((CheckoutUpdateEvent) -> Void)? + var onComplete: ((CheckoutCompleteEvent) -> Void)? var onLinkClick: ((CheckoutLink) -> CheckoutLinkAction)? var onDismiss: (() -> Void)? - var onFail: ((CheckoutError) -> Void)? + var onFail: ((CheckoutFailureEvent) -> Void)? weak var delegate: (any CheckoutDelegate)? var checkoutView: CheckoutWebView? @@ -204,18 +204,21 @@ class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControl extension CheckoutWebViewController: CheckoutEventSink { func checkoutDidStart(_ checkout: Checkout) { - onStart?(checkout) - delegate?.checkoutDidStart(checkout) + let event = CheckoutStartEvent(checkout: checkout) + onStart?(event) + delegate?.checkoutDidStart(event) } func checkoutDidUpdate(_ checkout: Checkout) { - onUpdate?(checkout) - delegate?.checkoutDidUpdate(checkout) + let event = CheckoutUpdateEvent(checkout: checkout) + onUpdate?(event) + delegate?.checkoutDidUpdate(event) } func checkoutDidComplete(_ checkout: Checkout) { - onComplete?(checkout) - delegate?.checkoutDidComplete(checkout) + let event = CheckoutCompleteEvent(checkout: checkout) + onComplete?(event) + delegate?.checkoutDidComplete(event) } } @@ -232,8 +235,9 @@ extension CheckoutWebViewController: CheckoutWebViewDelegate { } func checkoutViewDidFailWithError(error: CheckoutError) { - onFail?(error) - delegate?.checkoutDidFail(error: error) + let event = CheckoutFailureEvent(error: error) + onFail?(event) + delegate?.checkoutDidFail(event) dismiss(animated: true) } } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/PreloadState.swift b/platforms/swift/Sources/ShopifyCheckoutKit/PreloadState.swift index 48f1a438e..eac279528 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/PreloadState.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/PreloadState.swift @@ -4,7 +4,7 @@ import Foundation /// Observable state of a preloaded checkout. /// /// Preload is a performance hint, not a presentation lifecycle. Its failure never calls -/// ``CheckoutDelegate/checkoutDidFail(error:)``; a later presentation can load checkout normally. +/// ``CheckoutDelegate/checkoutDidFail(_:)``; a later presentation can load checkout normally. public enum PreloadState: Equatable { /// No checkout is currently cached for preload. case idle diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift index 6e92ed268..0aac17ef5 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift @@ -19,10 +19,8 @@ final class CheckoutEventAdapterTests: XCTestCase { func testEveryChangeNotificationProducesOneUpdate() async { let methods = [ - "ec.buyer.change", "ec.line_items.change", "ec.messages.change", - "ec.payment.change", "ec.totals.change", "ec.fulfillment.change" ] @@ -35,6 +33,17 @@ final class CheckoutEventAdapterTests: XCTestCase { } } + func testUnsupportedChangeNotificationsDoNotProduceUpdates() async { + for method in ["ec.buyer.change", "ec.payment.change"] { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + + _ = await adapter.process(message(method: method)) + + XCTAssertTrue(sink.updated.isEmpty, method) + } + } + func testEqualUpdateSnapshotsAreDeduplicated() async { let sink = RecordingCheckoutEventSink() let adapter = CheckoutEventAdapter(sink: sink) diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift index a80b7b19a..363ac47c5 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift @@ -17,17 +17,17 @@ struct CheckoutProtocolTests { "ec.start", "ec.complete", "ec.error", - "ec.buyer.change", "ec.fulfillment.change", "ec.line_items.change", "ec.messages.change", - "ec.payment.change", "ec.totals.change", "ec.window.open_request" ]) } @Test func supportedProtocolMethodsExcludeUncuratedCatalogMethods() { + #expect(!CheckoutProtocol.supportedProtocolMethods.contains("ec.buyer.change")) + #expect(!CheckoutProtocol.supportedProtocolMethods.contains("ec.payment.change")) #expect(!CheckoutProtocol.supportedProtocolMethods.contains("ec.payment.credential_request")) #expect(!CheckoutProtocol.supportedProtocolMethods.contains("ep.cart.ready")) } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift index 2c1bedd40..2a92bdba7 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutViewControllerTests.swift @@ -88,9 +88,9 @@ class CheckoutViewDelegateTests: XCTestCase { controller.checkoutDidUpdate(checkout) controller.checkoutDidComplete(checkout) - XCTAssertEqual(delegate.didStartCheckouts, [checkout]) - XCTAssertEqual(delegate.didUpdateCheckouts, [checkout]) - XCTAssertEqual(delegate.didCompleteCheckouts, [checkout]) + XCTAssertEqual(delegate.startEvents.map(\.checkout), [checkout]) + XCTAssertEqual(delegate.updateEvents.map(\.checkout), [checkout]) + XCTAssertEqual(delegate.completeEvents.map(\.checkout), [checkout]) } func testPresentationControllerDidDismissInvokesDismissDelegate() throws { diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift index 2e1169eb2..48c36392d 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewControllerTests.swift @@ -95,7 +95,8 @@ class CheckoutWebViewControllerTests: XCTestCase { viewController.checkoutViewDidFailWithError(error: sampleError) - XCTAssertEqual(delegate.didFailErrors.count, 1) + XCTAssertEqual(delegate.failureEvents.count, 1) + XCTAssertEqual(delegate.failureEvents.first?.error.code, sampleError.code) } func test_presentationControllerDidDismiss_invokesDelegateCancel() { diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift index eba281a51..a17d01952 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/Mocks/MockCheckoutDelegate.swift @@ -12,24 +12,24 @@ struct MockBridgeClient: CheckoutCommunicationProtocol { @MainActor final class MockCheckoutDelegate: CheckoutDelegate { - private(set) var didStartCheckouts: [Checkout] = [] - private(set) var didUpdateCheckouts: [Checkout] = [] - private(set) var didCompleteCheckouts: [Checkout] = [] + private(set) var startEvents: [CheckoutStartEvent] = [] + private(set) var updateEvents: [CheckoutUpdateEvent] = [] + private(set) var completeEvents: [CheckoutCompleteEvent] = [] private(set) var clickedLinks: [CheckoutLink] = [] var linkAction: CheckoutLinkAction = .open private(set) var didDismissCount = 0 - private(set) var didFailErrors: [CheckoutError] = [] + private(set) var failureEvents: [CheckoutFailureEvent] = [] - func checkoutDidStart(_ checkout: Checkout) { - didStartCheckouts.append(checkout) + func checkoutDidStart(_ event: CheckoutStartEvent) { + startEvents.append(event) } - func checkoutDidUpdate(_ checkout: Checkout) { - didUpdateCheckouts.append(checkout) + func checkoutDidUpdate(_ event: CheckoutUpdateEvent) { + updateEvents.append(event) } - func checkoutDidComplete(_ checkout: Checkout) { - didCompleteCheckouts.append(checkout) + func checkoutDidComplete(_ event: CheckoutCompleteEvent) { + completeEvents.append(event) } func checkoutAction(for link: CheckoutLink) -> CheckoutLinkAction { @@ -41,7 +41,7 @@ final class MockCheckoutDelegate: CheckoutDelegate { didDismissCount += 1 } - func checkoutDidFail(error: CheckoutError) { - didFailErrors.append(error) + func checkoutDidFail(_ event: CheckoutFailureEvent) { + failureEvents.append(event) } } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift index a7aedbc6e..987566998 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/SwiftUITests.swift @@ -46,7 +46,7 @@ class ShopifyCheckoutTests: XCTestCase { func testOnFail() { var actionCalled = false - var actionData: CheckoutError? + var actionData: CheckoutFailureEvent? let error = CheckoutError(code: .httpError, message: "error", httpStatusCode: 500) let sheet = shopifyCheckout.onFail { failure in @@ -54,9 +54,9 @@ class ShopifyCheckoutTests: XCTestCase { actionData = failure } - sheet.onFailAction?(error) + sheet.onFailAction?(CheckoutFailureEvent(error: error)) XCTAssertTrue(actionCalled) - XCTAssertNotNil(actionData) + XCTAssertEqual(actionData?.error.code, error.code) } func testLifecycleModifiers() { diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 1ee9cdf39..fa5f55467 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -1583,6 +1583,159 @@ } ] }, + { + "kind": "TypeDecl", + "name": "CheckoutCompleteEvent", + "printedName": "CheckoutCompleteEvent", + "children": [ + { + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvp", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvg", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAcA0B0V_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAcA0B0V_tcfc", + "moduleName": "ShopifyCheckoutKit", + "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": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutConfigurable", @@ -1995,14 +2148,14 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0B0VF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0B0VF", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, @@ -2024,14 +2177,14 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0B0VF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0B0VF", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "declAttributes": [ @@ -2088,7 +2241,7 @@ { "kind": "Function", "name": "checkoutDidFail", - "printedName": "checkoutDidFail(error:)", + "printedName": "checkoutDidFail(_:)", "children": [ { "kind": "TypeNominal", @@ -2097,14 +2250,14 @@ }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutFailureEvent", + "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFailyyAA0B12FailureEventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFailyyAA0B12FailureEventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, @@ -2117,7 +2270,7 @@ { "kind": "Function", "name": "checkoutDidFail", - "printedName": "checkoutDidFail(error:)", + "printedName": "checkoutDidFail(_:)", "children": [ { "kind": "TypeNominal", @@ -2126,14 +2279,14 @@ }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutFailureEvent", + "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFail5erroryAA0B5ErrorV_tF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFail5erroryAA0B5ErrorV_tF", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "declAttributes": [ @@ -2154,14 +2307,14 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0B0VF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0B0VF", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, @@ -2183,14 +2336,14 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0B0VF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0B0VF", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "declAttributes": [ @@ -2211,14 +2364,14 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0B0VF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0B0VF", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "protocolReq": true, @@ -2240,14 +2393,14 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0B0VF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0B0VF", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", "genericSig": "", "declAttributes": [ @@ -3670,6 +3823,103 @@ } ] }, + { + "kind": "TypeDecl", + "name": "CheckoutFailureEvent", + "printedName": "CheckoutFailureEvent", + "children": [ + { + "kind": "Var", + "name": "error", + "printedName": "error", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvp", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvg", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(error:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFailureEvent", + "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAcA0B5ErrorV_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAcA0B5ErrorV_tcfc", + "moduleName": "ShopifyCheckoutKit", + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV", + "moduleName": "ShopifyCheckoutKit", + "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": "CheckoutFulfillment", @@ -6991,83 +7241,6 @@ } ] }, - { - "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": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "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.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO11buyerChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "fulfillmentChange", @@ -7301,33 +7474,33 @@ }, { "kind": "Var", - "name": "paymentChange", - "printedName": "paymentChange", + "name": "start", + "printedName": "start", "children": [ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -7345,27 +7518,27 @@ { "kind": "TypeNominal", "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO13paymentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -7378,8 +7551,8 @@ }, { "kind": "Var", - "name": "start", - "printedName": "start", + "name": "totalsChange", + "printedName": "totalsChange", "children": [ { "kind": "TypeNominal", @@ -7403,8 +7576,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -7441,8 +7614,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -7455,33 +7628,39 @@ }, { "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, "declAttributes": [ @@ -7498,28 +7677,34 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -7530,45 +7715,93 @@ } ] }, + { + "kind": "Function", + "name": "url", + "printedName": "url(for:)", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "Client", + "printedName": "Client", + "children": [ + { + "kind": "TypeNominal", + "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": "CheckoutStartEvent", + "printedName": "CheckoutStartEvent", + "children": [ { "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "name": "checkout", + "printedName": "checkout", "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" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvp", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -7581,36 +7814,15 @@ "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" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvg", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -7620,54 +7832,91 @@ ] }, { - "kind": "Function", - "name": "url", - "printedName": "url(for:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAcA0B0V_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAcA0B0V_tcfc", "moduleName": "ShopifyCheckoutKit", - "static": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "Client", - "printedName": "Client", + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO", + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV", "moduleName": "ShopifyCheckoutKit", - "isEnumExhaustive": true, "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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", @@ -8445,6 +8694,159 @@ } ] }, + { + "kind": "TypeDecl", + "name": "CheckoutUpdateEvent", + "printedName": "CheckoutUpdateEvent", + "children": [ + { + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV8checkoutAA0B0Vvp", + "mangledName": "$s18ShopifyCheckoutKit0B11UpdateEventV8checkoutAA0B0Vvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV8checkoutAA0B0Vvg", + "mangledName": "$s18ShopifyCheckoutKit0B11UpdateEventV8checkoutAA0B0Vvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV8checkoutAcA0B0V_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B11UpdateEventV8checkoutAcA0B0V_tcfc", + "moduleName": "ShopifyCheckoutKit", + "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": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B11UpdateEventV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV", + "mangledName": "$s18ShopifyCheckoutKit0B11UpdateEventV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutViewController", @@ -13257,7 +13659,7 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.Checkout) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -13273,16 +13675,16 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ] } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V10onCompleteyACyAA0B0VcF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V10onCompleteyACyAA0B0VcF", + "usr": "s:18ShopifyCheckoutKit0aB0V10onCompleteyACyAA0bE5EventVcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V10onCompleteyACyAA0bE5EventVcF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Preconcurrency", @@ -13352,7 +13754,7 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutFailureEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -13368,16 +13770,16 @@ }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutFailureEvent", + "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" } ] } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", + "usr": "s:18ShopifyCheckoutKit0aB0V6onFailyACyAA0B12FailureEventVcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V6onFailyACyAA0B12FailureEventVcF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Preconcurrency", @@ -13442,7 +13844,7 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.Checkout) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -13458,16 +13860,16 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ] } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V7onStartyACyAA0B0VcF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V7onStartyACyAA0B0VcF", + "usr": "s:18ShopifyCheckoutKit0aB0V7onStartyACyAA0bE5EventVcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V7onStartyACyAA0bE5EventVcF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Preconcurrency", @@ -13490,7 +13892,7 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.Checkout) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -13506,16 +13908,16 @@ }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } ] } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V8onUpdateyACyAA0B0VcF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V8onUpdateyACyAA0B0VcF", + "usr": "s:18ShopifyCheckoutKit0aB0V8onUpdateyACyAA0bE5EventVcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V8onUpdateyACyAA0bE5EventVcF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Preconcurrency", From 88d9ed6315808289425554c7e1ec25ca371453e5 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:00:28 +0100 Subject: [PATCH 10/23] Normalize Swift demo log prefixes --- .../Sources/App/CartResettingCheckoutDelegate.swift | 2 +- .../CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift index 57175c014..55d8191a2 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift @@ -5,7 +5,7 @@ final class CartResettingCheckoutDelegate: CheckoutDelegate { private var completed = false func checkoutDidComplete(_ event: CheckoutCompleteEvent) { - print("[CheckoutKit] Checkout completed: \(event.checkout.order?.id ?? "unknown")") + print("[CheckoutKitSwiftDemo] Checkout completed: \(event.checkout.order?.id ?? "unknown")") completed = true } diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index 5f64ae306..b8c49e8bc 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -121,7 +121,7 @@ struct CartView: View { // Set the flag here; defer the cart reset until the user dismisses // the sheet (in .onDismiss). Resetting now would nil the cart and // SwiftUI would auto-collapse this sheet, hiding the confirmation page. - print("[CheckoutKit] Complete: \(event.checkout.order?.id ?? "unknown")") + print("[CheckoutKitSwiftDemo] Complete: \(event.checkout.order?.id ?? "unknown")") isCompleted = true } .appearance(.app(.automatic)) From ca32eef0fab7ceced8391f7afa29e1803f62fc13 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:01:06 +0100 Subject: [PATCH 11/23] Normalize dismissed demo log --- .../CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index b8c49e8bc..5cc7dcb73 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -126,7 +126,7 @@ struct CartView: View { } .appearance(.app(.automatic)) .onDismiss { - print("[CheckoutKitSwiftDemo] DISMISSED") + print("[CheckoutKitSwiftDemo] dismissed") showCheckoutSheet = false if isCompleted { From 1cbbd80d29a7f5efbcdd533e95ad75df733103bc Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:03:06 +0100 Subject: [PATCH 12/23] Log checkout start in Swift demo --- .../CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index 5cc7dcb73..fe69b00a5 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -117,6 +117,7 @@ struct CartView: View { .sheet(isPresented: $showCheckoutSheet) { if let url = cartManager.cart?.checkoutURL { ShopifyCheckout(checkout: url) + .appearance(.app(.automatic)) .onComplete { event in // Set the flag here; defer the cart reset until the user dismisses // the sheet (in .onDismiss). Resetting now would nil the cart and @@ -124,7 +125,6 @@ struct CartView: View { print("[CheckoutKitSwiftDemo] Complete: \(event.checkout.order?.id ?? "unknown")") isCompleted = true } - .appearance(.app(.automatic)) .onDismiss { print("[CheckoutKitSwiftDemo] dismissed") showCheckoutSheet = false @@ -138,6 +138,9 @@ struct CartView: View { showCheckoutSheet = false print("[CheckoutKitSwiftDemo] FAIL - Checkout failed: \(event.error)") } + .onStart { event in + print("[CheckoutKitSwiftDemo] Started: \(event.checkout.id)") + } .edgesIgnoringSafeArea(.all) } } From 944e31c0d62cb7737d75043abe1827114c90e2b2 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:36:16 +0100 Subject: [PATCH 13/23] Preserve checkout protocol fields --- .../Sources/ShopifyCheckoutKit/Checkout.swift | 453 +- .../CheckoutEventAdapterTests.swift | 74 + platforms/swift/api/ShopifyCheckoutKit.json | 9344 ++++++----------- 3 files changed, 3477 insertions(+), 6394 deletions(-) diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift b/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift index f90f2603a..489f437f5 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift @@ -3,127 +3,164 @@ #endif import Foundation -/// A protocol-independent snapshot of the checkout visible to the buyer. -/// -/// Checkout Kit derives this value from its internal communication protocol. Raw protocol -/// messages, links, and transport metadata are intentionally not exposed. -public struct Checkout: Equatable, Sendable { +/// A checkout snapshot that excludes protocol metadata. +public struct Checkout: Codable, Sendable { + public var additionalProperties: [String: JSONAny] + public let attribution: [String: String]? + public let buyer: Buyer? + public let context: Context? + public let continueURL: String? + public let currency: String + public let discounts: CheckoutDiscounts? + public let expiresAt: Date? + public let fulfillment: CheckoutFulfillment? public let id: String + public let lineItems: [LineItem] + public let links: [Link] + public let messages: [Message]? + public let order: OrderConfirmation? + public let payment: Payment? + public let signals: [String: JSONAny]? public let status: CheckoutStatus - public let currency: String - public let buyer: CheckoutBuyer? - public let lineItems: [CheckoutLineItem] public let totals: [CheckoutTotal] - public let fulfillment: CheckoutFulfillment? - public let discounts: [CheckoutDiscount] - public let paymentInstruments: [CheckoutPaymentInstrument] - public let order: CheckoutOrder? + + 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 + } + + private static let excludedAdditionalPropertyKeys: Set = [ + "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", + "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "signals", "status", + "totals", "ucp" + ] public init( id: String, status: CheckoutStatus, currency: String, - buyer: CheckoutBuyer? = nil, - lineItems: [CheckoutLineItem], - totals: [CheckoutTotal], + attribution: [String: String]? = nil, + buyer: Buyer? = nil, + context: Context? = nil, + continueURL: String? = nil, + discounts: CheckoutDiscounts? = nil, + expiresAt: Date? = nil, fulfillment: CheckoutFulfillment? = nil, - discounts: [CheckoutDiscount] = [], - paymentInstruments: [CheckoutPaymentInstrument] = [], - order: CheckoutOrder? = nil + lineItems: [LineItem], + links: [Link] = [], + messages: [Message]? = nil, + order: OrderConfirmation? = nil, + payment: Payment? = nil, + signals: [String: JSONAny]? = nil, + totals: [CheckoutTotal], + additionalProperties: [String: JSONAny] = [:] ) { - self.id = id - self.status = status - self.currency = currency + self.additionalProperties = additionalProperties + self.attribution = attribution self.buyer = buyer - self.lineItems = lineItems - self.totals = totals - self.fulfillment = fulfillment + self.context = context + self.continueURL = continueURL + self.currency = currency self.discounts = discounts - self.paymentInstruments = paymentInstruments + 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 } -} - -public enum CheckoutStatus: String, Equatable, Sendable { - case incomplete - case readyForComplete = "ready_for_complete" - case completeInProgress = "complete_in_progress" - case completed - case canceled - case requiresEscalation = "requires_escalation" -} -public struct CheckoutBuyer: Equatable, Sendable { - public let email: String? - public let firstName: String? - public let lastName: String? - public let phoneNumber: String? -} - -public struct CheckoutLineItem: Identifiable, Equatable, Sendable { - public let id: String - public let merchandiseID: String - public let title: String - public let quantity: Int - public let unitPrice: Int - public let totals: [CheckoutLineItemTotal] -} - -public struct CheckoutLineItemTotal: Equatable, Sendable { - public let type: String - public let amount: Int - public let displayText: String? -} - -public struct CheckoutTotal: Equatable, Sendable { - public let type: String - public let amount: Int - public let displayText: String? -} - -public struct CheckoutFulfillment: Equatable, Sendable { - public let availableMethods: [CheckoutFulfillmentAvailability] - public let methods: [CheckoutFulfillmentMethod] -} - -public struct CheckoutFulfillmentAvailability: Equatable, Sendable { - public let type: CheckoutFulfillmentMethodType - public let lineItemIDs: [String] - public let description: String? - public let fulfillableOn: String? + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: CodingKeys.self) + attribution = try container.decodeIfPresent([String: String].self, forKey: .attribution) + buyer = try container.decodeIfPresent(Buyer.self, forKey: .buyer) + context = try container.decodeIfPresent(Context.self, forKey: .context) + continueURL = try container.decodeIfPresent(String.self, forKey: .continueURL) + currency = try container.decode(String.self, forKey: .currency) + discounts = try container.decodeIfPresent(CheckoutDiscounts.self, forKey: .discounts) + expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt) + fulfillment = try container.decodeIfPresent(CheckoutFulfillment.self, forKey: .fulfillment) + id = try container.decode(String.self, forKey: .id) + lineItems = try container.decode([LineItem].self, forKey: .lineItems) + links = try container.decode([Link].self, forKey: .links) + messages = try container.decodeIfPresent([Message].self, forKey: .messages) + order = try container.decodeIfPresent(OrderConfirmation.self, forKey: .order) + payment = try container.decodeIfPresent(Payment.self, forKey: .payment) + signals = try container.decodeIfPresent([String: JSONAny].self, forKey: .signals) + status = try container.decode(CheckoutStatus.self, forKey: .status) + totals = try container.decode([CheckoutTotal].self, forKey: .totals) + + let additionalContainer = try decoder.container(keyedBy: CheckoutAdditionalPropertyKey.self) + additionalProperties = try additionalContainer.allKeys.reduce(into: [:]) { properties, key in + guard !Self.excludedAdditionalPropertyKeys.contains(key.stringValue) else { return } + properties[key.stringValue] = try additionalContainer.decode(JSONAny.self, forKey: 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) + + var additionalContainer = encoder.container(keyedBy: CheckoutAdditionalPropertyKey.self) + for key in additionalProperties.keys.sorted() where !Self.excludedAdditionalPropertyKeys.contains(key) { + try additionalContainer.encode( + additionalProperties[key], + forKey: CheckoutAdditionalPropertyKey(stringValue: key)! + ) + } + } } -public struct CheckoutFulfillmentMethod: Identifiable, Equatable, Sendable { - public let id: String - public let type: CheckoutFulfillmentMethodType - public let lineItemIDs: [String] - public let selectedDestinationID: String? -} +private struct CheckoutAdditionalPropertyKey: CodingKey { + let stringValue: String + let intValue: Int? = nil -public enum CheckoutFulfillmentMethodType: String, Equatable, Sendable { - case shipping - case pickup -} + init?(stringValue: String) { + self.stringValue = stringValue + } -public struct CheckoutDiscount: Equatable, Sendable { - public let title: String - public let code: String? - public let amount: Int - public let automatic: Bool - public let provisional: Bool + init?(intValue _: Int) { + return nil + } } -public struct CheckoutPaymentInstrument: Identifiable, Equatable, Sendable { - public let id: String - public let type: String - public let handlerID: String - public let selected: Bool -} +extension Checkout: Equatable { + public static func == (lhs: Checkout, rhs: Checkout) -> Bool { + lhs.comparisonData == rhs.comparisonData + } -public struct CheckoutOrder: Identifiable, Equatable, Sendable { - public let id: String - public let label: String? - public let permalink: URL? + private var comparisonData: Data? { + let encoder = JSONEncoder() + encoder.dateEncodingStrategy = .iso8601 + encoder.outputFormatting = .sortedKeys + return try? encoder.encode(self) + } } extension Checkout { @@ -134,225 +171,11 @@ extension Checkout { decoder.dateDecodingStrategy = .iso8601 guard let data = try? encoder.encode(protocolCheckout), - let checkout = try? decoder.decode(ProtocolCheckoutProjection.self, from: data) + let checkout = try? decoder.decode(Checkout.self, from: data) else { return nil } - let items = checkout.lineItems.map { lineItem in - CheckoutLineItem( - id: lineItem.id, - merchandiseID: lineItem.item.id, - title: lineItem.item.title, - quantity: lineItem.quantity, - unitPrice: lineItem.item.price, - totals: lineItem.totals.map { - CheckoutLineItemTotal(type: $0.type, amount: $0.amount, displayText: $0.displayText) - } - ) - } - - id = checkout.id - status = CheckoutStatus(rawValue: checkout.status) ?? .incomplete - currency = checkout.currency - buyer = checkout.buyer.map { - CheckoutBuyer( - email: $0.email, - firstName: $0.firstName, - lastName: $0.lastName, - phoneNumber: $0.phoneNumber - ) - } - lineItems = items - totals = checkout.totals.map { - CheckoutTotal(type: $0.type, amount: $0.amount, displayText: $0.displayText) - } - fulfillment = checkout.fulfillment.map { fulfillment in - CheckoutFulfillment( - availableMethods: (fulfillment.availableMethods ?? []).map { availability in - CheckoutFulfillmentAvailability( - type: CheckoutFulfillmentMethodType(rawValue: availability.type) ?? .shipping, - lineItemIDs: availability.lineItemIDs, - description: availability.description, - fulfillableOn: availability.fulfillableOn - ) - }, - methods: (fulfillment.methods ?? []).map { method in - CheckoutFulfillmentMethod( - id: method.id, - type: CheckoutFulfillmentMethodType(rawValue: method.type) ?? .shipping, - lineItemIDs: method.lineItemIDs, - selectedDestinationID: method.selectedDestinationID - ) - } - ) - } - discounts = (checkout.discounts?.applied ?? []).map { - CheckoutDiscount( - title: $0.title, - code: $0.code, - amount: $0.amount, - automatic: $0.automatic ?? false, - provisional: $0.provisional ?? false - ) - } - paymentInstruments = (checkout.payment?.instruments ?? []).map { - CheckoutPaymentInstrument( - id: $0.id, - type: $0.type, - handlerID: $0.handlerID, - selected: $0.selected ?? false - ) - } - order = checkout.order.map { - CheckoutOrder(id: $0.id, label: $0.label, permalink: URL(string: $0.permalinkURL)) - } - } -} - -private struct ProtocolCheckoutProjection: Decodable { - let buyer: Buyer? - let currency: String - let discounts: Discounts? - let fulfillment: Fulfillment? - let id: String - let lineItems: [LineItem] - let order: Order? - let payment: Payment? - let status: String - let totals: [Total] - - enum CodingKeys: String, CodingKey { - case buyer, currency, discounts, fulfillment, id - case lineItems = "line_items" - case order, payment, status, totals - } - - struct Buyer: Decodable { - let email: String? - let firstName: String? - let lastName: String? - let phoneNumber: String? - - enum CodingKeys: String, CodingKey { - case email - case firstName = "first_name" - case lastName = "last_name" - case phoneNumber = "phone_number" - } - } - - struct LineItem: Decodable { - let id: String - let item: Item - let quantity: Int - let totals: [LineItemTotal] - } - - struct Item: Decodable { - let id: String - let price: Int - let title: String - } - - struct LineItemTotal: Decodable { - let amount: Int - let displayText: String? - let type: String - - enum CodingKeys: String, CodingKey { - case amount - case displayText = "display_text" - case type - } - } - - struct Total: Decodable { - let amount: Int - let displayText: String? - let type: String - - enum CodingKeys: String, CodingKey { - case amount - case displayText = "display_text" - case type - } - } - - struct Fulfillment: Decodable { - let availableMethods: [AvailableMethod]? - let methods: [Method]? - - enum CodingKeys: String, CodingKey { - case availableMethods = "available_methods" - case methods - } - } - - struct AvailableMethod: Decodable { - let description: String? - let fulfillableOn: String? - let lineItemIDs: [String] - let type: String - - enum CodingKeys: String, CodingKey { - case description - case fulfillableOn = "fulfillable_on" - case lineItemIDs = "line_item_ids" - case type - } - } - - struct Method: Decodable { - let id: String - let lineItemIDs: [String] - let selectedDestinationID: String? - let type: String - - enum CodingKeys: String, CodingKey { - case id - case lineItemIDs = "line_item_ids" - case selectedDestinationID = "selected_destination_id" - case type - } - } - - struct Discounts: Decodable { - let applied: [Discount]? - } - - struct Discount: Decodable { - let amount: Int - let automatic: Bool? - let code: String? - let provisional: Bool? - let title: String - } - - struct Payment: Decodable { - let instruments: [Instrument]? - } - - struct Instrument: Decodable { - let handlerID: String - let id: String - let selected: Bool? - let type: String - - enum CodingKeys: String, CodingKey { - case handlerID = "handler_id" - case id, selected, type - } - } - - struct Order: Decodable { - let id: String - let label: String? - let permalinkURL: String - - enum CodingKeys: String, CodingKey { - case id, label - case permalinkURL = "permalink_url" - } + self = checkout } } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift index 0aac17ef5..bf5340057 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift @@ -17,6 +17,54 @@ final class CheckoutEventAdapterTests: XCTestCase { XCTAssertEqual(checkout?.buyer?.email, "buyer@example.com") } + func testCheckoutPreservesProtocolShapeExceptUCP() throws { + let envelopeData = try XCTUnwrap(fullCheckoutMessage.data(using: .utf8)) + let envelope = try XCTUnwrap(JSONSerialization.jsonObject(with: envelopeData) as? [String: Any]) + let params = try XCTUnwrap(envelope["params"] as? [String: Any]) + let protocolObject = try XCTUnwrap(params["checkout"] as? [String: Any]) + let protocolData = try JSONSerialization.data(withJSONObject: protocolObject) + let decoder = JSONDecoder() + decoder.dateDecodingStrategy = .iso8601 + let checkout = try decoder.decode(ShopifyCheckoutKit.Checkout.self, from: protocolData) + XCTAssertEqual(checkout.attribution, ["source": "agent"]) + XCTAssertEqual(checkout.context?.addressCountry, "IE") + XCTAssertEqual(checkout.continueURL, "https://example.com/continue") + XCTAssertEqual(checkout.expiresAt, ISO8601DateFormatter().date(from: "2026-09-11T12:00:00Z")) + XCTAssertEqual(checkout.links.first?.type, "privacy_policy") + XCTAssertEqual(checkout.messages?.first?.code, "notice") + XCTAssertEqual(checkout.signals?["com.example.trusted"]?.value as? Bool, true) + + XCTAssertEqual(checkout.discounts?.codes, ["SAVE10"]) + XCTAssertEqual(checkout.discounts?.applied?.first?.allocations?.first?.path, "$.line_items[0]") + XCTAssertEqual(checkout.discounts?.applied?.first?.eligibility, "com.example.member") + XCTAssertEqual(checkout.discounts?.applied?.first?.method, .across) + XCTAssertEqual(checkout.discounts?.applied?.first?.priority, 1) + + XCTAssertEqual(checkout.lineItems.first?.parentID, "parent-1") + XCTAssertEqual(checkout.lineItems.first?.item.imageURL, "https://example.com/item.png") + XCTAssertEqual(checkout.totals.first?.lines?.first?.displayText, "State tax") + + let method = checkout.fulfillment?.methods?.first + XCTAssertEqual(method?.destinations?.first?.streetAddress, "1 Main Street") + XCTAssertEqual(method?.groups?.first?.selectedOptionID, "option-1") + XCTAssertEqual(method?.groups?.first?.options?.first?.carrier, "Post") + + let instrument = checkout.payment?.instruments?.first + XCTAssertEqual(instrument?.billingAddress?.postalCode, "D02") + XCTAssertEqual(instrument?.credential?.type, "token") + XCTAssertEqual(instrument?.credential?.additionalProperties["value"]?.value as? String, "synthetic-placeholder") + XCTAssertEqual(instrument?.display?["last_digits"]?.value as? String, "4242") + XCTAssertNil(instrument?.selected) + XCTAssertEqual(checkout.order?.permalinkURL, "https://example.com/orders/1") + let extensionValue = checkout.additionalProperties["com.example.extension"]?.value as? [String: Any] + XCTAssertEqual(extensionValue?["enabled"] as? Bool, true) + + let encoded = try JSONEncoder().encode(checkout) + let object = try XCTUnwrap(JSONSerialization.jsonObject(with: encoded) as? [String: Any]) + XCTAssertNil(object["ucp"]) + XCTAssertNotNil(object["com.example.extension"]) + } + func testEveryChangeNotificationProducesOneUpdate() async { let methods = [ "ec.line_items.change", @@ -98,6 +146,32 @@ final class CheckoutEventAdapterTests: XCTestCase { }}} """ } + + private var fullCheckoutMessage: String { + """ + {"jsonrpc":"2.0","method":"ec.start","params":{"checkout":{ + "attribution":{"source":"agent"}, + "buyer":{"email":"buyer@example.com","first_name":"Ada","last_name":"Lovelace","phone_number":"+353123456789"}, + "context":{"address_country":"IE","address_region":"D","currency":"EUR","eligibility":["com.example.member"],"intent":"gift","language":"en-IE","postal_code":"D02"}, + "continue_url":"https://example.com/continue", + "currency":"EUR", + "discounts":{"codes":["SAVE10"],"applied":[{"allocations":[{"amount":100,"path":"$.line_items[0]"}],"amount":100,"automatic":false,"code":"SAVE10","eligibility":"com.example.member","method":"across","priority":1,"provisional":true,"title":"Save ten"}]}, + "expires_at":"2026-09-11T12:00:00Z", + "fulfillment":{"available_methods":[{"description":"Available now","fulfillable_on":"now","line_item_ids":["line-1"],"type":"shipping"}],"methods":[{"destinations":[{"id":"destination-1","street_address":"1 Main Street","address_locality":"Dublin","address_country":"IE"}],"groups":[{"id":"group-1","line_item_ids":["line-1"],"options":[{"carrier":"Post","description":"Tomorrow","earliest_fulfillment_time":"2026-09-12T09:00:00Z","id":"option-1","latest_fulfillment_time":"2026-09-12T17:00:00Z","title":"Standard","totals":[{"amount":500,"display_text":"Shipping","type":"fulfillment"}]}],"selected_option_id":"option-1"}],"id":"method-1","line_item_ids":["line-1"],"selected_destination_id":"destination-1","type":"shipping"}]}, + "id":"checkout-1", + "line_items":[{"id":"line-1","item":{"id":"variant-1","image_url":"https://example.com/item.png","price":1000,"title":"Item"},"parent_id":"parent-1","quantity":1,"totals":[{"amount":1000,"display_text":"Item total","type":"total"}]}], + "links":[{"title":"Privacy","type":"privacy_policy","url":"https://example.com/privacy"}], + "messages":[{"code":"notice","content":"Review this","content_type":"plain","path":"$.line_items[0]","severity":"requires_buyer_review","type":"warning","image_url":"https://example.com/warning.png","presentation":"notice","url":"https://example.com/help"}], + "order":{"id":"order-1","label":"#1001","permalink_url":"https://example.com/orders/1"}, + "payment":{"instruments":[{"billing_address":{"address_country":"IE","address_locality":"Dublin","address_region":"D","extended_address":"Apt 1","first_name":"Ada","last_name":"Lovelace","phone_number":"+353123456789","postal_code":"D02","street_address":"1 Main Street"},"credential":{"type":"token","value":"synthetic-placeholder"},"display":{"last_digits":"4242"},"handler_id":"handler-1","id":"instrument-1","type":"card"}]}, + "signals":{"com.example.trusted":true}, + "status":"requires_escalation", + "totals":[{"amount":1100,"display_text":"Total","type":"total","lines":[{"amount":100,"display_text":"State tax"}]}], + "com.example.extension":{"enabled":true}, + "ucp":{"payment_handlers":{},"version":"\(EmbeddedCheckoutProtocol.specVersion)"} + }}} + """ + } } @MainActor diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index fa5f55467..53e4a865d 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -388,24 +388,37 @@ "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "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:18ShopifyCheckoutKit0B0V2idSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V2idSSvp", + "usr": "s:18ShopifyCheckoutKit0B0V20additionalPropertiesSDySS08EmbeddedB8Protocol7JSONAnyCGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V20additionalPropertiesSDySS08EmbeddedB8Protocol7JSONAnyCGvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -415,84 +428,115 @@ "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:18ShopifyCheckoutKit0B0V2idSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V2idSSvg", + "usr": "s:18ShopifyCheckoutKit0B0V20additionalPropertiesSDySS08EmbeddedB8Protocol7JSONAnyCGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V20additionalPropertiesSDySS08EmbeddedB8Protocol7JSONAnyCGvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "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:18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V6statusAA0B6StatusOvg", + "usr": "s:18ShopifyCheckoutKit0B0V20additionalPropertiesSDySS08EmbeddedB8Protocol7JSONAnyCGvs", + "mangledName": "$s18ShopifyCheckoutKit0B0V20additionalPropertiesSDySS08EmbeddedB8Protocol7JSONAnyCGvs", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, { "kind": "Var", - "name": "currency", - "printedName": "currency", + "name": "attribution", + "printedName": "attribution", "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" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V8currencySSvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V8currencySSvp", + "usr": "s:18ShopifyCheckoutKit0B0V11attributionSDyS2SGSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V11attributionSDyS2SGSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -507,14 +551,36 @@ "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" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V8currencySSvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V8currencySSvg", + "usr": "s:18ShopifyCheckoutKit0B0V11attributionSDyS2SGSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V11attributionSDyS2SGSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -532,21 +598,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer?", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutBuyer", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvp", + "usr": "s:18ShopifyCheckoutKit0B0V5buyer08EmbeddedB8Protocol5BuyerVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V5buyer08EmbeddedB8Protocol5BuyerVSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -562,21 +628,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer?", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutBuyer", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V5buyerAA0B5BuyerVSgvg", + "usr": "s:18ShopifyCheckoutKit0B0V5buyer08EmbeddedB8Protocol5BuyerVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V5buyer08EmbeddedB8Protocol5BuyerVSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -588,27 +654,27 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "context", + "printedName": "context", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvp", + "usr": "s:18ShopifyCheckoutKit0B0V7context08EmbeddedB8Protocol7ContextVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V7context08EmbeddedB8Protocol7ContextVSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -623,22 +689,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsSayAA0B8LineItemVGvg", + "usr": "s:18ShopifyCheckoutKit0B0V7context08EmbeddedB8Protocol7ContextVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V7context08EmbeddedB8Protocol7ContextVSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -650,27 +716,27 @@ }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutTotal]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "ShopifyCheckoutKit.CheckoutTotal", - "usr": "s:18ShopifyCheckoutKit0B5TotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvp", + "usr": "s:18ShopifyCheckoutKit0B0V11continueURLSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V11continueURLSSSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -685,22 +751,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutTotal]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "ShopifyCheckoutKit.CheckoutTotal", - "usr": "s:18ShopifyCheckoutKit0B5TotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V6totalsSayAA0B5TotalVGvg", + "usr": "s:18ShopifyCheckoutKit0B0V11continueURLSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V11continueURLSSSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -712,27 +778,19 @@ }, { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvp", + "usr": "s:18ShopifyCheckoutKit0B0V8currencySSvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V8currencySSvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -747,22 +805,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "usr": "s:18ShopifyCheckoutKit0B0V8currencySSvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V8currencySSvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -779,22 +829,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutDiscount]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscount", - "printedName": "ShopifyCheckoutKit.CheckoutDiscount", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvp", + "usr": "s:18ShopifyCheckoutKit0B0V9discounts08EmbeddedB8Protocol0B9DiscountsVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V9discounts08EmbeddedB8Protocol0B9DiscountsVSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -809,22 +859,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutDiscount]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscount", - "printedName": "ShopifyCheckoutKit.CheckoutDiscount", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V9discountsSayAA0B8DiscountVGvg", + "usr": "s:18ShopifyCheckoutKit0B0V9discounts08EmbeddedB8Protocol0B9DiscountsVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V9discounts08EmbeddedB8Protocol0B9DiscountsVSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -836,27 +886,27 @@ }, { "kind": "Var", - "name": "paymentInstruments", - "printedName": "paymentInstruments", + "name": "expiresAt", + "printedName": "expiresAt", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutPaymentInstrument]", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutPaymentInstrument", - "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvp", + "usr": "s:18ShopifyCheckoutKit0B0V9expiresAt10Foundation4DateVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V9expiresAt10Foundation4DateVSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -871,22 +921,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutPaymentInstrument]", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutPaymentInstrument", - "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V18paymentInstrumentsSayAA0B17PaymentInstrumentVGvg", + "usr": "s:18ShopifyCheckoutKit0B0V9expiresAt10Foundation4DateVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V9expiresAt10Foundation4DateVSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -898,27 +948,27 @@ }, { "kind": "Var", - "name": "order", - "printedName": "order", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutOrder?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutOrder", - "printedName": "ShopifyCheckoutKit.CheckoutOrder", - "usr": "s:18ShopifyCheckoutKit0B5OrderV" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvp", + "usr": "s:18ShopifyCheckoutKit0B0V11fulfillment08EmbeddedB8Protocol0B11FulfillmentVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V11fulfillment08EmbeddedB8Protocol0B11FulfillmentVSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -934,21 +984,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutOrder?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutOrder", - "printedName": "ShopifyCheckoutKit.CheckoutOrder", - "usr": "s:18ShopifyCheckoutKit0B5OrderV" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B0V5orderAA0B5OrderVSgvg", + "usr": "s:18ShopifyCheckoutKit0B0V11fulfillment08EmbeddedB8Protocol0B11FulfillmentVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V11fulfillment08EmbeddedB8Protocol0B11FulfillmentVSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -959,250 +1009,136 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:status:currency:buyer:lineItems:totals:fulfillment:discounts:paymentInstruments:order:)", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V2idSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V2idSSvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutBuyer", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "ShopifyCheckoutKit.CheckoutTotal", - "usr": "s:18ShopifyCheckoutKit0B5TotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" - } + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V2idSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V2idSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutDiscount]", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscount", - "printedName": "ShopifyCheckoutKit.CheckoutDiscount", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" } ], - "hasDefaultArg": true, "usr": "s:Sa" - }, + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsSay08EmbeddedB8Protocol8LineItemVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsSay08EmbeddedB8Protocol8LineItemVGvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutPaymentInstrument]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutPaymentInstrument", - "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + } + ], + "usr": "s:Sa" } ], - "hasDefaultArg": true, - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutOrder?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutOrder", - "printedName": "ShopifyCheckoutKit.CheckoutOrder", - "usr": "s:18ShopifyCheckoutKit0B5OrderV" - } + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V9lineItemsSay08EmbeddedB8Protocol8LineItemVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V9lineItemsSay08EmbeddedB8Protocol8LineItemVGvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgSayAA0B8LineItemVGSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B0V2id6status8currency5buyer9lineItems6totals11fulfillment9discounts18paymentInstruments5orderACSS_AA0B6StatusOSSAA0B5BuyerVSgSayAA0B8LineItemVGSayAA0B5TotalVGAA0B11FulfillmentVSgSayAA0B8DiscountVGSayAA0B17PaymentInstrumentVGAA0B5OrderVSgtcfc", - "moduleName": "ShopifyCheckoutKit", - "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": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B0V23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B0V23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B0V", - "mangledName": "$s18ShopifyCheckoutKit0B0V", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutBuyer", - "printedName": "CheckoutBuyer", - "children": [ { "kind": "Var", - "name": "email", - "printedName": "email", + "name": "links", + "printedName": "links", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV5emailSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV5emailSSSgvp", + "usr": "s:18ShopifyCheckoutKit0B0V5linksSay08EmbeddedB8Protocol4LinkVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V5linksSay08EmbeddedB8Protocol4LinkVGvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -1217,22 +1153,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV5emailSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV5emailSSSgvg", + "usr": "s:18ShopifyCheckoutKit0B0V5linksSay08EmbeddedB8Protocol4LinkVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V5linksSay08EmbeddedB8Protocol4LinkVGvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -1244,27 +1180,35 @@ }, { "kind": "Var", - "name": "firstName", - "printedName": "firstName", + "name": "messages", + "printedName": "messages", "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvp", + "usr": "s:18ShopifyCheckoutKit0B0V8messagesSay08EmbeddedB8Protocol7MessageVGSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V8messagesSay08EmbeddedB8Protocol7MessageVGSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -1280,21 +1224,29 @@ { "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:18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV9firstNameSSSgvg", + "usr": "s:18ShopifyCheckoutKit0B0V8messagesSay08EmbeddedB8Protocol7MessageVGSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V8messagesSay08EmbeddedB8Protocol7MessageVGSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -1306,27 +1258,27 @@ }, { "kind": "Var", - "name": "lastName", - "printedName": "lastName", + "name": "order", + "printedName": "order", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvp", + "usr": "s:18ShopifyCheckoutKit0B0V5order08EmbeddedB8Protocol17OrderConfirmationVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V5order08EmbeddedB8Protocol17OrderConfirmationVSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -1342,21 +1294,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV8lastNameSSSgvg", + "usr": "s:18ShopifyCheckoutKit0B0V5order08EmbeddedB8Protocol17OrderConfirmationVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V5order08EmbeddedB8Protocol17OrderConfirmationVSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -1368,27 +1320,27 @@ }, { "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvp", + "usr": "s:18ShopifyCheckoutKit0B0V7payment08EmbeddedB8Protocol7PaymentVSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V7payment08EmbeddedB8Protocol7PaymentVSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -1404,21 +1356,21 @@ { "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:18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV11phoneNumberSSSgvg", + "usr": "s:18ShopifyCheckoutKit0B0V7payment08EmbeddedB8Protocol7PaymentVSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V7payment08EmbeddedB8Protocol7PaymentVSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -1429,180 +1381,164 @@ ] }, { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutBuyer", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutBuyer", - "printedName": "ShopifyCheckoutKit.CheckoutBuyer", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B5BuyerV", - "mangledName": "$s18ShopifyCheckoutKit0B5BuyerV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutCommunicationProtocol", - "printedName": "CheckoutCommunicationProtocol", - "children": [ - { - "kind": "Function", - "name": "process", - "printedName": "process(_:)", + "kind": "Var", + "name": "signals", + "printedName": "signals", "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", - "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V7signalsSDySS08EmbeddedB8Protocol7JSONAnyCGSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V7signalsSDySS08EmbeddedB8Protocol7JSONAnyCGSgvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", - "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP", - "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" + "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:18ShopifyCheckoutKit0B0V7signalsSDySS08EmbeddedB8Protocol7JSONAnyCGSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V7signalsSDySS08EmbeddedB8Protocol7JSONAnyCGSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V6status08EmbeddedB8Protocol0B6StatusOvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V6status08EmbeddedB8Protocol0B6StatusOvp", + "moduleName": "ShopifyCheckoutKit", + "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:18ShopifyCheckoutKit0B0V6status08EmbeddedB8Protocol0B6StatusOvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V6status08EmbeddedB8Protocol0B6StatusOvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutCompleteEvent", - "printedName": "CheckoutCompleteEvent", - "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvp", - "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvp", + "usr": "s:18ShopifyCheckoutKit0B0V6totalsSay08EmbeddedB8Protocol0B5TotalVGvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V6totalsSay08EmbeddedB8Protocol0B5TotalVGvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -1617,14 +1553,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvg", - "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvg", + "usr": "s:18ShopifyCheckoutKit0B0V6totalsSay08EmbeddedB8Protocol0B5TotalVGvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V6totalsSay08EmbeddedB8Protocol0B5TotalVGvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -1637,2711 +1581,73 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:)", + "printedName": "init(from:)", "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutCompleteEvent", - "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" - }, { "kind": "TypeNominal", "name": "Checkout", "printedName": "ShopifyCheckoutKit.Checkout", "usr": "s:18ShopifyCheckoutKit0B0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAcA0B0V_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAcA0B0V_tcfc", + "usr": "s:18ShopifyCheckoutKit0B0V4fromACs7Decoder_p_tKcfc", + "mangledName": "$s18ShopifyCheckoutKit0B0V4fromACs7Decoder_p_tKcfc", "moduleName": "ShopifyCheckoutKit", + "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(id:status:currency:attribution:buyer:context:continueURL:discounts:expiresAt:fulfillment:lineItems:links:messages:order:payment:signals:totals:additionalProperties:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" }, { "kind": "TypeNominal", - "name": "CheckoutCompleteEvent", - "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutCompleteEvent", - "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV", - "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutConfigurable", - "printedName": "CheckoutConfigurable", - "children": [ - { - "kind": "Function", - "name": "appearance", - "printedName": "appearance(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "Appearance", - "printedName": "ShopifyCheckoutKit.Configuration.Appearance", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "appearance", - "printedName": "appearance(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "Appearance", - "printedName": "ShopifyCheckoutKit.Configuration.Appearance", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "backgroundColor", - "printedName": "backgroundColor(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "backgroundColor", - "printedName": "backgroundColor(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "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": "Function", - "name": "closeButtonTintColor", - "printedName": "closeButtonTintColor(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "UIKit.UIColor?", - "children": [ - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "closeButtonTintColor", - "printedName": "closeButtonTintColor(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "UIKit.UIColor?", - "children": [ - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tintColor", - "printedName": "tintColor(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "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": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "isFromExtension": 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:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", - "moduleName": "ShopifyCheckoutKit", - "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": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP", - "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": "TypeDecl", - "name": "CheckoutDelegate", - "printedName": "CheckoutDelegate", - "children": [ - { - "kind": "Function", - "name": "checkoutAction", - "printedName": "checkoutAction(for:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - }, - { - "kind": "TypeNominal", - "name": "CheckoutLink", - "printedName": "ShopifyCheckoutKit.CheckoutLink", - "usr": "s:18ShopifyCheckoutKit0B4LinkV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutAction", - "printedName": "checkoutAction(for:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - }, - { - "kind": "TypeNominal", - "name": "CheckoutLink", - "printedName": "ShopifyCheckoutKit.CheckoutLink", - "usr": "s:18ShopifyCheckoutKit0B4LinkV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidComplete", - "printedName": "checkoutDidComplete(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutCompleteEvent", - "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0bG5EventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0bG5EventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidComplete", - "printedName": "checkoutDidComplete(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutCompleteEvent", - "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", - "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0bG5EventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0bG5EventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidDismiss", - "printedName": "checkoutDidDismiss()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidDismiss", - "printedName": "checkoutDidDismiss()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidFail", - "printedName": "checkoutDidFail(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutFailureEvent", - "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFailyyAA0B12FailureEventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFailyyAA0B12FailureEventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidFail", - "printedName": "checkoutDidFail(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutFailureEvent", - "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidStart", - "printedName": "checkoutDidStart(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutStartEvent", - "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0bG5EventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0bG5EventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidStart", - "printedName": "checkoutDidStart(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutStartEvent", - "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0bG5EventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0bG5EventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidUpdate", - "printedName": "checkoutDidUpdate(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutUpdateEvent", - "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", - "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0bG5EventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0bG5EventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "declAttributes": [ - "Custom" - ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "checkoutDidUpdate", - "printedName": "checkoutDidUpdate(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutUpdateEvent", - "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", - "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0bG5EventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0bG5EventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "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": "TypeDecl", - "name": "CheckoutDiscount", - "printedName": "CheckoutDiscount", - "children": [ - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV5titleSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV5titleSSvp", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B8DiscountV5titleSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV5titleSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "code", - "printedName": "code", - "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:18ShopifyCheckoutKit0B8DiscountV4codeSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV4codeSSSgvp", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B8DiscountV4codeSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV4codeSSSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV6amountSivp", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV6amountSivp", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B8DiscountV6amountSivg", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV6amountSivg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "automatic", - "printedName": "automatic", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV9automaticSbvp", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV9automaticSbvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV9automaticSbvg", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV9automaticSbvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "provisional", - "printedName": "provisional", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV11provisionalSbvp", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV11provisionalSbvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV11provisionalSbvg", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV11provisionalSbvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutDiscount", - "printedName": "ShopifyCheckoutKit.CheckoutDiscount", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutDiscount", - "printedName": "ShopifyCheckoutKit.CheckoutDiscount", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B8DiscountV", - "mangledName": "$s18ShopifyCheckoutKit0B8DiscountV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutError", - "printedName": "CheckoutError", - "children": [ - { - "kind": "Var", - "name": "code", - "printedName": "code", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "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" - } - ] - }, - { - "kind": "Var", - "name": "message", - "printedName": "message", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvp", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B5ErrorV7messageSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "httpStatusCode", - "printedName": "httpStatusCode", - "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:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": 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:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "underlyingError", - "printedName": "underlyingError", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", - "children": [ - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", - "children": [ - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(code:message:httpStatusCode:underlyingError:)", - "children": [ - { - "kind": "TypeNominal", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "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" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", - "moduleName": "ShopifyCheckoutKit", - "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" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", - "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" - } - ] - } - ], - "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": "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": "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": "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": "Var", - "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": "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" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", - "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": "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": "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", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutFailureEvent", - "printedName": "CheckoutFailureEvent", - "children": [ - { - "kind": "Var", - "name": "error", - "printedName": "error", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvp", - "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvg", - "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(error:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFailureEvent", - "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAcA0B5ErrorV_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAcA0B5ErrorV_tcfc", - "moduleName": "ShopifyCheckoutKit", - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV", - "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV", - "moduleName": "ShopifyCheckoutKit", - "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": "CheckoutFulfillment", - "printedName": "CheckoutFulfillment", - "children": [ - { - "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentAvailability]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvp", - "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentAvailability]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvg", - "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV16availableMethodsSayAA0bD12AvailabilityVGvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "methods", - "printedName": "methods", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethod", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvp", - "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutFulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethod", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvg", - "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV7methodsSayAA0bD6MethodVGvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillment", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B11FulfillmentV", - "mangledName": "$s18ShopifyCheckoutKit0B11FulfillmentV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutFulfillmentAvailability", - "printedName": "CheckoutFulfillmentAvailability", - "children": [ - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvp", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvg", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV4typeAA0bD10MethodTypeOvg", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvp", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvg", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11lineItemIDsSaySSGvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV11descriptionSSSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", - "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:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvp", - "moduleName": "ShopifyCheckoutKit", - "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", @@ -4349,263 +1655,42 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV13fulfillableOnSSSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "CheckoutFulfillmentAvailability", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentAvailability", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B23FulfillmentAvailabilityV", - "mangledName": "$s18ShopifyCheckoutKit0B23FulfillmentAvailabilityV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutFulfillmentMethod", - "printedName": "CheckoutFulfillmentMethod", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvp", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV2idSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvp", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvg", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV4typeAA0bdE4TypeOvg", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvp", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvg", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV11lineItemIDsSaySSGvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -4618,539 +1703,334 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV21selectedDestinationIDSSSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethod", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethod", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethod", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "ID", - "printedName": "ID", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV2IDa", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV2IDa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B17FulfillmentMethodV", - "mangledName": "$s18ShopifyCheckoutKit0B17FulfillmentMethodV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Identifiable", - "printedName": "Identifiable", - "children": [ - { - "kind": "TypeWitness", - "name": "ID", - "printedName": "ID", + "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:s12IdentifiableP", - "mangledName": "$ss12IdentifiableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutFulfillmentMethodType", - "printedName": "CheckoutFulfillmentMethodType", - "children": [ - { - "kind": "Var", - "name": "shipping", - "printedName": "shipping", - "children": [ + ], + "usr": "s:Sa" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type) -> ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" - }, + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } - ] + ], + "usr": "s:Sa" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8shippingyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8shippingyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "pickup", - "printedName": "pickup", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type) -> ShopifyCheckoutKit.CheckoutFulfillmentMethodType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" - }, + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType.Type", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO6pickupyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO6pickupyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentMethodType", - "printedName": "ShopifyCheckoutKit.CheckoutFulfillmentMethodType", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" }, { "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" + } + ], + "hasDefaultArg": true, + "usr": "s:SD" } ], "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", + "usr": "s:18ShopifyCheckoutKit0B0V2id6status8currency11attribution5buyer7context11continueURL9discounts9expiresAt11fulfillment9lineItems5links8messages5order7payment7signals6totals20additionalPropertiesACSS_08EmbeddedB8Protocol0B6StatusOSSSDyS2SGSgAV5BuyerVSgAV7ContextVSgSSSgAV0B9DiscountsVSg10Foundation4DateVSgAV0B11FulfillmentVSgSayAV8LineItemVGSayAV4LinkVGSayAV7MessageVGSgAV17OrderConfirmationVSgAV7PaymentVSgSDySSAV7JSONAnyCGSgSayAV0B5TotalVGA34_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B0V2id6status8currency11attribution5buyer7context11continueURL9discounts9expiresAt11fulfillment9lineItems5links8messages5order7payment7signals6totals20additionalPropertiesACSS_08EmbeddedB8Protocol0B6StatusOSSSDyS2SGSgAV5BuyerVSgAV7ContextVSgSSSgAV0B9DiscountsVSg10Foundation4DateVSgAV0B11FulfillmentVSgSayAV8LineItemVGSayAV4LinkVGSayAV7MessageVGSgAV17OrderConfirmationVSgAV7PaymentVSgSDySSAV7JSONAnyCGSgSayAV0B5TotalVGA34_tcfc", "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8RawValuea", - "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8RawValuea", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B0V2eeoiySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B0V2eeoiySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", - "implicit": true + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "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:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s18ShopifyCheckoutKit0B0V6encode2toys7Encoder_p_tKF", "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:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO8rawValueSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B21FulfillmentMethodTypeO", - "mangledName": "$s18ShopifyCheckoutKit0B21FulfillmentMethodTypeO", + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B0V", + "mangledName": "$s18ShopifyCheckoutKit0B0V", "moduleName": "ShopifyCheckoutKit", - "enumRawTypeName": "String", - "isEnumExhaustive": true, "conformances": [ { "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": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "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" - }, - { - "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": "CheckoutLineItem", - "printedName": "CheckoutLineItem", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV2idSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV2idSSvp", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B8LineItemV2idSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV2idSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Var", - "name": "merchandiseID", - "printedName": "merchandiseID", + "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": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutCommunicationProtocol", + "printedName": "CheckoutCommunicationProtocol", + "children": [ + { + "kind": "Function", + "name": "process", + "printedName": "process(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -5159,23 +2039,8 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV13merchandiseIDSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -5183,101 +2048,72 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV5titleSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV5titleSSvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", + "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B8LineItemV5titleSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV5titleSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", + "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV8quantitySivp", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV8quantitySivp", - "moduleName": "ShopifyCheckoutKit", - "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:18ShopifyCheckoutKit0B8LineItemV8quantitySivg", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV8quantitySivg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "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": "CheckoutCompleteEvent", + "printedName": "CheckoutCompleteEvent", + "children": [ { "kind": "Var", - "name": "unitPrice", - "printedName": "unitPrice", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV9unitPriceSivp", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV9unitPriceSivp", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvp", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -5292,14 +2128,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV9unitPriceSivg", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV9unitPriceSivg", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvg", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAA0B0Vvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -5310,66 +2146,28 @@ ] }, { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutLineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemTotal", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvp", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutLineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLineItemTotal", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvg", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV6totalsSayAA0bdE5TotalVGvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } - ] + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV8checkoutAcA0B0V_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV8checkoutAcA0B0V_tcfc", + "moduleName": "ShopifyCheckoutKit", + "init_kind": "Designated" }, { "kind": "Function", @@ -5384,20 +2182,20 @@ }, { "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" }, { "kind": "TypeNominal", - "name": "CheckoutLineItem", - "printedName": "ShopifyCheckoutKit.CheckoutLineItem", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV23__derived_struct_equalsySbAC_ACtFZ", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV23__derived_struct_equalsySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -5405,53 +2203,13 @@ "Implements" ], "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "ID", - "printedName": "ID", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV2IDa", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV2IDa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true } ], "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B8LineItemV", - "mangledName": "$s18ShopifyCheckoutKit0B8LineItemV", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV", + "mangledName": "$s18ShopifyCheckoutKit0B13CompleteEventV", "moduleName": "ShopifyCheckoutKit", "conformances": [ - { - "kind": "Conformance", - "name": "Identifiable", - "printedName": "Identifiable", - "children": [ - { - "kind": "TypeWitness", - "name": "ID", - "printedName": "ID", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:s12IdentifiableP", - "mangledName": "$ss12IdentifiableP" - }, { "kind": "Conformance", "name": "Equatable", @@ -5491,224 +2249,330 @@ }, { "kind": "TypeDecl", - "name": "CheckoutLineItemTotal", - "printedName": "CheckoutLineItemTotal", + "name": "CheckoutConfigurable", + "printedName": "CheckoutConfigurable", "children": [ { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", + "children": [ + { + "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": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", + "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" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", + "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" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "tintColor", + "printedName": "tintColor(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, "declAttributes": [ - "HasStorage" + "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:18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV4typeSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "amount", - "printedName": "amount", + "kind": "Function", + "name": "tintColor", + "printedName": "tintColor(_:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV6amountSivp", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV6amountSivp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", "declAttributes": [ - "HasStorage" + "DiscardableResult", + "Custom" ], - "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:18ShopifyCheckoutKit0B13LineItemTotalV6amountSivg", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV6amountSivg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "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:18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, "declAttributes": [ - "HasStorage" + "Custom" ], - "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:18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV11displayTextSSSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "name": "title", + "printedName": "title(_:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutLineItemTotal", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" + "name": "GenericTypeParam", + "printedName": "Self" }, { "kind": "TypeNominal", - "name": "CheckoutLineItemTotal", - "printedName": "ShopifyCheckoutKit.CheckoutLineItemTotal", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV23__derived_struct_equalsySbAC_ACtFZ", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, + "genericSig": "", "declAttributes": [ - "Implements" + "DiscardableResult", + "Custom" ], + "isFromExtension": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B13LineItemTotalV", - "mangledName": "$s18ShopifyCheckoutKit0B13LineItemTotalV", + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP", "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Custom" + ], "conformances": [ { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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", @@ -5716,324 +2580,265 @@ "printedName": "Copyable", "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutLink", - "printedName": "CheckoutLink", + "name": "CheckoutDelegate", + "printedName": "CheckoutDelegate", "children": [ { - "kind": "Var", - "name": "url", - "printedName": "url", + "kind": "Function", + "name": "checkoutAction", + "printedName": "checkoutAction(for:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutAction", + "printedName": "checkoutAction(for:)", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvp", - "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE14checkoutAction3forAA0b4LinkF0OAA0bH0V_tF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", "declAttributes": [ - "HasStorage" + "Custom" ], - "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:18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvg", - "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(url:)", + "kind": "Function", + "name": "checkoutDidComplete", + "printedName": "checkoutDidComplete(_:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutLink", - "printedName": "ShopifyCheckoutKit.CheckoutLink", - "usr": "s:18ShopifyCheckoutKit0B4LinkV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B4LinkV3urlAC10Foundation3URLV_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3urlAC10Foundation3URLV_tcfc", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP19checkoutDidCompleteyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", - "init_kind": "Designated" + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "name": "checkoutDidComplete", + "printedName": "checkoutDidComplete(_:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutLink", - "printedName": "ShopifyCheckoutKit.CheckoutLink", - "usr": "s:18ShopifyCheckoutKit0B4LinkV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "CheckoutLink", - "printedName": "ShopifyCheckoutKit.CheckoutLink", - "usr": "s:18ShopifyCheckoutKit0B4LinkV" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B4LinkV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B4LinkV23__derived_struct_equalsySbAC_ACtFZ", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE19checkoutDidCompleteyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, + "genericSig": "", "declAttributes": [ - "Implements" + "Custom" ], + "isFromExtension": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B4LinkV", - "mangledName": "$s18ShopifyCheckoutKit0B4LinkV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "CheckoutLinkAction", - "printedName": "CheckoutLinkAction", - "children": [ - { - "kind": "Var", - "name": "open", - "printedName": "open", + "kind": "Function", + "name": "checkoutDidDismiss", + "printedName": "checkoutDidDismiss()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO4openyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO4openyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "cancel", - "printedName": "cancel", + "kind": "Function", + "name": "checkoutDidDismiss", + "printedName": "checkoutDidDismiss()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO6cancelyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO6cancelyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "handled", - "printedName": "handled", + "kind": "Function", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail(_:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CheckoutFailureEvent", + "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO7handledyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO7handledyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFailyyAA0B12FailureEventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFailyyAA0B12FailureEventVF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "__derived_enum_equals", - "printedName": "__derived_enum_equals(_:_:)", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail(_:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + "name": "CheckoutFailureEvent", + "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidStart", + "printedName": "checkoutDidStart(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "CheckoutLinkAction", - "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO21__derived_enum_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO21__derived_enum_equalsySbAC_ACtFZ", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP16checkoutDidStartyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, + "genericSig": "", + "protocolReq": true, "declAttributes": [ - "Implements" + "Custom" ], + "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", + "name": "checkoutDidStart", + "printedName": "checkoutDidStart(_:)", "children": [ { "kind": "TypeNominal", @@ -6042,118 +2847,160 @@ }, { "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO4hash4intoys6HasherVz_tF", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO4hash4intoys6HasherVz_tF", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE16checkoutDidStartyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", - "implicit": true, + "genericSig": "", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "kind": "Function", + "name": "checkoutDidUpdate", + "printedName": "checkoutDidUpdate(_:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO9hashValueSivp", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO9hashValueSivp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP17checkoutDidUpdateyyAA0bG5EventVF", "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "accessors": [ + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "checkoutDidUpdate", + "printedName": "checkoutDidUpdate(_:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO9hashValueSivg", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO9hashValueSivg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0bG5EventVF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE17checkoutDidUpdateyyAA0bG5EventVF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B10LinkActionO", - "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO", + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP", "moduleName": "ShopifyCheckoutKit", - "isEnumExhaustive": true, + "genericSig": "", + "declAttributes": [ + "Custom" + ], "conformances": [ - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutOrder", - "printedName": "CheckoutOrder", + "name": "CheckoutError", + "printedName": "CheckoutError", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "code", + "printedName": "code", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "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" + } + ] + }, + { + "kind": "Var", + "name": "message", + "printedName": "message", "children": [ { "kind": "TypeNominal", @@ -6163,8 +3010,8 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5OrderV2idSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV2idSSvp", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -6185,8 +3032,8 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5OrderV2idSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV2idSSvg", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -6198,27 +3045,27 @@ }, { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "httpStatusCode", + "printedName": "httpStatusCode", "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B5OrderV5labelSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV5labelSSSgvp", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -6234,21 +3081,21 @@ { "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:18ShopifyCheckoutKit0B5OrderV5labelSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV5labelSSSgvg", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -6260,27 +3107,27 @@ }, { "kind": "Var", - "name": "permalink", - "printedName": "permalink", + "name": "underlyingError", + "printedName": "underlyingError", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.URL?", + "printedName": "(any Swift.Error)?", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvp", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -6296,21 +3143,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.URL?", + "printedName": "(any Swift.Error)?", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV9permalink10Foundation3URLVSgvg", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -6321,73 +3168,74 @@ ] }, { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(code:message:httpStatusCode:underlyingError:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" }, { "kind": "TypeNominal", - "name": "CheckoutOrder", - "printedName": "ShopifyCheckoutKit.CheckoutOrder", - "usr": "s:18ShopifyCheckoutKit0B5OrderV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, - { - "kind": "TypeNominal", - "name": "CheckoutOrder", - "printedName": "ShopifyCheckoutKit.CheckoutOrder", - "usr": "s:18ShopifyCheckoutKit0B5OrderV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B5OrderV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "ID", - "printedName": "ID", - "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "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": "(any Swift.Error)?", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B5OrderV2IDa", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV2IDa", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", "moduleName": "ShopifyCheckoutKit", - "implicit": true - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B5OrderV", - "mangledName": "$s18ShopifyCheckoutKit0B5OrderV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ + "init_kind": "Designated" + }, { - "kind": "Conformance", - "name": "Identifiable", - "printedName": "Identifiable", + "kind": "Var", + "name": "errorDescription", + "printedName": "errorDescription", "children": [ { - "kind": "TypeWitness", - "name": "ID", - "printedName": "ID", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -6395,18 +3243,62 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:s12IdentifiableP", - "mangledName": "$ss12IdentifiableP" + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", + "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" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "LocalizedError", + "printedName": "LocalizedError", + "usr": "s:10Foundation14LocalizedErrorP", + "mangledName": "$s10Foundation14LocalizedErrorP" }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" }, { "kind": "Conformance", @@ -6440,511 +3332,487 @@ }, { "kind": "TypeDecl", - "name": "CheckoutPaymentInstrument", - "printedName": "CheckoutPaymentInstrument", + "name": "CheckoutErrorCode", + "printedName": "CheckoutErrorCode", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "storefrontPasswordRequired", + "printedName": "storefrontPasswordRequired", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvp", - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV2idSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "customerAccountRequired", + "printedName": "customerAccountRequired", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvp", - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV4typeSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "handlerID", - "printedName": "handlerID", + "name": "cartExpired", + "printedName": "cartExpired", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvp", - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV9handlerIDSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "selected", - "printedName": "selected", + "name": "cartCompleted", + "printedName": "cartCompleted", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvp", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvp", - "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": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "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:18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvg", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV8selectedSbvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "kind": "Var", + "name": "invalidCart", + "printedName": "invalidCart", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutPaymentInstrument", - "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutPaymentInstrument", - "printedName": "ShopifyCheckoutKit.CheckoutPaymentInstrument", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV23__derived_struct_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" + "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" + } + ] + } + ] + } ], - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { - "kind": "TypeAlias", - "name": "ID", - "printedName": "ID", + "kind": "Var", + "name": "httpError", + "printedName": "httpError", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV2IDa", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV2IDa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B17PaymentInstrumentV", - "mangledName": "$s18ShopifyCheckoutKit0B17PaymentInstrumentV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, { - "kind": "Conformance", - "name": "Identifiable", - "printedName": "Identifiable", + "kind": "Var", + "name": "networkError", + "printedName": "networkError", "children": [ { - "kind": "TypeWitness", - "name": "ID", - "printedName": "ID", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] } ] } ], - "usr": "s:s12IdentifiableP", - "mangledName": "$ss12IdentifiableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutPreload", - "printedName": "CheckoutPreload", - "children": [ { "kind": "Var", - "name": "onStateChange", - "printedName": "onStateChange", + "name": "webContentProcessTerminated", + "printedName": "webContentProcessTerminated", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, { "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage", - "Custom" - ], - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "sdkError", + "printedName": "sdkError", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", "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": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", "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": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:Sq" + ] + } + ] + } + ], + "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" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Final" + "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": "TypeAlias", + "name": "AllCases", + "printedName": "AllCases", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } ], - "accessorKind": "set" + "usr": "s:Sa" } - ] + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true }, { "kind": "TypeAlias", - "name": "ObjectWillChangePublisher", - "printedName": "ObjectWillChangePublisher", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "ObservableObjectPublisher", - "printedName": "Combine.ObservableObjectPublisher", - "usr": "s:7Combine25ObservableObjectPublisherC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", "moduleName": "ShopifyCheckoutKit", "implicit": true }, { "kind": "Var", - "name": "$state", - "printedName": "$state", + "name": "allCases", + "printedName": "allCases", "children": [ { "kind": "TypeNominal", - "name": "Publisher", - "printedName": "Combine.Published.Publisher", - "usr": "s:7Combine9PublishedV9PublisherV" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ - "Final", - "SetterAccess", - "Custom" + "Nonisolated" ], "accessors": [ { @@ -6954,46 +3822,46 @@ "children": [ { "kind": "TypeNominal", - "name": "Publisher", - "printedName": "Combine.Published.Publisher", - "usr": "s:7Combine9PublishedV9PublisherV" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, - "declAttributes": [ - "Final" - ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "state", - "printedName": "state", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Final", - "ProjectedValueProperty", - "SetterAccess", - "Custom", - "Custom" - ], + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -7002,55 +3870,110 @@ "children": [ { "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ - "Final" + "Inlinable" ], "accessorKind": "get" } - ] - } - ], - "declKind": "Class", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Final", - "Custom" - ], - "hasMissingDesignatedInitializers": true, - "conformances": [ + ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", + "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": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", - "name": "ObservableObject", - "printedName": "ObservableObject", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CaseIterable", + "printedName": "CaseIterable", "children": [ { "kind": "TypeWitness", - "name": "ObjectWillChangePublisher", - "printedName": "ObjectWillChangePublisher", + "name": "AllCases", + "printedName": "AllCases", "children": [ { "kind": "TypeNominal", - "name": "ObservableObjectPublisher", - "printedName": "Combine.ObservableObjectPublisher", - "usr": "s:7Combine25ObservableObjectPublisherC" + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ], + "usr": "s:Sa" } ] } ], - "usr": "s:7Combine16ObservableObjectP", - "mangledName": "$s7Combine16ObservableObjectP" + "usr": "s:s12CaseIterableP", + "mangledName": "$ss12CaseIterableP" }, { "kind": "Conformance", @@ -7059,6 +3982,13 @@ "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, { "kind": "Conformance", "name": "Copyable", @@ -7072,54 +4002,31 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutProtocol", - "printedName": "CheckoutProtocol", + "name": "CheckoutFailureEvent", + "printedName": "CheckoutFailureEvent", "children": [ { "kind": "Var", - "name": "complete", - "printedName": "complete", + "name": "error", + "printedName": "error", "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" + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvp", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -7132,30 +4039,15 @@ "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" + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvg", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAA0B5ErrorVvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -7164,39 +4056,118 @@ } ] }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(error:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFailureEvent", + "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV5errorAcA0B5ErrorV_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV5errorAcA0B5ErrorV_tcfc", + "moduleName": "ShopifyCheckoutKit", + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B12FailureEventV", + "mangledName": "$s18ShopifyCheckoutKit0B12FailureEventV", + "moduleName": "ShopifyCheckoutKit", + "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": "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" + }, + { + "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": "CheckoutLink", + "printedName": "CheckoutLink", + "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "usr": "s:18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvp", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -7209,30 +4180,15 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvg", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3url10Foundation3URLVvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -7242,196 +4198,300 @@ ] }, { - "kind": "Var", - "name": "fulfillmentChange", - "printedName": "fulfillmentChange", + "kind": "Constructor", + "name": "init", + "printedName": "init(url:)", "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" + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B4LinkV3urlAC10Foundation3URLV_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV3urlAC10Foundation3URLV_tcfc", + "moduleName": "ShopifyCheckoutKit", + "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": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B4LinkV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV23__derived_struct_equalsySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Implements" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B4LinkV", + "mangledName": "$s18ShopifyCheckoutKit0B4LinkV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutLinkAction", + "printedName": "CheckoutLinkAction", + "children": [ + { + "kind": "Var", + "name": "open", + "printedName": "open", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO4openyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO4openyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "lineItemsChange", - "printedName": "lineItemsChange", + "name": "cancel", + "printedName": "cancel", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO6cancelyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO6cancelyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", + "name": "handled", + "printedName": "handled", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLinkAction.Type) -> ShopifyCheckoutKit.CheckoutLinkAction", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO7handledyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO7handledyA2CmF", + "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": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO21__derived_enum_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO21__derived_enum_equalsySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Implements" ], - "isLet": true, - "hasStorage": 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:18ShopifyCheckoutKit0B10LinkActionO4hash4intoys6HasherVz_tF", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO4hash4intoys6HasherVz_tF", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO9hashValueSivp", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO9hashValueSivp", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -7440,151 +4500,125 @@ "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO9hashValueSivg", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO9hashValueSivg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, - "declAttributes": [ - "Transparent" - ], "accessorKind": "get" } ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO", + "mangledName": "$s18ShopifyCheckoutKit0B10LinkActionO", + "moduleName": "ShopifyCheckoutKit", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { - "kind": "Var", - "name": "start", - "printedName": "start", - "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "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": "CheckoutPreload", + "printedName": "CheckoutPreload", + "children": [ + { + "kind": "Var", + "name": "onStateChange", + "printedName": "onStateChange", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", "children": [ { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "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.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + ] } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ "HasInitialValue", - "HasStorage" + "Final", + "HasStorage", + "Custom" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -7594,218 +4628,144 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + "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:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "Final" ], "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", - "children": [ + }, { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "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" + "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:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "Final" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, - { - "kind": "Function", - "name": "url", - "printedName": "url(for:)", - "children": [ - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "funcSelfKind": "NonMutating" - }, { "kind": "TypeAlias", - "name": "Client", - "printedName": "Client", + "name": "ObjectWillChangePublisher", + "printedName": "ObjectWillChangePublisher", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + "name": "ObservableObjectPublisher", + "printedName": "Combine.ObservableObjectPublisher", + "usr": "s:7Combine25ObservableObjectPublisherC" } ], "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" + "usr": "s:18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "moduleName": "ShopifyCheckoutKit", + "implicit": true }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutStartEvent", - "printedName": "CheckoutStartEvent", - "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "$state", + "printedName": "$state", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "Publisher", + "printedName": "Combine.Published.Publisher", + "usr": "s:7Combine9PublishedV9PublisherV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvp", - "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvp", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", "moduleName": "ShopifyCheckoutKit", + "implicit": true, "declAttributes": [ - "HasStorage" + "Final", + "SetterAccess", + "Custom" ], - "isLet": true, - "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -7814,94 +4774,103 @@ "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" + "name": "Publisher", + "printedName": "Combine.Published.Publisher", + "usr": "s:7Combine9PublishedV9PublisherV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvg", - "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvg", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ - "Transparent" + "Final" ], "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStartEvent", - "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "ShopifyCheckoutKit.Checkout", - "usr": "s:18ShopifyCheckoutKit0B0V" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAcA0B0V_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAcA0B0V_tcfc", - "moduleName": "ShopifyCheckoutKit", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "kind": "Var", + "name": "state", + "printedName": "state", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CheckoutStartEvent", - "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutStartEvent", - "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV" + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV23__derived_struct_equalsySbAC_ACtFZ", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, "declAttributes": [ - "Implements" + "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": "Struct", - "usr": "s:18ShopifyCheckoutKit0B10StartEventV", - "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV", + "declKind": "Class", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC", "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Final", + "Custom" + ], + "hasMissingDesignatedInitializers": true, "conformances": [ { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "ObservableObject", + "printedName": "ObservableObject", + "children": [ + { + "kind": "TypeWitness", + "name": "ObjectWillChangePublisher", + "printedName": "ObjectWillChangePublisher", + "children": [ + { + "kind": "TypeNominal", + "name": "ObservableObjectPublisher", + "printedName": "Combine.ObservableObjectPublisher", + "usr": "s:7Combine25ObservableObjectPublisherC" + } + ] + } + ], + "usr": "s:7Combine16ObservableObjectP", + "mangledName": "$s7Combine16ObservableObjectP" }, { "kind": "Conformance", @@ -7910,13 +4879,6 @@ "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, { "kind": "Conformance", "name": "Copyable", @@ -7930,307 +4892,366 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutStatus", - "printedName": "CheckoutStatus", + "name": "CheckoutProtocol", + "printedName": "CheckoutProtocol", "children": [ { "kind": "Var", - "name": "incomplete", - "printedName": "incomplete", + "name": "complete", + "printedName": "complete", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" - }, + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "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": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B6StatusO10incompleteyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO10incompleteyA2CmF", - "moduleName": "ShopifyCheckoutKit" + ] }, { "kind": "Var", - "name": "readyForComplete", - "printedName": "readyForComplete", + "name": "error", + "printedName": "error", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" - } - ] + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B6StatusO16readyForCompleteyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO16readyForCompleteyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "completeInProgress", - "printedName": "completeInProgress", - "children": [ + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "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" } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B6StatusO18completeInProgressyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO18completeInProgressyA2CmF", - "moduleName": "ShopifyCheckoutKit" + ] }, { "kind": "Var", - "name": "completed", - "printedName": "completed", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" - } - ] + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B6StatusO9completedyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO9completedyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "canceled", - "printedName": "canceled", - "children": [ + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B6StatusO8canceledyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8canceledyA2CmF", - "moduleName": "ShopifyCheckoutKit" + ] }, { "kind": "Var", - "name": "requiresEscalation", - "printedName": "requiresEscalation", + "name": "lineItemsChange", + "printedName": "lineItemsChange", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutStatus.Type) -> ShopifyCheckoutKit.CheckoutStatus", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutStatus.Type", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "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": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "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" } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B6StatusO18requiresEscalationyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO18requiresEscalationyA2CmF", - "moduleName": "ShopifyCheckoutKit" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "messagesChange", + "printedName": "messagesChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutStatus?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "ShopifyCheckoutKit.CheckoutStatus", - "usr": "s:18ShopifyCheckoutKit0B6StatusO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B6StatusO8rawValueACSgSS_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", - "implicit": true, + "static": 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:18ShopifyCheckoutKit0B6StatusO8RawValuea", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8RawValuea", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "HasInitialValue", + "HasStorage" ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B6StatusO8rawValueSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8rawValueSSvp", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -8239,119 +5260,148 @@ "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": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B6StatusO8rawValueSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO8rawValueSSvg", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B6StatusO", - "mangledName": "$s18ShopifyCheckoutKit0B6StatusO", - "moduleName": "ShopifyCheckoutKit", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Var", + "name": "start", + "printedName": "start", "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": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "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": [ + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "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:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "totalsChange", + "printedName": "totalsChange", "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": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5TotalV4typeSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV4typeSSvp", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -8364,15 +5414,30 @@ "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": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5TotalV4typeSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV4typeSSvg", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -8383,21 +5448,43 @@ }, { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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": "Var", - "usr": "s:18ShopifyCheckoutKit0B5TotalV6amountSivp", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV6amountSivp", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -8410,15 +5497,36 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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:18ShopifyCheckoutKit0B5TotalV6amountSivg", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV6amountSivg", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -8427,29 +5535,91 @@ } ] }, + { + "kind": "Function", + "name": "url", + "printedName": "url(for:)", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "Client", + "printedName": "Client", + "children": [ + { + "kind": "TypeNominal", + "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": "CheckoutStartEvent", + "printedName": "CheckoutStartEvent", + "children": [ { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvp", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvp", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "HasStorage" @@ -8464,22 +5634,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV11displayTextSSSgvg", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvg", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAA0B0Vvg", "moduleName": "ShopifyCheckoutKit", "implicit": true, "declAttributes": [ @@ -8489,6 +5651,30 @@ } ] }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "ShopifyCheckoutKit.Checkout", + "usr": "s:18ShopifyCheckoutKit0B0V" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV8checkoutAcA0B0V_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV8checkoutAcA0B0V_tcfc", + "moduleName": "ShopifyCheckoutKit", + "init_kind": "Designated" + }, { "kind": "Function", "name": "__derived_struct_equals", @@ -8502,20 +5688,20 @@ }, { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "ShopifyCheckoutKit.CheckoutTotal", - "usr": "s:18ShopifyCheckoutKit0B5TotalV" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" }, { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "ShopifyCheckoutKit.CheckoutTotal", - "usr": "s:18ShopifyCheckoutKit0B5TotalV" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B5TotalV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV23__derived_struct_equalsySbAC_ACtFZ", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV23__derived_struct_equalsySbAC_ACtFZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, @@ -8526,8 +5712,8 @@ } ], "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B5TotalV", - "mangledName": "$s18ShopifyCheckoutKit0B5TotalV", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV", + "mangledName": "$s18ShopifyCheckoutKit0B10StartEventV", "moduleName": "ShopifyCheckoutKit", "conformances": [ { From 3e45da0a1781a50605b53e675d18d3933dcf7432 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:45:55 +0100 Subject: [PATCH 14/23] Add update callback to Swift demo --- .../Sources/Scenes/Cart/CartView.swift | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index fe69b00a5..fb10e1021 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -118,6 +118,12 @@ struct CartView: View { if let url = cartManager.cart?.checkoutURL { ShopifyCheckout(checkout: url) .appearance(.app(.automatic)) + .onStart { event in + print("[CheckoutKitSwiftDemo] Started: \(event.checkout.id)") + } + .onUpdate { event in + print("[CheckoutKitSwiftDemo] Updated: \(event.checkout.id)") + } .onComplete { event in // Set the flag here; defer the cart reset until the user dismisses // the sheet (in .onDismiss). Resetting now would nil the cart and @@ -138,9 +144,6 @@ struct CartView: View { showCheckoutSheet = false print("[CheckoutKitSwiftDemo] FAIL - Checkout failed: \(event.error)") } - .onStart { event in - print("[CheckoutKitSwiftDemo] Started: \(event.checkout.id)") - } .edgesIgnoringSafeArea(.all) } } From ce430746b90570b0ee272f0e8f00abef2ea30f98 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:48:16 +0100 Subject: [PATCH 15/23] Demonstrate checkout fulfillment updates --- .../Sources/Scenes/Cart/CartView.swift | 38 +++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index fb10e1021..c119cd1ec 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -13,6 +13,8 @@ struct CartView: View { @State var showCheckoutSheet: Bool = false @State private var checkoutPreload: CheckoutPreload? @State private var preloadStateTestId = PreloadStateMarker.testId(for: .idle) + @State private var selectedAddressIDs: [String: String] = [:] + @State private var selectedDeliveryMethodIDs: [String: String] = [:] @ObservedObject var cartManager: CartManager = .shared @ObservedObject private var preloadCacheHitLog: PreloadCacheHitLog = .shared @@ -119,20 +121,34 @@ struct CartView: View { ShopifyCheckout(checkout: url) .appearance(.app(.automatic)) .onStart { event in + selectedAddressIDs = selectedAddressIDs(in: event.checkout) + selectedDeliveryMethodIDs = selectedDeliveryMethodIDs(in: event.checkout) print("[CheckoutKitSwiftDemo] Started: \(event.checkout.id)") } .onUpdate { event in + let updatedAddressIDs = selectedAddressIDs(in: event.checkout) + if updatedAddressIDs != selectedAddressIDs { + print("[CheckoutKitSwiftDemo] Selected address changed") + selectedAddressIDs = updatedAddressIDs + } + + let updatedDeliveryMethodIDs = selectedDeliveryMethodIDs(in: event.checkout) + if updatedDeliveryMethodIDs != selectedDeliveryMethodIDs { + print("[CheckoutKitSwiftDemo] Selected delivery method changed") + selectedDeliveryMethodIDs = updatedDeliveryMethodIDs + } + print("[CheckoutKitSwiftDemo] Updated: \(event.checkout.id)") } .onComplete { event in // Set the flag here; defer the cart reset until the user dismisses // the sheet (in .onDismiss). Resetting now would nil the cart and // SwiftUI would auto-collapse this sheet, hiding the confirmation page. - print("[CheckoutKitSwiftDemo] Complete: \(event.checkout.order?.id ?? "unknown")") + print("[CheckoutKitSwiftDemo] Completed: \(event.checkout.order?.id ?? "unknown")") isCompleted = true } .onDismiss { - print("[CheckoutKitSwiftDemo] dismissed") + print("[CheckoutKitSwiftDemo] Dismissed") showCheckoutSheet = false if isCompleted { @@ -142,7 +158,7 @@ struct CartView: View { } .onFail { event in showCheckoutSheet = false - print("[CheckoutKitSwiftDemo] FAIL - Checkout failed: \(event.error)") + print("[CheckoutKitSwiftDemo] Failed: \(event.error)") } .edgesIgnoringSafeArea(.all) } @@ -189,6 +205,22 @@ struct CartView: View { ShopifyCheckoutKit.configuration.logger.log("Preload state changed to \(state)") } } + + private func selectedAddressIDs(in checkout: ShopifyCheckoutKit.Checkout) -> [String: String] { + (checkout.fulfillment?.methods ?? []).reduce(into: [:]) { selections, method in + guard method.type == .shipping, let destinationID = method.selectedDestinationID else { return } + selections[method.id] = destinationID + } + } + + private func selectedDeliveryMethodIDs(in checkout: ShopifyCheckoutKit.Checkout) -> [String: String] { + (checkout.fulfillment?.methods ?? []).reduce(into: [:]) { selections, method in + for group in method.groups ?? [] { + guard let optionID = group.selectedOptionID else { continue } + selections["\(method.id):\(group.id)"] = optionID + } + } + } } struct EmptyState: View { From f6554626079a0d976ddd6660a0aeb6d22e09b34c Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:49:41 +0100 Subject: [PATCH 16/23] Document checkout update examples --- .../CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index c119cd1ec..abbef94ce 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -126,12 +126,14 @@ struct CartView: View { print("[CheckoutKitSwiftDemo] Started: \(event.checkout.id)") } .onUpdate { event in + // The selected address changed. let updatedAddressIDs = selectedAddressIDs(in: event.checkout) if updatedAddressIDs != selectedAddressIDs { print("[CheckoutKitSwiftDemo] Selected address changed") selectedAddressIDs = updatedAddressIDs } + // The selected delivery method changed. let updatedDeliveryMethodIDs = selectedDeliveryMethodIDs(in: event.checkout) if updatedDeliveryMethodIDs != selectedDeliveryMethodIDs { print("[CheckoutKitSwiftDemo] Selected delivery method changed") From 24b7134375e27453660cbcf8c4679500054eb1c6 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:50:06 +0100 Subject: [PATCH 17/23] Keep start callback read only --- .../CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index abbef94ce..2f6d25489 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -121,8 +121,6 @@ struct CartView: View { ShopifyCheckout(checkout: url) .appearance(.app(.automatic)) .onStart { event in - selectedAddressIDs = selectedAddressIDs(in: event.checkout) - selectedDeliveryMethodIDs = selectedDeliveryMethodIDs(in: event.checkout) print("[CheckoutKitSwiftDemo] Started: \(event.checkout.id)") } .onUpdate { event in From 531d8b7a8cc4ad36fc79ec13c16e39462687d9e6 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 11 Sep 2026 14:52:57 +0100 Subject: [PATCH 18/23] Organize checkout model source --- .../swift/Sources/ShopifyCheckoutKit/{ => Models}/Checkout.swift | 1 + 1 file changed, 1 insertion(+) rename platforms/swift/Sources/ShopifyCheckoutKit/{ => Models}/Checkout.swift (98%) diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift b/platforms/swift/Sources/ShopifyCheckoutKit/Models/Checkout.swift similarity index 98% rename from platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift rename to platforms/swift/Sources/ShopifyCheckoutKit/Models/Checkout.swift index 489f437f5..3c793e59c 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/Checkout.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/Models/Checkout.swift @@ -34,6 +34,7 @@ public struct Checkout: Codable, Sendable { case links, messages, order, payment, signals, status, totals } + /// Prevent typed fields and the omitted `ucp` metadata from being copied through `additionalProperties`. private static let excludedAdditionalPropertyKeys: Set = [ "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "signals", "status", From db87c1e3d989f9cc55386cb6036fac1acaa5e75b Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 14 Sep 2026 12:57:59 +0100 Subject: [PATCH 19/23] Fix Swift checkout event delivery and remove accelerated protocol clients --- platforms/swift/README.md | 15 +- .../Sources/CheckoutProtocolClient.swift | 50 - .../Sources/Scenes/Cart/CartView.swift | 75 +- .../Samples/CheckoutKitSwiftDemo/README.md | 6 +- .../Wallets/AcceleratedCheckoutButtons.swift | 41 +- .../Wallets/ApplePay/ApplePayButton.swift | 41 +- .../ApplePay/ApplePayViewController.swift | 19 +- .../Wallets/LifecycleObservingClient.swift | 27 - .../Wallets/ShopPay/ShopPayButton.swift | 37 +- .../ShopPay/ShopPayViewController.swift | 7 +- .../Wallets/Wallet.swift | 24 +- .../Wallets/WalletController.swift | 31 +- .../ApplePayViewControllerTests.swift | 34 +- .../LifecycleObservingClientTests.swift | 88 -- .../ShopPay/ShopPayViewControllerTests.swift | 12 +- .../Wallets/WalletControllerTests.swift | 57 +- .../CheckoutEventAdapterTests.swift | 27 + .../api/ShopifyAcceleratedCheckouts.json | 1113 +++++++++++++++-- .../EmbeddedCheckoutProtocol+Event.swift | 30 +- .../ClientTests.swift | 35 + protocol/scripts/generate_swift_catalog.mjs | 4 +- 21 files changed, 1349 insertions(+), 424 deletions(-) delete mode 100644 platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift delete mode 100644 platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/LifecycleObservingClient.swift delete mode 100644 platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/LifecycleObservingClientTests.swift diff --git a/platforms/swift/README.md b/platforms/swift/README.md index 2b27a8e6a..be557b7b7 100644 --- a/platforms/swift/README.md +++ b/platforms/swift/README.md @@ -530,13 +530,24 @@ AcceleratedCheckoutButtons(cartID: cartID) .onRenderStateChange { state in // loading, rendered, or error(reason:) } + .onStart { event in + // Checkout started: event.checkout. + } + .onUpdate { event in + // Buyer-visible checkout data changed: event.checkout. + } + .onComplete { event in + // Mark checkout as completed; reset the cart after dismissal. + } + .onLinkClick { link in + .open + } .onFail { error in // Handle checkout failure. } .onDismiss { // The buyer dismissed the accelerated checkout flow. } - .connect(client) ``` You can also render buttons for a single product variant: @@ -548,7 +559,7 @@ AcceleratedCheckoutButtons( ) ``` -Use `CheckoutProtocol.Client` through `.connect(client)` to observe checkout completion and state changes. Clear or refresh the cart when `CheckoutProtocol.complete` fires to avoid reusing an expired cart ID. +Use `.onStart`, `.onUpdate`, `.onComplete`, and `.onLinkClick` for Shop Pay and Apple Pay’s web checkout fallback. These callbacks do not require a protocol client. After completion, clear or refresh the cart when checkout is dismissed so the confirmation page remains visible. ## Troubleshooting diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift deleted file mode 100644 index 4dd91c0e0..000000000 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift +++ /dev/null @@ -1,50 +0,0 @@ -import EmbeddedCheckoutProtocol -import ShopifyCheckoutKit -import UIKit - -extension CheckoutProtocol.Client { - @MainActor - static func with(windowOpen: WindowOpenHandlerOption) -> CheckoutProtocol.Client { - let base = CheckoutProtocol.Client() - .on(CheckoutProtocol.start) { checkout in - print("[UCP] ec.start: \(checkout.id)") - } - .on(CheckoutProtocol.complete) { checkout in - // Do NOT reset the cart here — the cart drives a SwiftUI `if let` in CartView, - // and nil-ing it auto-collapses the .sheet, hiding the order confirmation page. - // Reset on user dismissal instead (see CartView .onDismiss + isCompleted). - print("[UCP] ec.complete: \(checkout.order?.id ?? "unknown")") - } - .on(CheckoutProtocol.lineItemsChange) { checkout in - print("[UCP] ec.line_items.change: \(checkout.id)") - } - .on(CheckoutProtocol.messagesChange) { checkout in - print("[UCP] ec.messages.change: \(checkout.id)") - } - .on(CheckoutProtocol.totalsChange) { checkout in - print("[UCP] ec.totals.change: \(checkout.id)") - } - .on(CheckoutProtocol.fulfillmentChange) { checkout in - print("[UCP] ec.fulfillment.change: \(checkout.id)") - } - .on(CheckoutProtocol.error) { error in - print("[UCP] ec.error: \(error.messages.first?.content ?? "(no message)")") - } - - switch windowOpen { - case .default: - return base - case .externalApp: - return base.on(CheckoutProtocol.windowOpen) { request in - guard let target = request.parsedURL else { - return .rejected(reason: "invalid URL") - } - - print("[UCP] ec.window_open (\(target.scheme ?? "")) → external app") - - let didOpen = await UIApplication.shared.open(target) - return didOpen ? .success() : .rejected(reason: "failed to open URL") - } - } - } -} diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift index 2f6d25489..ab604c6ea 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -1,5 +1,4 @@ import ApolloAPI -import EmbeddedCheckoutProtocol import ShopifyAcceleratedCheckouts import ShopifyCheckoutKit import SwiftUI @@ -31,10 +30,6 @@ struct CartView: View { @AppStorage(AppStorageKeys.preloadObservabilityEnabled.rawValue) private var preloadObservabilityEnabled = false - private var client: CheckoutProtocol.Client { - .with(windowOpen: windowOpenHandler) - } - var body: some View { if let lines = cartManager.cart?.lines.nodes { ZStack(alignment: .bottom) { @@ -64,13 +59,22 @@ struct CartView: View { if #available(iOS 16, *) { AcceleratedCheckoutButtons(cartID: cartID) .applePayButtonStyle(applePayStyle.style) + .onStart { event in + print("[AcceleratedCheckout] Started: \(event.checkout.id)") + } + .onUpdate(handleCheckoutUpdate) + .onComplete { event in + print("[AcceleratedCheckout] Completed: \(event.checkout.order?.id ?? "unknown")") + isCompleted = true + } + .onLinkClick(handleCheckoutLink) .onFail { error in print("[AcceleratedCheckout] Failed: \(error)") } .onDismiss { print("[AcceleratedCheckout] Dismissed") + resetCompletedCart() } - .connect(client) .environment( \.shopifyAcceleratedCheckoutsConfiguration, ShopifyAcceleratedCheckouts.Configuration( @@ -123,23 +127,8 @@ struct CartView: View { .onStart { event in print("[CheckoutKitSwiftDemo] Started: \(event.checkout.id)") } - .onUpdate { event in - // The selected address changed. - let updatedAddressIDs = selectedAddressIDs(in: event.checkout) - if updatedAddressIDs != selectedAddressIDs { - print("[CheckoutKitSwiftDemo] Selected address changed") - selectedAddressIDs = updatedAddressIDs - } - - // The selected delivery method changed. - let updatedDeliveryMethodIDs = selectedDeliveryMethodIDs(in: event.checkout) - if updatedDeliveryMethodIDs != selectedDeliveryMethodIDs { - print("[CheckoutKitSwiftDemo] Selected delivery method changed") - selectedDeliveryMethodIDs = updatedDeliveryMethodIDs - } - - print("[CheckoutKitSwiftDemo] Updated: \(event.checkout.id)") - } + .onUpdate(handleCheckoutUpdate) + .onLinkClick(handleCheckoutLink) .onComplete { event in // Set the flag here; defer the cart reset until the user dismisses // the sheet (in .onDismiss). Resetting now would nil the cart and @@ -151,10 +140,7 @@ struct CartView: View { print("[CheckoutKitSwiftDemo] Dismissed") showCheckoutSheet = false - if isCompleted { - CartManager.shared.resetCart() - isCompleted = false - } + resetCompletedCart() } .onFail { event in showCheckoutSheet = false @@ -206,6 +192,41 @@ struct CartView: View { } } + private func resetCompletedCart() { + if isCompleted { + CartManager.shared.resetCart() + isCompleted = false + } + selectedAddressIDs = [:] + selectedDeliveryMethodIDs = [:] + } + + private func handleCheckoutUpdate(_ event: CheckoutUpdateEvent) { + let updatedAddressIDs = selectedAddressIDs(in: event.checkout) + if updatedAddressIDs != selectedAddressIDs { + print("[CheckoutKitSwiftDemo] Selected address changed") + selectedAddressIDs = updatedAddressIDs + } + + let updatedDeliveryMethodIDs = selectedDeliveryMethodIDs(in: event.checkout) + if updatedDeliveryMethodIDs != selectedDeliveryMethodIDs { + print("[CheckoutKitSwiftDemo] Selected delivery method changed") + selectedDeliveryMethodIDs = updatedDeliveryMethodIDs + } + + print("[CheckoutKitSwiftDemo] Updated: \(event.checkout.id)") + } + + private func handleCheckoutLink(_ link: CheckoutLink) -> CheckoutLinkAction { + switch windowOpenHandler { + case .default: + return .open + case .externalApp: + UIApplication.shared.open(link.url) + return .handled + } + } + private func selectedAddressIDs(in checkout: ShopifyCheckoutKit.Checkout) -> [String: String] { (checkout.fulfillment?.methods ?? []).reduce(into: [:]) { selections, method in guard method.type == .shipping, let destinationID = method.selectedDestinationID else { return } diff --git a/platforms/swift/Samples/CheckoutKitSwiftDemo/README.md b/platforms/swift/Samples/CheckoutKitSwiftDemo/README.md index 436ef5a48..5dab97d77 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/README.md +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/README.md @@ -7,7 +7,7 @@ This sample demonstrates how to integrate Checkout Kit with the Shopify Storefro - Product listing from the Storefront API - Cart create, add, update, and fetch operations - `cart.checkoutUrl` presentation with `ShopifyCheckoutKit` -- Checkout lifecycle and completion through `CheckoutProtocol.Client` +- Checkout lifecycle and completion through public Checkout Kit callbacks - Buyer identity demo data for checkout prefill - Customer Account API sign-in and customer access token cart identity - Universal Links entitlements for checkout/offsite-payment returns @@ -57,7 +57,7 @@ Do not edit files in `Generated/` by hand. Update `.graphql` files and regenerat 1. `Network.swift` creates an `ApolloClient` that points at the configured Storefront API endpoint and attaches the Storefront access token. 2. `StorefrontClient.swift` and `CartManager.swift` call Apollo using generated operation types such as `Storefront.CartCreateMutation` and `Storefront.GetCartQuery`. -3. `CheckoutCoordinator.swift` presents `cart.checkoutUrl` with `ShopifyCheckoutKit`, while `CheckoutProtocolClient.swift` handles typed checkout lifecycle events. +3. `CheckoutCoordinator.swift` presents `cart.checkoutUrl` with `ShopifyCheckoutKit`, while `CartView.swift` handles `.onStart`, `.onUpdate`, `.onComplete`, and `.onLinkClick`. 4. Apollo decodes responses into generated Swift types, so schema or operation changes surface as compile errors. ## Setup @@ -150,5 +150,5 @@ All commands are run from the **repo root** (`checkout-kit/`): | `CheckoutKitSwiftDemo/Sources/Api/StorefrontClient.swift` | Cart input creation and buyer identity mapping. | | `CheckoutKitSwiftDemo/Sources/App/CartManager.swift` | Cart state and Storefront API mutations. | | `CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift` | Checkout presentation. | -| `CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift` | Typed checkout lifecycle handlers. | +| `CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift` | Public checkout callbacks for regular and accelerated checkout. | | `project.yml` | Generates the Xcode project, Info.plist, and Associated Domains entitlements through XcodeGen. | diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/AcceleratedCheckoutButtons.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/AcceleratedCheckoutButtons.swift index a6417a42b..4f3399599 100644 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/AcceleratedCheckoutButtons.swift +++ b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/AcceleratedCheckoutButtons.swift @@ -24,7 +24,6 @@ public struct AcceleratedCheckoutButtons: View { public var wallets: [Wallet] = [.shopPay, .applePay] var eventHandlers: EventHandlers = .init() var cornerRadius: CGFloat? - var clientContainer: CheckoutProtocolClientContainer = .init() /// The Apple Pay button type private var applePayButtonType: PKPaymentButtonType = .plain @@ -72,15 +71,13 @@ public struct AcceleratedCheckoutButtons: View { eventHandlers: eventHandlers, cornerRadius: cornerRadius, buttonType: applePayButtonType, - buttonStyle: applePayButtonStyle, - client: clientContainer.client + buttonStyle: applePayButtonStyle ) case .shopPay: ShopPayButton( identifier: identifier, eventHandlers: eventHandlers, - cornerRadius: cornerRadius, - client: clientContainer.client + cornerRadius: cornerRadius ) } } @@ -162,6 +159,34 @@ extension AcceleratedCheckoutButtons { return newView } + /// Called when a checkout presented by an accelerated button starts. + public func onStart(_ action: @escaping (CheckoutStartEvent) -> Void) -> AcceleratedCheckoutButtons { + var view = self + view.eventHandlers.checkoutDidStart = action + return view + } + + /// Called when the buyer-visible state of a presented checkout changes. + public func onUpdate(_ action: @escaping (CheckoutUpdateEvent) -> Void) -> AcceleratedCheckoutButtons { + var view = self + view.eventHandlers.checkoutDidUpdate = action + return view + } + + /// Called when a presented checkout completes. + public func onComplete(_ action: @escaping (CheckoutCompleteEvent) -> Void) -> AcceleratedCheckoutButtons { + var view = self + view.eventHandlers.checkoutDidComplete = action + return view + } + + /// Chooses how to handle a link clicked in a presented checkout. + public func onLinkClick(_ action: @escaping (CheckoutLink) -> CheckoutLinkAction) -> AcceleratedCheckoutButtons { + var view = self + view.eventHandlers.checkoutAction = action + return view + } + /// Adds an action to perform when the checkout encounters an error. /// /// Use this modifier to handle checkout errors: @@ -229,10 +254,4 @@ extension AcceleratedCheckoutButtons { newView.eventHandlers.renderStateDidChange = action return newView } - - public func connect(_ client: (any CheckoutCommunicationProtocol)?) -> AcceleratedCheckoutButtons { - var newView = self - newView.clientContainer = CheckoutProtocolClientContainer(client) - return newView - } } diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayButton.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayButton.swift index 796b4059a..14aff4f48 100644 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayButton.swift +++ b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayButton.swift @@ -32,22 +32,18 @@ struct ApplePayButton: View { /// The corner radius for the button private let cornerRadius: CGFloat? - private let clientContainer: CheckoutProtocolClientContainer - init( identifier: CheckoutIdentifier, eventHandlers: EventHandlers = EventHandlers(), cornerRadius: CGFloat?, buttonType: PKPaymentButtonType = .plain, - buttonStyle: PKPaymentButtonStyle = .automatic, - client: (any CheckoutCommunicationProtocol)? = nil + buttonStyle: PKPaymentButtonStyle = .automatic ) { self.identifier = identifier.parse() self.eventHandlers = eventHandlers self.cornerRadius = cornerRadius self.buttonType = buttonType self.buttonStyle = buttonStyle - clientContainer = CheckoutProtocolClientContainer(client) } var body: some View { @@ -65,8 +61,7 @@ struct ApplePayButton: View { shopSettings: shopSettings ), eventHandlers: eventHandlers, - cornerRadius: cornerRadius, - client: clientContainer.client + cornerRadius: cornerRadius ) } } @@ -94,7 +89,10 @@ struct ApplePayButton: View { struct Internal_ApplePayButton: View { private let buttonType: PKPaymentButtonType private let buttonStyle: PKPaymentButtonStyle - private let controller: ApplePayViewController + @State private var controller: ApplePayViewController? + private let identifier: CheckoutIdentifier + private let eventHandlers: EventHandlers + private let configuration: ApplePayConfigurationWrapper private let cornerRadius: CGFloat? @Environment(\.colorScheme) private var colorScheme @@ -108,19 +106,14 @@ struct Internal_ApplePayButton: View { buttonStyle: PKPaymentButtonStyle, configuration: ApplePayConfigurationWrapper, eventHandlers: EventHandlers = EventHandlers(), - cornerRadius: CGFloat?, - client: (any CheckoutCommunicationProtocol)? = nil + cornerRadius: CGFloat? ) { - controller = ApplePayViewController( - identifier: identifier, - configuration: configuration, - client: client - ) self.buttonType = buttonType self.buttonStyle = buttonStyle self.cornerRadius = cornerRadius - controller.onCheckoutFail = eventHandlers.checkoutDidFail - controller.onCheckoutDismiss = eventHandlers.checkoutDidDismiss + self.configuration = configuration + self.identifier = identifier + self.eventHandlers = eventHandlers } var body: some View { @@ -129,7 +122,19 @@ struct Internal_ApplePayButton: View { buttonType: buttonType, buttonStyle: buttonStyle, cornerRadius: cornerRadius ?? 8, - action: { Task { @MainActor in await controller.onPress() } } + action: { + Task { @MainActor in + let controller = ApplePayViewController( + identifier: identifier, + configuration: configuration + ) + controller.eventHandlers = eventHandlers + controller.onCheckoutFail = eventHandlers.checkoutDidFail + controller.onCheckoutDismiss = eventHandlers.checkoutDidDismiss + self.controller = controller + await controller.onPress() + } + } ) .id(buttonIdentity(colorScheme: colorScheme)) .frame(height: 48) diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayViewController.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayViewController.swift index 1fe8b9c68..24755f4ae 100644 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayViewController.swift +++ b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ApplePay/ApplePayViewController.swift @@ -19,8 +19,6 @@ class ApplePayViewController: WalletController, PayController { var cart: StorefrontAPI.Types.Cart? - var client: (any CheckoutCommunicationProtocol)? - // MARK: - Callback Properties /// Callback invoked when an error occurs during the checkout process. @@ -57,8 +55,7 @@ class ApplePayViewController: WalletController, PayController { init( identifier: CheckoutIdentifier, - configuration: ApplePayConfigurationWrapper, - client: (any CheckoutCommunicationProtocol)? = nil + configuration: ApplePayConfigurationWrapper ) { super.init( identifier: identifier, @@ -72,13 +69,6 @@ class ApplePayViewController: WalletController, PayController { configuration: configuration, controller: self ) - - self.client = LifecycleObservingClient(base: client, onComplete: { [weak self] in - guard let self else { return } - Task { @MainActor in - try? await self.authorizationDelegate.transition(to: .completed) - } - }) } func onPress() async { @@ -154,7 +144,10 @@ class ApplePayViewController: WalletController, PayController { } } - func present(url: URL) async throws { - try await present(url: url, client: client) + override func checkoutDidComplete(_ event: CheckoutCompleteEvent) { + Task { @MainActor in + try? await authorizationDelegate.transition(to: .completed) + } + super.checkoutDidComplete(event) } } diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/LifecycleObservingClient.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/LifecycleObservingClient.swift deleted file mode 100644 index 66847e378..000000000 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/LifecycleObservingClient.swift +++ /dev/null @@ -1,27 +0,0 @@ -import Foundation -import ShopifyCheckoutKit - -/// Wraps a consumer's `CheckoutCommunicationProtocol` client to observe lifecycle events. -/// Peeks at incoming JSON-RPC messages for `ec.complete`, fires the `onComplete` signal -/// for the state machine, then delegates all processing to the underlying `base` client. -struct LifecycleObservingClient: CheckoutCommunicationProtocol { - let base: (any CheckoutCommunicationProtocol)? - let onComplete: @Sendable @MainActor () -> Void - - func process(_ message: String) async -> String? { - if let method = extractMethod(from: message), method == "ec.complete" { - await onComplete() - } - return await base?.process(message) - } - - private func extractMethod(from message: String) -> String? { - guard let data = message.data(using: .utf8), - let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any], - let method = json["method"] as? String - else { - return nil - } - return method - } -} diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayButton.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayButton.swift index 71c4533ca..2a421f5e9 100644 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayButton.swift +++ b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayButton.swift @@ -9,18 +9,15 @@ internal struct ShopPayButton: View { let identifier: CheckoutIdentifier let eventHandlers: EventHandlers let cornerRadius: CGFloat? - let clientContainer: CheckoutProtocolClientContainer init( identifier: CheckoutIdentifier, eventHandlers: EventHandlers = EventHandlers(), - cornerRadius: CGFloat?, - client: (any CheckoutCommunicationProtocol)? = nil + cornerRadius: CGFloat? ) { self.identifier = identifier.parse() self.eventHandlers = eventHandlers self.cornerRadius = cornerRadius - clientContainer = CheckoutProtocolClientContainer(client) } var body: some View { @@ -32,8 +29,7 @@ internal struct ShopPayButton: View { identifier: identifier, configuration: resolvedConfiguration, eventHandlers: eventHandlers, - cornerRadius: cornerRadius, - client: clientContainer.client + cornerRadius: cornerRadius ) } } @@ -51,29 +47,38 @@ internal struct ShopPayButton: View { @available(iOS 16.0, *) @MainActor internal struct Internal_ShopPayButton: View { - private var controller: ShopPayViewController + @State private var controller: ShopPayViewController? + private let identifier: CheckoutIdentifier + private let configuration: ShopifyAcceleratedCheckouts.Configuration + private let eventHandlers: EventHandlers private let cornerRadius: CGFloat? init( identifier: CheckoutIdentifier, configuration: ShopifyAcceleratedCheckouts.Configuration, eventHandlers: EventHandlers = EventHandlers(), - cornerRadius: CGFloat?, - client: (any CheckoutCommunicationProtocol)? = nil + cornerRadius: CGFloat? ) { - controller = ShopPayViewController( - identifier: identifier, - configuration: configuration, - eventHandlers: eventHandlers - ) + self.identifier = identifier + self.configuration = configuration + self.eventHandlers = eventHandlers self.cornerRadius = cornerRadius - controller.client = client } var body: some View { Button( action: { - Task { @MainActor in await controller.onPress() } + Task { @MainActor in + let controller = ShopPayViewController( + identifier: identifier, + configuration: configuration, + eventHandlers: eventHandlers + ) + + // Retain the delegate while checkout events redraw the button's parent. + self.controller = controller + await controller.onPress() + } }, label: { HStack { diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayViewController.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayViewController.swift index 597f70b44..9cba8c9e4 100644 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayViewController.swift +++ b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayViewController.swift @@ -4,15 +4,11 @@ import SwiftUI @available(iOS 16.0, *) @MainActor class ShopPayViewController: WalletController { - var eventHandlers: EventHandlers - var client: (any CheckoutCommunicationProtocol)? - init( identifier: CheckoutIdentifier, configuration: ShopifyAcceleratedCheckouts.Configuration, eventHandlers: EventHandlers = EventHandlers() ) { - self.eventHandlers = eventHandlers super.init( identifier: identifier, storefront: StorefrontAPI( @@ -21,6 +17,7 @@ class ShopPayViewController: WalletController { ), configuration: configuration ) + self.eventHandlers = eventHandlers self.identifier = identifier.parse() } @@ -30,7 +27,7 @@ class ShopPayViewController: WalletController { guard let url = cart.checkoutUrl.url.appendQueryParam(name: "payment", value: "shop_pay") else { throw ShopifyAcceleratedCheckouts.Error.invariant(expected: "url") } - try await present(url: url, client: client) + try await present(url: url) } catch { let error = CheckoutError( code: .sdkError, diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/Wallet.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/Wallet.swift index a79b188a1..4fcda6574 100644 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/Wallet.swift +++ b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/Wallet.swift @@ -9,6 +9,10 @@ public enum Wallet: String { /// Event handlers for wallet buttons public struct EventHandlers { + public var checkoutDidStart: ((CheckoutStartEvent) -> Void)? + public var checkoutDidUpdate: ((CheckoutUpdateEvent) -> Void)? + public var checkoutDidComplete: ((CheckoutCompleteEvent) -> Void)? + public var checkoutAction: ((CheckoutLink) -> CheckoutLinkAction)? public var checkoutDidFail: ((CheckoutError) -> Void)? public var checkoutDidDismiss: (() -> Void)? public var renderStateDidChange: ((RenderState) -> Void)? @@ -16,24 +20,22 @@ public struct EventHandlers { public init( checkoutDidFail: ((CheckoutError) -> Void)? = nil, checkoutDidDismiss: (() -> Void)? = nil, - renderStateDidChange: ((RenderState) -> Void)? = nil + renderStateDidChange: ((RenderState) -> Void)? = nil, + checkoutDidStart: ((CheckoutStartEvent) -> Void)? = nil, + checkoutDidUpdate: ((CheckoutUpdateEvent) -> Void)? = nil, + checkoutDidComplete: ((CheckoutCompleteEvent) -> Void)? = nil, + checkoutAction: ((CheckoutLink) -> CheckoutLinkAction)? = nil ) { + self.checkoutDidStart = checkoutDidStart + self.checkoutDidUpdate = checkoutDidUpdate + self.checkoutDidComplete = checkoutDidComplete + self.checkoutAction = checkoutAction self.checkoutDidFail = checkoutDidFail self.checkoutDidDismiss = checkoutDidDismiss self.renderStateDidChange = renderStateDidChange } } -/// Keeps bridge client storage behind a reference so SwiftUI view values do not -/// embed optional existential storage while they are repeatedly copied. -final class CheckoutProtocolClientContainer: Sendable { - let client: (any CheckoutCommunicationProtocol)? - - init(_ client: (any CheckoutCommunicationProtocol)? = nil) { - self.client = client - } -} - extension View { func walletButtonStyle(bg: Color = Color.black, cornerRadius: CGFloat? = nil) -> some View { let defaultCornerRadius: CGFloat = 8 diff --git a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/WalletController.swift b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/WalletController.swift index 128d7180d..fa66e7d3f 100644 --- a/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/WalletController.swift +++ b/platforms/swift/Sources/ShopifyAcceleratedCheckouts/Wallets/WalletController.swift @@ -3,7 +3,8 @@ import SwiftUI @available(iOS 16.0, *) @MainActor -class WalletController: ObservableObject { +class WalletController: ObservableObject, CheckoutDelegate { + var eventHandlers: EventHandlers = .init() @Published var identifier: CheckoutIdentifier @Published var storefront: StorefrontAPIProtocol @Published var checkoutViewController: CheckoutViewController? @@ -35,7 +36,7 @@ class WalletController: ObservableObject { } } - func present(url: URL, client: (any CheckoutCommunicationProtocol)?) async throws { + func present(url: URL) async throws { guard let topViewController = getTopViewController() else { throw ShopifyAcceleratedCheckouts.Error.invariant(expected: "topViewController") } @@ -43,10 +44,34 @@ class WalletController: ObservableObject { checkout: url, from: topViewController, entryPoint: .acceleratedCheckouts, - client: client + delegate: self ) } + func checkoutDidStart(_ event: CheckoutStartEvent) { + eventHandlers.checkoutDidStart?(event) + } + + func checkoutDidUpdate(_ event: CheckoutUpdateEvent) { + eventHandlers.checkoutDidUpdate?(event) + } + + func checkoutDidComplete(_ event: CheckoutCompleteEvent) { + eventHandlers.checkoutDidComplete?(event) + } + + func checkoutAction(for link: CheckoutLink) -> CheckoutLinkAction { + eventHandlers.checkoutAction?(link) ?? .open + } + + func checkoutDidFail(_ event: CheckoutFailureEvent) { + eventHandlers.checkoutDidFail?(event.error) + } + + func checkoutDidDismiss() { + eventHandlers.checkoutDidDismiss?() + } + func getTopViewController() -> UIViewController? { guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene, let window = windowScene.windows.first diff --git a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift index 0dacbc28c..c7f04a7a0 100644 --- a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift @@ -1,5 +1,5 @@ @testable import ShopifyAcceleratedCheckouts -import ShopifyCheckoutKit +@testable import ShopifyCheckoutKit import UIKit import XCTest @@ -79,12 +79,14 @@ class ApplePayViewControllerTests: XCTestCase { class MockApplePayAuthorizationDelegate: ApplePayAuthorizationDelegate { var transitionHistory: [ApplePayState] = [] + var onTransition: ((ApplePayState) -> Void)? var setCartCalls: [StorefrontAPI.Types.Cart] = [] var shouldThrowOnTransition = false var shouldThrowOnSetCart = false override func transition(to state: ApplePayState) async throws { transitionHistory.append(state) + onTransition?(state) if shouldThrowOnTransition { throw NSError(domain: "MockError", code: 1, userInfo: nil) } @@ -141,6 +143,36 @@ class ApplePayViewControllerTests: XCTestCase { await fulfillment(of: [dismissCallbackExpectation], timeout: 1.0) } + func testWebCheckoutCompletionFinishesApplePayAndForwardsCallback() async throws { + let forwarded = expectation(description: "Public completion callback") + let finished = expectation(description: "Apple Pay completion transition") + viewController.eventHandlers.checkoutDidComplete = { event in + XCTAssertEqual(event.checkout.id, "checkout-1") + forwarded.fulfill() + } + mockAuthorizationDelegate.onTransition = { state in + XCTAssertEqual(state, .completed) + finished.fulfill() + } + viewController.mockTopViewController = UIViewController() + try await viewController.present(url: XCTUnwrap(URL(string: "https://example.com/checkout"))) + let webController = try XCTUnwrap(viewController.checkoutViewController?.viewControllers.first as? CheckoutWebViewController) + let client = try XCTUnwrap(webController.checkoutView?.client) + + // Only a decoded completion event should finish the Apple Pay state machine. + _ = await client.process(#"{"jsonrpc":"2.0","method":"ec.complete","params":{}}"#) + _ = await client.process(""" + {"jsonrpc":"2.0","method":"ec.complete","params":{"checkout":{ + "id":"checkout-1","currency":"USD","status":"completed", + "line_items":[],"links":[],"totals":[{"type":"total","amount":1000}], + "ucp":{"payment_handlers":{},"version":"2026-01-11"} + }}} + """) + + await fulfillment(of: [forwarded, finished], timeout: 1) + XCTAssertEqual(mockAuthorizationDelegate.transitionHistory, [.completed]) + } + // MARK: - WalletController Inheritance func test_configuration_whenInitialized_usesCorrectStorefront() { diff --git a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/LifecycleObservingClientTests.swift b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/LifecycleObservingClientTests.swift deleted file mode 100644 index fda907f05..000000000 --- a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/LifecycleObservingClientTests.swift +++ /dev/null @@ -1,88 +0,0 @@ -@testable import ShopifyAcceleratedCheckouts -import ShopifyCheckoutKit -import XCTest - -@available(iOS 16.0, *) -class LifecycleObservingClientTests: XCTestCase { - struct MockClient: CheckoutCommunicationProtocol { - let handler: @Sendable (String) async -> String? - - func process(_ message: String) async -> String? { - return await handler(message) - } - } - - // MARK: - With base client - - @MainActor - func test_process_whenEcCompleteReceived_firesOnCompleteAndDelegatesToBase() async { - let baseProcessed = XCTestExpectation(description: "Base client should process the message") - let onCompleteFired = XCTestExpectation(description: "onComplete should fire") - - let base = MockClient { _ in - baseProcessed.fulfill() - return "{\"result\": \"ok\"}" - } - - let client = LifecycleObservingClient(base: base, onComplete: { - onCompleteFired.fulfill() - }) - - let message = "{\"jsonrpc\": \"2.0\", \"method\": \"ec.complete\", \"params\": {}}" - let result = await client.process(message) - - await fulfillment(of: [onCompleteFired, baseProcessed], timeout: 1.0) - XCTAssertEqual(result, "{\"result\": \"ok\"}") - } - - @MainActor - func test_process_whenNonLifecycleMessage_doesNotFireOnComplete() async { - let onCompleteFired = XCTestExpectation(description: "onComplete should not fire") - onCompleteFired.isInverted = true - - let base = MockClient { _ in return nil } - - let client = LifecycleObservingClient(base: base, onComplete: { - onCompleteFired.fulfill() - }) - - let message = "{\"jsonrpc\": \"2.0\", \"method\": \"ec.other\", \"params\": {}}" - let result = await client.process(message) - - await fulfillment(of: [onCompleteFired], timeout: 0.5) - XCTAssertNil(result) - } - - // MARK: - With nil base client - - @MainActor - func test_process_whenBaseIsNilAndEcCompleteReceived_firesOnComplete() async { - let onCompleteFired = XCTestExpectation(description: "onComplete should fire") - - let client = LifecycleObservingClient(base: nil, onComplete: { - onCompleteFired.fulfill() - }) - - let message = "{\"jsonrpc\": \"2.0\", \"method\": \"ec.complete\", \"params\": {}}" - let result = await client.process(message) - - await fulfillment(of: [onCompleteFired], timeout: 1.0) - XCTAssertNil(result) - } - - @MainActor - func test_process_whenBaseIsNilAndNonLifecycleMessage_doesNotFireOnComplete() async { - let onCompleteFired = XCTestExpectation(description: "onComplete should not fire") - onCompleteFired.isInverted = true - - let client = LifecycleObservingClient(base: nil, onComplete: { - onCompleteFired.fulfill() - }) - - let message = "{\"jsonrpc\": \"2.0\", \"method\": \"ec.other\", \"params\": {}}" - let result = await client.process(message) - - await fulfillment(of: [onCompleteFired], timeout: 0.5) - XCTAssertNil(result) - } -} diff --git a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ShopPay/ShopPayViewControllerTests.swift b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ShopPay/ShopPayViewControllerTests.swift index ab75f2dc3..633715c97 100644 --- a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ShopPay/ShopPayViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ShopPay/ShopPayViewControllerTests.swift @@ -30,15 +30,15 @@ final class ShopPayViewControllerTests: XCTestCase { class MockShopPayViewController: ShopPayViewController { var mockTopViewController: UIViewController? var mockStorefront: TestStorefrontAPI - var presentCalls: [(url: URL, client: (any CheckoutCommunicationProtocol)?)] = [] + var presentCalls: [URL] = [] override func getTopViewController() -> UIViewController? { return mockTopViewController } @MainActor - override func present(url: URL, client: (any CheckoutCommunicationProtocol)?) async throws { - presentCalls.append((url: url, client: client)) + override func present(url: URL) async throws { + presentCalls.append(url) } init( @@ -73,7 +73,7 @@ final class ShopPayViewControllerTests: XCTestCase { XCTAssertEqual(viewController.presentCalls.count, 1) XCTAssertEqual( - viewController.presentCalls[0].url.absoluteString, + viewController.presentCalls[0].absoluteString, "https://test-shop.myshopify.com/checkout?payment=shop_pay" ) } @@ -110,7 +110,7 @@ final class ShopPayViewControllerTests: XCTestCase { XCTAssertEqual(viewController.presentCalls.count, 1) XCTAssertEqual( - viewController.presentCalls[0].url.absoluteString, + viewController.presentCalls[0].absoluteString, "https://test-shop.myshopify.com/checkout?payment=shop_pay" ) } @@ -267,7 +267,7 @@ final class ShopPayViewControllerTests: XCTestCase { // An invalid URL still gets processed, so we should check it was called with the modified URL XCTAssertEqual( - viewController.presentCalls[0].url.absoluteString, + viewController.presentCalls[0].absoluteString, "invalid-url?payment=shop_pay" ) } diff --git a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift index 448ad6405..ec0453c66 100644 --- a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift +++ b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift @@ -1,5 +1,5 @@ @testable import ShopifyAcceleratedCheckouts -import ShopifyCheckoutKit +@testable import ShopifyCheckoutKit import UIKit import XCTest @@ -27,12 +27,6 @@ final class WalletControllerTests: XCTestCase { } } - struct MockClient: CheckoutCommunicationProtocol { - func process(_: String) async -> String? { - return nil - } - } - // MARK: - fetchCartByCheckoutIdentifier Tests - Cart Identifier func test_fetchCartByCheckoutIdentifier_withCartIdentifier_shouldSucceed() async throws { @@ -160,6 +154,53 @@ final class WalletControllerTests: XCTestCase { // MARK: - present Tests + func testPresentedCheckoutForwardsPublicEventsWithoutProtocolClient() async throws { + var events: [String] = [] + let buttons = AcceleratedCheckoutButtons(cartID: "gid://shopify/Cart/test-cart-id") + .onStart { _ in events.append("start") } + .onUpdate { event in + events.append("update") + XCTAssertEqual(event.checkout.totals.first?.amount, 1600) + } + .onComplete { _ in events.append("complete") } + .onLinkClick { _ in .cancel } + .onFail { error in + events.append("fail") + XCTAssertEqual(error.code, .sdkError) + } + .onDismiss { events.append("dismiss") } + controller = MockWalletController( + identifier: .cart(cartID: "gid://shopify/Cart/test-cart-id"), + storefront: mockStorefront, + configuration: .testConfiguration + ) + controller.eventHandlers = buttons.eventHandlers + controller.mockTopViewController = UIViewController() + try await controller.present(url: XCTUnwrap(URL(string: "https://example.com/checkout"))) + + let webController = try XCTUnwrap(controller.checkoutViewController?.viewControllers.first as? CheckoutWebViewController) + let checkoutView = try XCTUnwrap(webController.checkoutView) + let client = try XCTUnwrap(checkoutView.client) + func message(_ method: String, total: Int = 1000) -> String { + """ + {"jsonrpc":"2.0","method":"\(method)","params":{"checkout":{ + "id":"checkout-1","currency":"USD","status":"incomplete", + "line_items":[],"links":[],"totals":[{"type":"total","amount":\(total)}], + "ucp":{"payment_handlers":{},"version":"2026-01-11"} + }}} + """ + } + _ = await client.process(message("ec.start")) + _ = await client.process(message("ec.totals.change", total: 1600)) + _ = await client.process(message("ec.complete", total: 1600)) + let link = try CheckoutLink(url: XCTUnwrap(URL(string: "https://example.com/help"))) + XCTAssertEqual(checkoutView.linkActionProvider?(link), .cancel) + webController.checkoutViewDidFailWithError(error: CheckoutError(code: .sdkError, message: "Synthetic failure")) + webController.close() + + XCTAssertEqual(events, ["start", "update", "complete", "fail", "dismiss"]) + } + func test_present_withValidParameters_shouldSucceed() async throws { controller = MockWalletController( identifier: .cart(cartID: "gid://Shopify/Cart/test-cart-id"), @@ -173,7 +214,7 @@ final class WalletControllerTests: XCTestCase { let testURL = try XCTUnwrap(URL(string: "https://test.myshopify.com/checkout")) - try await controller.present(url: testURL, client: MockClient()) + try await controller.present(url: testURL) XCTAssertNotNil(controller.checkoutViewController) } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift index bf5340057..91e989f4f 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift @@ -81,6 +81,33 @@ final class CheckoutEventAdapterTests: XCTestCase { } } + func testShippingSelectionAndPriceChangesProduceUpdates() async throws { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + _ = await adapter.process(message(method: "ec.start")) + + // Entering an address populates shipping options and delivery estimates. + let addressUpdate = fullCheckoutMessage.replacingOccurrences(of: "ec.start", with: "ec.fulfillment.change") + _ = await adapter.process(addressUpdate) + + // Keep the destination unchanged while selecting a different shipping option. + let selectionUpdate = addressUpdate.replacingOccurrences(of: "option-1", with: "express") + _ = await adapter.process(selectionUpdate) + let priceUpdate = selectionUpdate + .replacingOccurrences(of: "ec.fulfillment.change", with: "ec.totals.change") + .replacingOccurrences(of: #""amount":1100"#, with: #""amount":1600"#) + _ = await adapter.process(priceUpdate) + _ = await adapter.process(priceUpdate) + + XCTAssertEqual(sink.updated.count, 3) + let checkout = try XCTUnwrap(sink.updated.last) + let method = try XCTUnwrap(checkout.fulfillment?.methods?.first) + XCTAssertEqual(method.selectedDestinationID, "destination-1") + XCTAssertEqual(method.groups?.first?.selectedOptionID, "express") + XCTAssertNotNil(method.groups?.first?.options?.first?.earliestFulfillmentTime) + XCTAssertEqual(checkout.totals.first?.amount, 1600) + } + func testUnsupportedChangeNotificationsDoNotProduceUpdates() async { for method in ["ec.buyer.change", "ec.payment.change"] { let sink = RecordingCheckoutEventSink() diff --git a/platforms/swift/api/ShopifyAcceleratedCheckouts.json b/platforms/swift/api/ShopifyAcceleratedCheckouts.json index ec9fd614e..fc6353ed1 100644 --- a/platforms/swift/api/ShopifyAcceleratedCheckouts.json +++ b/platforms/swift/api/ShopifyAcceleratedCheckouts.json @@ -335,8 +335,8 @@ }, { "kind": "Function", - "name": "connect", - "printedName": "connect(_:)", + "name": "cornerRadius", + "printedName": "cornerRadius(_:)", "children": [ { "kind": "TypeNominal", @@ -346,22 +346,14 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" - } - ], - "usr": "s:Sq" + "name": "CGFloat", + "printedName": "CoreGraphics.CGFloat", + "usr": "s:14CoreFoundation7CGFloatV" } ], "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7connectyAC0aD3Kit0D21CommunicationProtocol_pSgF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7connectyAC0aD3Kit0D21CommunicationProtocol_pSgF", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC14CoreFoundation7CGFloatVF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC12CoreGraphics7CGFloatVF", "moduleName": "ShopifyAcceleratedCheckouts", "declAttributes": [ "Preconcurrency", @@ -372,8 +364,8 @@ }, { "kind": "Function", - "name": "cornerRadius", - "printedName": "cornerRadius(_:)", + "name": "onComplete", + "printedName": "onComplete(_:)", "children": [ { "kind": "TypeNominal", @@ -382,15 +374,34 @@ "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" }, { - "kind": "TypeNominal", - "name": "CGFloat", - "printedName": "CoreGraphics.CGFloat", - "usr": "s:14CoreFoundation7CGFloatV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" + } + ] } ], "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC14CoreFoundation7CGFloatVF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC12CoreGraphics7CGFloatVF", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV10onCompleteyACy0aD3Kit0dG5EventVcF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV10onCompleteyACy0aD3Kit0dG5EventVcF", "moduleName": "ShopifyAcceleratedCheckouts", "declAttributes": [ "Preconcurrency", @@ -494,6 +505,48 @@ "isFromExtension": true, "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "onLinkClick", + "printedName": "onLinkClick(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ] + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV11onLinkClickyAC0aD3Kit0dG6ActionOAE0dG0VcF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV11onLinkClickyAC0aD3Kit0dG6ActionOAE0dG0VcF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "onRenderStateChange", @@ -542,6 +595,102 @@ "isFromExtension": true, "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "onStart", + "printedName": "onStart(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" + } + ] + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7onStartyACy0aD3Kit0dG5EventVcF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7onStartyACy0aD3Kit0dG5EventVcF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onUpdate", + "printedName": "onUpdate(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" + } + ] + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV8onUpdateyACy0aD3Kit0dG5EventVcF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV8onUpdateyACy0aD3Kit0dG5EventVcF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "wallets", @@ -1123,18 +1272,18 @@ "children": [ { "kind": "Var", - "name": "checkoutDidFail", - "printedName": "checkoutDidFail", + "name": "checkoutDidStart", + "printedName": "checkoutDidStart", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1150,9 +1299,9 @@ }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ] } @@ -1161,8 +1310,8 @@ } ], "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV16checkoutDidStarty0A11CheckoutKit0ihD0VcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV16checkoutDidStarty0A11CheckoutKit0ihD0VcSgvp", "moduleName": "ShopifyAcceleratedCheckouts", "declAttributes": [ "HasInitialValue", @@ -1178,12 +1327,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1199,9 +1348,9 @@ }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ] } @@ -1210,8 +1359,8 @@ } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV16checkoutDidStarty0A11CheckoutKit0ihD0VcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV16checkoutDidStarty0A11CheckoutKit0ihD0VcSgvg", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, "declAttributes": [ @@ -1232,12 +1381,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1253,9 +1402,9 @@ }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" } ] } @@ -1264,8 +1413,8 @@ } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvs", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvs", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV16checkoutDidStarty0A11CheckoutKit0ihD0VcSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV16checkoutDidStarty0A11CheckoutKit0ihD0VcSgvs", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, "declAttributes": [ @@ -1277,18 +1426,18 @@ }, { "kind": "Var", - "name": "checkoutDidDismiss", - "printedName": "checkoutDidDismiss", + "name": "checkoutDidUpdate", + "printedName": "checkoutDidUpdate", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "(() -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "() -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1304,8 +1453,9 @@ }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } ] } @@ -1314,8 +1464,8 @@ } ], "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvp", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV17checkoutDidUpdatey0A11CheckoutKit0ihD0VcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV17checkoutDidUpdatey0A11CheckoutKit0ihD0VcSgvp", "moduleName": "ShopifyAcceleratedCheckouts", "declAttributes": [ "HasInitialValue", @@ -1331,12 +1481,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "(() -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "() -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1352,8 +1502,9 @@ }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } ] } @@ -1362,8 +1513,8 @@ } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV17checkoutDidUpdatey0A11CheckoutKit0ihD0VcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV17checkoutDidUpdatey0A11CheckoutKit0ihD0VcSgvg", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, "declAttributes": [ @@ -1384,12 +1535,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "(() -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "() -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1405,8 +1556,9 @@ }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" } ] } @@ -1415,8 +1567,8 @@ } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV17checkoutDidUpdatey0A11CheckoutKit0ihD0VcSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV17checkoutDidUpdatey0A11CheckoutKit0ihD0VcSgvs", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, "declAttributes": [ @@ -1428,18 +1580,18 @@ }, { "kind": "Var", - "name": "renderStateDidChange", - "printedName": "renderStateDidChange", + "name": "checkoutDidComplete", + "printedName": "checkoutDidComplete", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1455,9 +1607,9 @@ }, { "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ] } @@ -1466,8 +1618,8 @@ } ], "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV19checkoutDidCompletey0A11CheckoutKit0ihD0VcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV19checkoutDidCompletey0A11CheckoutKit0ihD0VcSgvp", "moduleName": "ShopifyAcceleratedCheckouts", "declAttributes": [ "HasInitialValue", @@ -1483,12 +1635,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1504,9 +1656,9 @@ }, { "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ] } @@ -1515,8 +1667,8 @@ } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV19checkoutDidCompletey0A11CheckoutKit0ihD0VcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV19checkoutDidCompletey0A11CheckoutKit0ihD0VcSgvg", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, "declAttributes": [ @@ -1537,12 +1689,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void", "children": [ { "kind": "TypeNameAlias", @@ -1558,9 +1710,9 @@ }, { "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" } ] } @@ -1569,8 +1721,8 @@ } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV19checkoutDidCompletey0A11CheckoutKit0ihD0VcSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV19checkoutDidCompletey0A11CheckoutKit0ihD0VcSgvs", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, "declAttributes": [ @@ -1581,52 +1733,647 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkoutDidFail:checkoutDidDismiss:renderStateDidChange:)", + "kind": "Var", + "name": "checkoutAction", + "printedName": "checkoutAction", "children": [ - { - "kind": "TypeNominal", - "name": "EventHandlers", - "printedName": "ShopifyAcceleratedCheckouts.EventHandlers", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "printedName": "((ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "printedName": "(ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" } ] } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV14checkoutAction0A11CheckoutKit0h4LinkG0OAE0hJ0VcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV14checkoutAction0A11CheckoutKit0h4LinkG0OAE0hJ0VcSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV14checkoutAction0A11CheckoutKit0h4LinkG0OAE0hJ0VcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV14checkoutAction0A11CheckoutKit0h4LinkG0OAE0hJ0VcSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV14checkoutAction0A11CheckoutKit0h4LinkG0OAE0hJ0VcSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV14checkoutAction0A11CheckoutKit0h4LinkG0OAE0hJ0VcSgvs", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Var", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "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" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "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" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "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" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "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)?", + "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": "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": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "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": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Var", + "name": "renderStateDidChange", + "printedName": "renderStateDidChange", + "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" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "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" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "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" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkoutDidFail:checkoutDidDismiss:renderStateDidChange:checkoutDidStart:checkoutDidUpdate:checkoutDidComplete:checkoutAction:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventHandlers", + "printedName": "ShopifyAcceleratedCheckouts.EventHandlers", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "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" + } + ] + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", "name": "Optional", "printedName": "(() -> Swift.Void)?", "children": [ @@ -1691,11 +2438,141 @@ ], "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutStartEvent) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutStartEvent", + "printedName": "ShopifyCheckoutKit.CheckoutStartEvent", + "usr": "s:18ShopifyCheckoutKit0B10StartEventV" + } + ] + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutUpdateEvent) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutUpdateEvent", + "printedName": "ShopifyCheckoutKit.CheckoutUpdateEvent", + "usr": "s:18ShopifyCheckoutKit0B11UpdateEventV" + } + ] + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutCompleteEvent) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutCompleteEvent", + "printedName": "ShopifyCheckoutKit.CheckoutCompleteEvent", + "usr": "s:18ShopifyCheckoutKit0B13CompleteEventV" + } + ] + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutLink) -> ShopifyCheckoutKit.CheckoutLinkAction", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutLinkAction", + "printedName": "ShopifyCheckoutKit.CheckoutLinkAction", + "usr": "s:18ShopifyCheckoutKit0B10LinkActionO" + }, + { + "kind": "TypeNominal", + "name": "CheckoutLink", + "printedName": "ShopifyCheckoutKit.CheckoutLink", + "usr": "s:18ShopifyCheckoutKit0B4LinkV" + } + ] + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6ChangeACy0A11CheckoutKit0M5ErrorVcSg_yycSgyAA06RenderK0OcSgtcfc", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6ChangeACy0A11CheckoutKit0M5ErrorVcSg_yycSgyAA06RenderK0OcSgtcfc", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6Change0fG5Start0fG6Update0fG8Complete0F6ActionACy0A11CheckoutKit0Q5ErrorVcSg_yycSgyAA06RenderK0OcSgyAK0qmD0VcSgyAK0qnD0VcSgyAK0qoD0VcSgAK0q4LinkP0OAK0qU0VcSgtcfc", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6Change0fG5Start0fG6Update0fG8Complete0F6ActionACy0A11CheckoutKit0Q5ErrorVcSg_yycSgyAA06RenderK0OcSgyAK0qmD0VcSgyAK0qnD0VcSgyAK0qoD0VcSgAK0q4LinkP0OAK0qU0VcSgtcfc", "moduleName": "ShopifyAcceleratedCheckouts", "init_kind": "Designated" } 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 5761c8669..6bfd278ff 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift @@ -22,83 +22,83 @@ extension EmbeddedCheckoutProtocol { public enum Event { public static let error = NotificationDescriptor( method: "ec.error", - decode: { try JSONDecoder().decode(JSONRPCErrorParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCErrorParams.self, from: $0) } ) public static let start = NotificationDescriptor( method: "ec.start", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let complete = NotificationDescriptor( method: "ec.complete", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let messagesChange = NotificationDescriptor( method: "ec.messages.change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let lineItemsChange = NotificationDescriptor( method: "ec.line_items.change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let buyerChange = NotificationDescriptor( method: "ec.buyer.change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let totalsChange = NotificationDescriptor( method: "ec.totals.change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let paymentChange = NotificationDescriptor( method: "ec.payment.change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let fulfillmentChange = NotificationDescriptor( method: "ec.fulfillment.change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let ready: RequestDescriptor, ReadyResult> = .init( method: "ec.ready", delegation: nil, - decode: { try JSONDecoder().decode(ReadyRequest.self, from: $0) } + decode: { try newJSONDecoder().decode(ReadyRequest.self, from: $0) } ) public static let auth: RequestDescriptor, AuthResult> = .init( method: "ec.auth", delegation: nil, - decode: { try JSONDecoder().decode(AuthRequest.self, from: $0) } + decode: { try newJSONDecoder().decode(AuthRequest.self, from: $0) } ) public static let paymentInstrumentsChange: RequestDescriptor, InstrumentsChangeResult> = .init( method: "ec.payment.instruments_change_request", delegation: "payment.instruments_change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let paymentCredential: RequestDescriptor, CredentialResult> = .init( method: "ec.payment.credential_request", delegation: "payment.credential", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let windowOpen: RequestDescriptor, WindowOpenResult> = .init( method: "ec.window.open_request", delegation: "window.open", - decode: { try JSONDecoder().decode(WindowOpenRequest.self, from: $0) } + decode: { try newJSONDecoder().decode(WindowOpenRequest.self, from: $0) } ) public static let fulfillmentAddressChange: RequestDescriptor, AddressChangeResult> = .init( method: "ec.fulfillment.address_change_request", delegation: "fulfillment.address_change", - decode: { try JSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } + decode: { try newJSONDecoder().decode(JSONRPCCheckoutParams.self, from: $0) } ) public static let all: [String] = [ diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift index 45e63584b..adeb53af2 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift @@ -86,6 +86,41 @@ struct ClientTests { #expect(receivedCheckout?.id == "checkout-123") } + @Test(arguments: ["", ".123"]) @MainActor func checkoutNotificationsDecodeShippingDates(fraction: String) async throws { + let descriptors = [ + EmbeddedCheckoutProtocol.Event.start, + EmbeddedCheckoutProtocol.Event.fulfillmentChange, + EmbeddedCheckoutProtocol.Event.totalsChange, + EmbeddedCheckoutProtocol.Event.complete + ] + for descriptor in descriptors { + var receivedCheckout: Checkout? + let client = EmbeddedCheckoutProtocol.Client() + .on(descriptor) { receivedCheckout = $0.params.checkout } + let message = """ + {"jsonrpc":"2.0","method":"\(descriptor.method)","params":{"checkout":{ + "id":"checkout-1","currency":"USD","status":"incomplete", + "line_items":[],"links":[],"totals":[{"type":"total","amount":1500}], + "expires_at":"2026-09-15T12:00:00\(fraction)Z", + "fulfillment":{"methods":[{"id":"shipping","type":"shipping","line_item_ids":[], + "groups":[{"id":"group-1","line_item_ids":[],"selected_option_id":"standard", + "options":[{"id":"standard","title":"Standard","totals":[], + "earliest_fulfillment_time":"2026-09-16T09:00:00\(fraction)Z", + "latest_fulfillment_time":"2026-09-17T17:00:00\(fraction)Z"}]}]}]}, + "ucp":{"payment_handlers":{},"version":"\(EmbeddedCheckoutProtocol.specVersion)"} + }}} + """ + + _ = await client.process(message) + + let checkout = try #require(receivedCheckout, "Dropped \(descriptor.method)") + #expect(checkout.expiresAt == ISO8601DateFormatter().date(from: "2026-09-15T12:00:00Z")?.addingTimeInterval(Double("0" + fraction) ?? 0)) + let option = try #require(checkout.fulfillment?.methods?.first?.groups?.first?.options?.first) + #expect(option.earliestFulfillmentTime == ISO8601DateFormatter().date(from: "2026-09-16T09:00:00Z")?.addingTimeInterval(Double("0" + fraction) ?? 0)) + #expect(option.latestFulfillmentTime == ISO8601DateFormatter().date(from: "2026-09-17T17:00:00Z")?.addingTimeInterval(Double("0" + fraction) ?? 0)) + } + } + @Test @MainActor func notificationDoesNotFireUnregisteredHandler() async throws { var completeFired = false let client = EmbeddedCheckoutProtocol.Client() diff --git a/protocol/scripts/generate_swift_catalog.mjs b/protocol/scripts/generate_swift_catalog.mjs index d5862a700..b59acf376 100644 --- a/protocol/scripts/generate_swift_catalog.mjs +++ b/protocol/scripts/generate_swift_catalog.mjs @@ -103,7 +103,7 @@ function decodeClosure(entry) { if (entry.decode !== 'whole' && entry.decode !== 'checkoutUnwrap') { throw new Error(`Unknown decode strategy: ${entry.decode}`); } - return `{ try JSONDecoder().decode(${paramsType(entry)}.self, from: $0) }`; + return `{ try newJSONDecoder().decode(${paramsType(entry)}.self, from: $0) }`; } const conformances = [ @@ -115,7 +115,7 @@ const notificationCatalog = notifications .map( entry => ` public static let ${entry.identifier} = NotificationDescriptor( method: "${entry.method}", - decode: { try JSONDecoder().decode(${notificationParamsType(entry)}.self, from: $0) } + decode: { try newJSONDecoder().decode(${notificationParamsType(entry)}.self, from: $0) } )`, ) .join('\n\n'); From 1ef5e19d5775bb45854cec8b72acc70f45dd83f5 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 14 Sep 2026 16:22:02 +0100 Subject: [PATCH 20/23] Verify distinct Kit and protocol checkout snapshots --- .../CheckoutEventAdapterTests.swift | 9 ++++++--- .../EmbeddedCheckoutProtocolTests/ClientTests.swift | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift index 91e989f4f..ce831e910 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift @@ -23,9 +23,8 @@ final class CheckoutEventAdapterTests: XCTestCase { let params = try XCTUnwrap(envelope["params"] as? [String: Any]) let protocolObject = try XCTUnwrap(params["checkout"] as? [String: Any]) let protocolData = try JSONSerialization.data(withJSONObject: protocolObject) - let decoder = JSONDecoder() - decoder.dateDecodingStrategy = .iso8601 - let checkout = try decoder.decode(ShopifyCheckoutKit.Checkout.self, from: protocolData) + let protocolCheckout = try EmbeddedCheckoutProtocol.Checkout(data: protocolData) + let checkout = try XCTUnwrap(ShopifyCheckoutKit.Checkout(protocolCheckout: protocolCheckout)) XCTAssertEqual(checkout.attribution, ["source": "agent"]) XCTAssertEqual(checkout.context?.addressCountry, "IE") XCTAssertEqual(checkout.continueURL, "https://example.com/continue") @@ -63,6 +62,10 @@ final class CheckoutEventAdapterTests: XCTestCase { let object = try XCTUnwrap(JSONSerialization.jsonObject(with: encoded) as? [String: Any]) XCTAssertNil(object["ucp"]) XCTAssertNotNil(object["com.example.extension"]) + + let protocolEncoded = try JSONEncoder().encode(protocolCheckout) + let encodedProtocolObject = try XCTUnwrap(JSONSerialization.jsonObject(with: protocolEncoded) as? [String: Any]) + XCTAssertNotNil(encodedProtocolObject["ucp"]) } func testEveryChangeNotificationProducesOneUpdate() async { diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift index adeb53af2..3367ba676 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift @@ -94,7 +94,7 @@ struct ClientTests { EmbeddedCheckoutProtocol.Event.complete ] for descriptor in descriptors { - var receivedCheckout: Checkout? + var receivedCheckout: EmbeddedCheckoutProtocol.Checkout? let client = EmbeddedCheckoutProtocol.Client() .on(descriptor) { receivedCheckout = $0.params.checkout } let message = """ From 1575768f575aa900833aa658ce93d510d9a3aefd Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 14 Sep 2026 18:00:40 +0100 Subject: [PATCH 21/23] Explain protocol event date decoding --- .../Generated/EmbeddedCheckoutProtocol+Event.swift | 4 ++++ protocol/scripts/generate_swift_catalog.mjs | 4 ++++ 2 files changed, 8 insertions(+) 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 6bfd278ff..85f808022 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift @@ -20,6 +20,10 @@ extension EmbeddedCheckoutProtocol { /// Notifications become `NotificationDescriptor`s; requests become /// `RequestDescriptor`s. public enum Event { + // Protocol dates use RFC 3339 strings, including fractional seconds. + // newJSONDecoder() handles them; plain JSONDecoder() expects numeric dates + // and can reject checkout updates before Kit invokes onUpdate. + public static let error = NotificationDescriptor( method: "ec.error", decode: { try newJSONDecoder().decode(JSONRPCErrorParams.self, from: $0) } diff --git a/protocol/scripts/generate_swift_catalog.mjs b/protocol/scripts/generate_swift_catalog.mjs index b59acf376..3cf2c9f4a 100644 --- a/protocol/scripts/generate_swift_catalog.mjs +++ b/protocol/scripts/generate_swift_catalog.mjs @@ -147,6 +147,10 @@ extension EmbeddedCheckoutProtocol { /// Notifications become \`NotificationDescriptor\`s; requests become /// \`RequestDescriptor\`s. public enum Event { + // Protocol dates use RFC 3339 strings, including fractional seconds. + // newJSONDecoder() handles them; plain JSONDecoder() expects numeric dates + // and can reject checkout updates before Kit invokes onUpdate. + ${notificationCatalog} ${requestDescriptors} From ceb0258f7ef91d50c3a3868e1a615764f4ea4d4e Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 18 Sep 2026 09:50:50 +0100 Subject: [PATCH 22/23] Fix Swift delegate migration and fractional protocol dates --- platforms/swift/README.md | 23 +++++---- .../ShopifyCheckoutKit/CheckoutDelegate.swift | 3 -- platforms/swift/api/ShopifyCheckoutKit.json | 50 ------------------- .../Generated/Models.swift | 22 +------- .../EmbeddedCheckoutProtocol/JSONCoding.swift | 35 +++++++++++++ .../ClientTests.swift | 48 +++++++++++++++--- protocol/scripts/generate_models.mjs | 13 ++--- 7 files changed, 98 insertions(+), 96 deletions(-) create mode 100644 protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONCoding.swift diff --git a/platforms/swift/README.md b/platforms/swift/README.md index be557b7b7..89e720562 100644 --- a/platforms/swift/README.md +++ b/platforms/swift/README.md @@ -120,8 +120,8 @@ final class CartViewController: UIViewController, CheckoutDelegate { // The buyer dismissed checkout. } - func checkoutDidFail(error: CheckoutError) { - // Show an error state, retry with a new cart, or log the SDK error. + func checkoutDidFail(_ event: CheckoutFailureEvent) { + // Use event.error to show an error state, retry with a new cart, or log the SDK error. } } ``` @@ -150,8 +150,8 @@ struct CartView: View { .onDismiss { isPresented = false } - .onFail { error in - handleCheckoutError(error) + .onFail { event in + handleCheckoutError(event.error) } .ignoresSafeArea() } @@ -302,7 +302,7 @@ must not include credentials, paths, queries, or fragments. For example, Rejected messages are dropped and logged at warning level. A rejected message is untrusted input, not evidence that checkout failed, so it does not fail a preload -or call `.onFail` or `checkoutDidFail(error:)` during presentation. The message +or call `.onFail` or `checkoutDidFail(_:)` during presentation. The message body is untrusted and is not logged. ### Current configuration @@ -316,7 +316,10 @@ let configuration = ShopifyCheckoutKit.configuration `CheckoutDelegate` reports native presentation outcomes: - `checkoutDidDismiss()` fires when the buyer dismisses the checkout sheet. -- `checkoutDidFail(error:)` fires when checkout cannot continue. +- `checkoutDidFail(_:)` fires when checkout cannot continue. + +Both callbacks are required. When migrating from `checkoutDidFail(error:)`, implement +`checkoutDidFail(_ event: CheckoutFailureEvent)` and read the error from `event.error`. Typed checkout state, including completion, flows through `EmbeddedCheckoutProtocol`. @@ -365,8 +368,8 @@ Kit-owned link delegations such as `window.open` are offered to your connected p ### Error handling -A checkout lifecycle failure is delivered as a `CheckoutError` to `checkoutDidFail(error:)` -or `.onFail`. It has a stable `code`, diagnostic `message`, optional `httpStatusCode`, and an +A checkout lifecycle failure is delivered as a `CheckoutFailureEvent` to `checkoutDidFail(_:)` +or `.onFail`. Its `error` has a stable `code`, diagnostic `message`, optional `httpStatusCode`, and an optional native `underlyingError`. Use the stable code for recovery and analytics. Use diagnostic text and underlying errors only for debugging and logging. @@ -408,7 +411,7 @@ opening a browser fallback, and re-presenting checkout. `CheckoutProtocol.error`, then reports one lifecycle failure for a presented checkout. The first unrecoverable error message determines the lifecycle code; if none is present, the code is `.unknown`. `ec.messages.change` reports checkout state only and never calls `.onFail` or -`checkoutDidFail(error:)`. +`checkoutDidFail(_:)`. Add a protocol handler when you need the complete protocol payload; it runs before the lifecycle failure: @@ -419,7 +422,7 @@ let client = CheckoutProtocol.Client() } ``` -Failures during preload do not call `.onFail` or `checkoutDidFail(error:)`. Monitor them as +Failures during preload do not call `.onFail` or `checkoutDidFail(_:)`. Monitor them as `PreloadState.failed` through the `CheckoutPreload` returned by `preload`, using `onStateChange` or its published `state`. A later `present` can load normally. diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift index 32aa618f6..e0e38285a 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutDelegate.swift @@ -31,7 +31,4 @@ extension CheckoutDelegate { public func checkoutAction(for _: CheckoutLink) -> CheckoutLinkAction { .open } - - public func checkoutDidDismiss() {} - public func checkoutDidFail(_: CheckoutFailureEvent) {} } diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 53e4a865d..63af1579c 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -2727,28 +2727,6 @@ "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, - { - "kind": "Function", - "name": "checkoutDidDismiss", - "printedName": "checkoutDidDismiss()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE18checkoutDidDismissyyF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Function", "name": "checkoutDidFail", @@ -2778,34 +2756,6 @@ "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" }, - { - "kind": "Function", - "name": "checkoutDidFail", - "printedName": "checkoutDidFail(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutFailureEvent", - "printedName": "ShopifyCheckoutKit.CheckoutFailureEvent", - "usr": "s:18ShopifyCheckoutKit0B12FailureEventV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegatePAAE15checkoutDidFailyyAA0B12FailureEventVF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Function", "name": "checkoutDidStart", diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift index f7e91b42d..becf9801c 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift @@ -5193,24 +5193,6 @@ public extension EmbeddedCheckoutProtocol.WindowOpenResult { } } -// MARK: - Helper functions for creating encoders and decoders - -func newJSONDecoder() -> JSONDecoder { - let decoder = JSONDecoder() - if #available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *) { - decoder.dateDecodingStrategy = .iso8601 - } - return decoder -} - -func newJSONEncoder() -> JSONEncoder { - let encoder = JSONEncoder() - if #available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *) { - encoder.dateEncodingStrategy = .iso8601 - } - return encoder -} - // MARK: - Encode/decode helpers -// quicktype's JSONAny/JSONNull helper suffix is intentionally replaced here. -// See ../JSONAny.swift for the maintained Swift implementation. +// quicktype's encoder/decoder and JSONAny/JSONNull helper suffix is intentionally replaced here. +// See ../JSONCoding.swift and ../JSONAny.swift for the maintained Swift implementations. diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONCoding.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONCoding.swift new file mode 100644 index 000000000..526ed26b1 --- /dev/null +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONCoding.swift @@ -0,0 +1,35 @@ +import Foundation + +// The generator replaces quicktype's encoder/decoder helpers with these maintained +// implementations so model initializers and event descriptors use the same formats. +func newJSONDecoder() -> JSONDecoder { + let decoder = JSONDecoder() + decoder.dateDecodingStrategy = .custom { decoder in + let container = try decoder.singleValueContainer() + let value = try container.decode(String.self) + let formatter = ISO8601DateFormatter() + + // JSONDecoder's .iso8601 strategy rejects fractional seconds on older iOS versions. + formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds] + if let date = formatter.date(from: value) { + return date + } + + formatter.formatOptions = [.withInternetDateTime] + if let date = formatter.date(from: value) { + return date + } + + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Expected an ISO 8601 date-time string" + ) + } + return decoder +} + +func newJSONEncoder() -> JSONEncoder { + let encoder = JSONEncoder() + encoder.dateEncodingStrategy = .iso8601 + return encoder +} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift index 3367ba676..2f884b109 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift @@ -86,7 +86,8 @@ struct ClientTests { #expect(receivedCheckout?.id == "checkout-123") } - @Test(arguments: ["", ".123"]) @MainActor func checkoutNotificationsDecodeShippingDates(fraction: String) async throws { + @Test(arguments: ["", ".123"], ["Z", "+05:30", "-04:00"]) + @MainActor func checkoutNotificationsDecodeShippingDates(fraction: String, timeZone: String) async throws { let descriptors = [ EmbeddedCheckoutProtocol.Event.start, EmbeddedCheckoutProtocol.Event.fulfillmentChange, @@ -101,12 +102,12 @@ struct ClientTests { {"jsonrpc":"2.0","method":"\(descriptor.method)","params":{"checkout":{ "id":"checkout-1","currency":"USD","status":"incomplete", "line_items":[],"links":[],"totals":[{"type":"total","amount":1500}], - "expires_at":"2026-09-15T12:00:00\(fraction)Z", + "expires_at":"2026-09-15T12:00:00\(fraction)\(timeZone)", "fulfillment":{"methods":[{"id":"shipping","type":"shipping","line_item_ids":[], "groups":[{"id":"group-1","line_item_ids":[],"selected_option_id":"standard", "options":[{"id":"standard","title":"Standard","totals":[], - "earliest_fulfillment_time":"2026-09-16T09:00:00\(fraction)Z", - "latest_fulfillment_time":"2026-09-17T17:00:00\(fraction)Z"}]}]}]}, + "earliest_fulfillment_time":"2026-09-16T09:00:00\(fraction)\(timeZone)", + "latest_fulfillment_time":"2026-09-17T17:00:00\(fraction)\(timeZone)"}]}]}]}, "ucp":{"payment_handlers":{},"version":"\(EmbeddedCheckoutProtocol.specVersion)"} }}} """ @@ -114,13 +115,46 @@ struct ClientTests { _ = await client.process(message) let checkout = try #require(receivedCheckout, "Dropped \(descriptor.method)") - #expect(checkout.expiresAt == ISO8601DateFormatter().date(from: "2026-09-15T12:00:00Z")?.addingTimeInterval(Double("0" + fraction) ?? 0)) + let fractionalSeconds = try #require(Double("0" + fraction)) + let expiry = try #require(ISO8601DateFormatter().date(from: "2026-09-15T12:00:00\(timeZone)")) + let earliest = try #require(ISO8601DateFormatter().date(from: "2026-09-16T09:00:00\(timeZone)")) + let latest = try #require(ISO8601DateFormatter().date(from: "2026-09-17T17:00:00\(timeZone)")) + let expiresAt = try #require(checkout.expiresAt) + #expect(abs(expiresAt.timeIntervalSince(expiry) - fractionalSeconds) < 0.000_001) let option = try #require(checkout.fulfillment?.methods?.first?.groups?.first?.options?.first) - #expect(option.earliestFulfillmentTime == ISO8601DateFormatter().date(from: "2026-09-16T09:00:00Z")?.addingTimeInterval(Double("0" + fraction) ?? 0)) - #expect(option.latestFulfillmentTime == ISO8601DateFormatter().date(from: "2026-09-17T17:00:00Z")?.addingTimeInterval(Double("0" + fraction) ?? 0)) + let earliestFulfillmentTime = try #require(option.earliestFulfillmentTime) + let latestFulfillmentTime = try #require(option.latestFulfillmentTime) + #expect(abs(earliestFulfillmentTime.timeIntervalSince(earliest) - fractionalSeconds) < 0.000_001) + #expect(abs(latestFulfillmentTime.timeIntervalSince(latest) - fractionalSeconds) < 0.000_001) } } + @Test @MainActor func invalidCheckoutDateReportsDecodeError() async throws { + let recorder = DecodeErrorRecorder() + var receivedCheckout = false + let client = EmbeddedCheckoutProtocol.Client() + .onDecodeError { method, error, _ in recorder.record(method: method, error: error) } + .on(EmbeddedCheckoutProtocol.Event.start) { _ in receivedCheckout = true } + let message = """ + {"jsonrpc":"2.0","method":"ec.start","params":{"checkout":{ + "id":"checkout-1","currency":"USD","status":"incomplete", + "line_items":[],"links":[],"totals":[],"expires_at":"invalid-date", + "ucp":{"payment_handlers":{},"version":"\(EmbeddedCheckoutProtocol.specVersion)"} + }}} + """ + + _ = await client.process(message) + + #expect(receivedCheckout == false) + #expect(recorder.method == "ec.start") + let error = try #require(recorder.error as? DecodingError) + guard case let .dataCorrupted(context) = error else { + Issue.record("Expected an invalid date to report a data-corrupted decoding error") + return + } + #expect(context.codingPath.map(\.stringValue) == ["checkout", "expires_at"]) + } + @Test @MainActor func notificationDoesNotFireUnregisteredHandler() async throws { var completeFired = false let client = EmbeddedCheckoutProtocol.Client() diff --git a/protocol/scripts/generate_models.mjs b/protocol/scripts/generate_models.mjs index 13d6d759e..43634f27e 100755 --- a/protocol/scripts/generate_models.mjs +++ b/protocol/scripts/generate_models.mjs @@ -40,16 +40,16 @@ import {namespaceSwiftPayloadModels} from "./swift_namespacing.mjs"; const SCHEMA_SOURCE_DIR = path.join(PROTOCOL_DIR, "schemas"); const SERVICES_DIR = path.join(PROTOCOL_DIR, "services", "shopping"); -const SWIFT_JSON_HELPER_MARKER = "// MARK: - Encode/decode helpers"; +const SWIFT_JSON_HELPER_MARKER = "// MARK: - Helper functions for creating encoders and decoders"; const SWIFT_JSON_HELPER_REPLACEMENT = `// MARK: - Encode/decode helpers -// quicktype's JSONAny/JSONNull helper suffix is intentionally replaced here. -// See ../JSONAny.swift for the maintained Swift implementation. +// quicktype's encoder/decoder and JSONAny/JSONNull helper suffix is intentionally replaced here. +// See ../JSONCoding.swift and ../JSONAny.swift for the maintained Swift implementations. `; // quicktype 23.2.6's Swift helper suffix for: // --lang swift --swift-5-support --access-level public --sendable // Guarding the whole suffix keeps this normalization fail-fast if quicktype fixes // or changes the helper block instead of silently clobbering future output. -const QUICKTYPE_23_2_6_SWIFT_JSON_HELPER_SHA256 = "02b7721a424fdb5a586a773116130f0b273551f9bfd5d9111a1c700581ec5e7e"; +const QUICKTYPE_23_2_6_SWIFT_JSON_HELPER_SHA256 = "77d7a14bb3da060e2c1fb2bf9e5e844c5c6c441c41b79d0a7e4a7f1695bbe7ea"; function usage() { console.error("Usage: generate_models.sh --lang [--output ]"); @@ -796,9 +796,10 @@ async function generateSwift(specDir, output, {openModelNames, mapModelNames}) { await normalizeGeneratedFile(output, (source) => { // quicktype's --sendable option marks generated models as Sendable, but quicktype 23.2.6 // still emits dynamic JSON helper types that are not fully Swift 6 concurrency-safe. + // Its decoder also rejects fractional ISO 8601 timestamps on older OS versions. // Drop only the exact helper suffix quicktype 23.2.6 emits. Maintained helper - // implementations live in UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONAny.swift so Swift tooling can - // lint, format, and type-check them normally. + // implementations live in JSONCoding.swift and JSONAny.swift beside Generated/ + // so Swift tooling can lint, format, and type-check them normally. const helperStart = source.indexOf(SWIFT_JSON_HELPER_MARKER); if (helperStart === -1) { throw new Error("Swift JSON helper normalization failed; quicktype output may have changed"); From 0f3715c6f10948fe68de5723a9290d76e1a79e06 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 18 Sep 2026 10:11:17 +0100 Subject: [PATCH 23/23] Document Swift checkout lifecycle callbacks --- platforms/swift/README.md | 120 +++++++++++++++++++++----------------- 1 file changed, 67 insertions(+), 53 deletions(-) diff --git a/platforms/swift/README.md b/platforms/swift/README.md index 89e720562..fe6842910 100644 --- a/platforms/swift/README.md +++ b/platforms/swift/README.md @@ -72,7 +72,6 @@ Then add the products you need to your app target: name: "YourApp", dependencies: [ "ShopifyCheckoutKit", - "EmbeddedCheckoutProtocol", "ShopifyAcceleratedCheckouts" // Only needed for accelerated checkout buttons. ] ) @@ -313,58 +312,67 @@ let configuration = ShopifyCheckoutKit.configuration ## Checkout lifecycle -`CheckoutDelegate` reports native presentation outcomes: +Use `CheckoutDelegate` with UIKit and view modifiers with SwiftUI. Start, update, +and completion callbacks receive typed events with a `checkout` property containing +the current `ShopifyCheckoutKit.Checkout` snapshot. Callbacks run on the main actor. -- `checkoutDidDismiss()` fires when the buyer dismisses the checkout sheet. -- `checkoutDidFail(_:)` fires when checkout cannot continue. - -Both callbacks are required. When migrating from `checkoutDidFail(error:)`, implement +| Event | UIKit delegate method | SwiftUI modifier | +| --- | --- | --- | +| Checkout is visible and ready for interaction. | `checkoutDidStart(_:)` | `.onStart` | +| Checkout totals, line items, fulfillment, or messages change. | `checkoutDidUpdate(_:)` | `.onUpdate` | +| Checkout completes. | `checkoutDidComplete(_:)` | `.onComplete` | +| The buyer dismisses checkout. | `checkoutDidDismiss()` | `.onDismiss` | +| Checkout cannot continue. | `checkoutDidFail(_:)` | `.onFail` | + +UIKit delegates must implement `checkoutDidDismiss()` and `checkoutDidFail(_:)`. +The other lifecycle methods have default implementations. When migrating from `checkoutDidFail(error:)`, implement `checkoutDidFail(_ event: CheckoutFailureEvent)` and read the error from `event.error`. -Typed checkout state, including completion, flows through `EmbeddedCheckoutProtocol`. +Add the optional lifecycle methods to the UIKit delegate shown in [Present checkout](#uikit): ```swift -import ShopifyCheckoutKit -import EmbeddedCheckoutProtocol - -let client = CheckoutProtocol.Client() - .on(CheckoutProtocol.start) { checkout in - // Checkout is loaded and interactive. - } - .on(CheckoutProtocol.complete) { checkout in - // The order was completed. Clear or refresh the local cart. +extension CartViewController { + func checkoutDidStart(_ event: CheckoutStartEvent) { + // Checkout is ready. Read the initial state from event.checkout. } - .on(CheckoutProtocol.totalsChange) { checkout in - // React to updated totals. - } - .on(CheckoutProtocol.lineItemsChange) { checkout in - // React to line item changes. - } - .on(CheckoutProtocol.fulfillmentChange) { checkout in - // React to fulfillment changes. - } - .on(CheckoutProtocol.messagesChange) { checkout in - // React to checkout messages. + + func checkoutDidUpdate(_ event: CheckoutUpdateEvent) { + // Update your UI from event.checkout.totals, lineItems, fulfillment, or messages. } -ShopifyCheckoutKit.present( - checkout: checkoutURL, - from: viewController, - delegate: checkoutDelegate, - client: client -) + func checkoutDidComplete(_ event: CheckoutCompleteEvent) { + // Record completion from event.checkout; reset the cart after dismissal. + } +} ``` -For SwiftUI, attach the same client with `.connect(client)`. +For SwiftUI, attach handlers directly to `ShopifyCheckout`: ```swift ShopifyCheckout(checkout: checkoutURL) - .connect(client) + .onStart { event in + // Checkout is ready. Read the initial state from event.checkout. + } + .onUpdate { event in + // Update your UI from event.checkout.totals, lineItems, fulfillment, or messages. + } + .onComplete { event in + // Record completion from event.checkout; reset the cart after dismissal. + } + .onDismiss { + // Clear or refresh the cart if checkout completed. + } + .onFail { event in + handleCheckoutError(event.error) + } ``` -The public `CheckoutProtocol` descriptors are typed wrappers over UCP-backed checkout messages. -See the [UCP shopping embedded protocol schema](../../protocol/services/shopping/embedded.openrpc.json) for method and payload definitions. -Kit-owned link delegations such as `window.open` are offered to your connected protocol client first and fall back to Checkout Kit's default handler if unhandled. The default handler opens web links in `SFSafariViewController` and non-web links through `UIApplication.shared.open(_:)`. +Update callbacks combine changes to totals, line items, fulfillment, and messages; +identical checkout snapshots do not trigger another update. Read the fields your +app needs from `event.checkout`. + +Completion does not dismiss checkout. Record completion, then clear or refresh the +cart when checkout is dismissed so the confirmation page remains visible. ### Error handling @@ -407,20 +415,12 @@ opening a browser fallback, and re-presenting checkout. #### Checkout session errors -`ec.error` ends the embedded checkout session. Checkout Kit first forwards it to -`CheckoutProtocol.error`, then reports one lifecycle failure for a presented checkout. The first +`ec.error` ends the embedded checkout session. Checkout Kit reports one lifecycle +failure through `checkoutDidFail(_:)` or `.onFail` for a presented checkout. The first unrecoverable error message determines the lifecycle code; if none is present, the code is -`.unknown`. `ec.messages.change` reports checkout state only and never calls `.onFail` or -`checkoutDidFail(_:)`. - -Add a protocol handler when you need the complete protocol payload; it runs before the lifecycle failure: - -```swift -let client = CheckoutProtocol.Client() - .on(CheckoutProtocol.error) { terminalError in - // Inspect the complete ECP terminal payload for advanced diagnostics. - } -``` +`.unknown`. Read the mapped error from `event.error`. In-checkout messages are +available at `event.checkout.messages` in `checkoutDidUpdate(_:)` or `.onUpdate`; +`ec.messages.change` never calls `.onFail` or `checkoutDidFail(_:)`. Failures during preload do not call `.onFail` or `checkoutDidFail(_:)`. Monitor them as `PreloadState.failed` through the `CheckoutPreload` returned by `preload`, using `onStateChange` @@ -451,7 +451,21 @@ Some payment providers redirect buyers to external banking apps or web pages. Co See [Universal Links](documentation/universal_links.md) for setup and testing details. -Checkout Kit opens delegated external HTTPS links in `SFSafariViewController` by default. Deep links, `mailto:`, and `tel:` links still open through `UIApplication.shared.open(_:)`. If you want delegated web links to leave your app, register a `CheckoutProtocol.windowOpen` handler and call `UIApplication.shared.open(_:)` yourself. +Checkout Kit opens delegated external HTTP(S) links in `SFSafariViewController` by +default. Deep links, `mailto:`, and `tel:` links open through `UIApplication.shared.open(_:)`. + +Use `checkoutAction(for:)` on your UIKit delegate or `.onLinkClick` in SwiftUI to +customize this behavior. Return `.open` to use the default handling, `.handled` +when your app handled the link, or `.cancel` to prevent it from opening. For example, +to open delegated links through the system: + +```swift +ShopifyCheckout(checkout: checkoutURL) + .onLinkClick { link in + UIApplication.shared.open(link.url) + return .handled + } +``` ## Geolocation and pickup points @@ -575,7 +589,7 @@ Use `.onStart`, `.onUpdate`, `.onComplete`, and `.onLinkClick` for Shop Pay and See [Samples](Samples/README.md): -- `CheckoutKitSwiftDemo` demonstrates a Storefront API cart flow, buyer identity modes, Customer Account API, checkout presentation, and protocol events. +- `CheckoutKitSwiftDemo` demonstrates a Storefront API cart flow, buyer identity modes, Customer Account API, checkout presentation, and checkout lifecycle events. - `ShopifyAcceleratedCheckoutsApp` demonstrates Shop Pay and Apple Pay accelerated checkout buttons. ## Contributing