From e0732f0c8c6ba179e87dc8bc8a0c1156e7504c29 Mon Sep 17 00:00:00 2001 From: adrian-augustyn Date: Thu, 10 Sep 2026 02:43:37 +0200 Subject: [PATCH 1/6] feat(protocol): adopt UCP 2026-08-25 Assisted-By: devx/9ecb7751-82f9-4062-885f-a23b95dfc4a7 --- .../checkoutkit/CheckoutProtocolTest.kt | 7 +- .../checkoutkit/CheckoutUrlDecoratorTest.kt | 4 +- .../tests/protocol.test.ts | 1 + .../CheckoutURLDecoratorTests.swift | 5 +- .../swift/api/EmbeddedCheckoutProtocol.json | 56220 +++++++++------- platforms/web/src/checkout.test.ts | 4 +- platforms/web/src/checkout.ts | 2 +- platforms/web/src/checkout.types.ts | 2 +- protocol/README.md | 42 + .../api/embedded-checkout-protocol.api | 536 +- .../checkout/EmbeddedCheckoutProtocol.kt | 2 +- .../shopify/ucp/embedded/checkout/Models.kt | 744 +- .../checkout/EmbeddedCheckoutProtocolTest.kt | 6 +- .../checkout/ExtensionPreservationTest.kt | 1 + .../checkout/VersionCompatibilityTest.kt | 93 + .../test/resources/checkout-2026-04-08.json | 90 + .../test/resources/checkout-2026-08-25.json | 145 + .../src/test/resources/error-2026-04-08.json | 19 + .../EmbeddedCheckoutProtocol.swift | 2 - .../EmbeddedCheckoutProtocol+Event.swift | 4 + .../Generated/Models.swift | 1104 +- .../UCPResponse.swift | 1 + .../WindowOpenResult+Factory.swift | 1 + .../ClientTests.swift | 1 + .../CodecEncodeTests.swift | 1 + .../DescriptorTests.swift | 4 +- .../EmbeddedCheckoutProtocolURLTests.swift | 4 +- .../Fixtures/checkout-2026-04-08.json | 90 + .../Fixtures/checkout-2026-08-25.json | 145 + .../Fixtures/error-2026-04-08.json | 19 + .../ModelDecodingTests.swift | 4 +- .../VersionCompatibilityTests.swift | 84 + protocol/languages/typescript/src/client.d.ts | 7 + .../src/embedded_checkout_protocol.d.ts | 2 +- .../typescript/src/generated/Models.d.ts | 601 +- .../typescript/src/generated/Models.ts | 695 +- .../src/generated/ProtocolNotifications.d.ts | 2 +- .../src/generated/ProtocolNotifications.ts | 2 +- .../src/generated/ProtocolRenameMap.ts | 2 +- protocol/languages/typescript/src/index.d.ts | 2 +- .../typescript/src/protocol_codec_runtime.ts | 24 +- .../test/extension-preservation.test.ts | 1 + .../languages/typescript/test/fixtures.ts | 1 + .../test/fixtures/checkout-2026-04-08.json | 90 + .../test/fixtures/checkout-2026-08-25.json | 145 + .../test/fixtures/error-2026-04-08.json | 19 + .../typescript/test/rename-map.test.ts | 16 + .../typescript/test/spec-metadata.test.ts | 27 +- .../languages/typescript/test/url.test.ts | 10 +- .../test/version-compatibility.test.ts | 71 + protocol/schemas/capability.json | 14 +- protocol/schemas/common/identity_linking.json | 48 +- .../payment_ap2_mandate.json} | 8 +- .../payment_split_payments.json} | 22 +- protocol/schemas/common/types/actions.json | 40 + protocol/schemas/common/types/amount.json | 3 +- .../types/available_payment_instrument.json | 8 +- protocol/schemas/common/types/binding.json | 19 + .../types/business_split_payments_config.json | 2 +- .../types/card_credential.json | 7 +- .../types/card_payment_instrument.json | 51 +- .../common/types/constraint_expression.json | 56 + protocol/schemas/common/types/context.json | 62 + .../types/instrument_group.json | 2 +- protocol/schemas/common/types/locality.json | 22 + .../common/types/location_summary.json | 26 + protocol/schemas/common/types/measure.json | 23 + .../schemas/common/types/message_error.json | 4 +- .../schemas/common/types/message_info.json | 2 +- .../schemas/common/types/message_warning.json | 2 +- protocol/schemas/common/types/pagination.json | 3 +- .../{shopping => common/types}/payment.json | 4 +- .../types/payment_credential.json | 2 +- .../types/payment_identity.json | 4 +- .../types/payment_instrument.json | 6 +- protocol/schemas/common/types/policy.json | 34 + .../types/price_filter.json | 6 +- .../types/price_range.json | 8 +- .../schemas/common/types/quantity_unit.json | 22 + .../common/types/request_constraints.json | 40 + .../common/types/reverse_domain_name.json | 13 +- .../{shopping => common}/types/signals.json | 4 +- .../schemas/common/types/signed_amount.json | 4 +- .../types/token_credential.json | 2 +- .../{shopping => common}/types/total.json | 4 +- .../{shopping => common}/types/totals.json | 4 +- protocol/schemas/common/types/unit.json | 40 + .../schemas/common/types/warning_code.json | 1 + protocol/schemas/payment_handler.json | 2 +- protocol/schemas/profile.json | 57 +- protocol/schemas/service.json | 2 +- protocol/schemas/shopping/buyer_consent.json | 108 +- protocol/schemas/shopping/cart.json | 49 +- protocol/schemas/shopping/catalog_lookup.json | 32 +- protocol/schemas/shopping/catalog_search.json | 16 +- protocol/schemas/shopping/checkout.json | 23 +- protocol/schemas/shopping/discount.json | 2 +- protocol/schemas/shopping/fulfillment.json | 186 +- protocol/schemas/shopping/order.json | 10 +- .../schemas/shopping/types/account_info.json | 13 - .../schemas/shopping/types/adjustment.json | 10 +- .../schemas/shopping/types/availability.json | 17 + protocol/schemas/shopping/types/binding.json | 18 - .../types/business_fulfillment_config.json | 32 +- protocol/schemas/shopping/types/context.json | 42 - .../schemas/shopping/types/expectation.json | 6 +- .../schemas/shopping/types/fulfillment.json | 1 - .../types/fulfillment_available_method.json | 4 +- .../types/fulfillment_destination.json | 32 +- .../types/fulfillment_destination_filter.json | 23 + .../shopping/types/fulfillment_event.json | 3 +- .../shopping/types/fulfillment_method.json | 104 +- .../shopping/types/fulfillment_option.json | 80 +- .../types/fulfillment_option_base.json | 26 + protocol/schemas/shopping/types/item.json | 12 +- .../schemas/shopping/types/line_item.json | 7 +- .../shopping/types/location_destination.json | 24 + .../types/merchant_fulfillment_config.json | 35 - .../shopping/types/order_line_item.json | 15 +- protocol/schemas/shopping/types/product.json | 4 +- .../shopping/types/retail_location.json | 25 - .../shopping/types/search_filters.json | 2 +- .../shopping/types/shipping_destination.json | 10 +- .../schemas/shopping/types/unit_price.json | 56 + protocol/schemas/shopping/types/variant.json | 54 +- protocol/schemas/ucp.json | 51 +- protocol/scripts/codegen_guards.mjs | 78 + protocol/scripts/codegen_guards.test.mjs | 90 + protocol/scripts/generate_kotlin_catalog.mjs | 2 +- protocol/scripts/generate_models.mjs | 236 +- protocol/scripts/generate_swift_catalog.mjs | 7 + .../generate_typescript_notifications.mjs | 2 +- .../generate_typescript_rename_map.mjs | 20 +- .../services/shopping/embedded.openrpc.json | 2 +- protocol/source-lock.json | 212 +- 135 files changed, 38872 insertions(+), 24696 deletions(-) create mode 100644 protocol/README.md create mode 100644 protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt create mode 100644 protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json create mode 100644 protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json create mode 100644 protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift create mode 100644 protocol/languages/typescript/test/fixtures/checkout-2026-04-08.json create mode 100644 protocol/languages/typescript/test/fixtures/checkout-2026-08-25.json create mode 100644 protocol/languages/typescript/test/fixtures/error-2026-04-08.json create mode 100644 protocol/languages/typescript/test/rename-map.test.ts create mode 100644 protocol/languages/typescript/test/version-compatibility.test.ts rename protocol/schemas/{shopping/ap2_mandate.json => common/payment_ap2_mandate.json} (93%) rename protocol/schemas/{shopping/split_payments.json => common/payment_split_payments.json} (73%) create mode 100644 protocol/schemas/common/types/actions.json rename protocol/schemas/{shopping => common}/types/available_payment_instrument.json (52%) create mode 100644 protocol/schemas/common/types/binding.json rename protocol/schemas/{shopping => common}/types/business_split_payments_config.json (91%) rename protocol/schemas/{shopping => common}/types/card_credential.json (69%) rename protocol/schemas/{shopping => common}/types/card_payment_instrument.json (62%) create mode 100644 protocol/schemas/common/types/constraint_expression.json create mode 100644 protocol/schemas/common/types/context.json rename protocol/schemas/{shopping => common}/types/instrument_group.json (92%) create mode 100644 protocol/schemas/common/types/locality.json create mode 100644 protocol/schemas/common/types/location_summary.json create mode 100644 protocol/schemas/common/types/measure.json rename protocol/schemas/{shopping => common/types}/payment.json (78%) rename protocol/schemas/{shopping => common}/types/payment_credential.json (86%) rename protocol/schemas/{shopping => common}/types/payment_identity.json (71%) rename protocol/schemas/{shopping => common}/types/payment_instrument.json (79%) create mode 100644 protocol/schemas/common/types/policy.json rename protocol/schemas/{shopping => common}/types/price_filter.json (82%) rename protocol/schemas/{shopping => common}/types/price_range.json (63%) create mode 100644 protocol/schemas/common/types/quantity_unit.json create mode 100644 protocol/schemas/common/types/request_constraints.json rename protocol/schemas/{shopping => common}/types/signals.json (88%) rename protocol/schemas/{shopping => common}/types/token_credential.json (90%) rename protocol/schemas/{shopping => common}/types/total.json (90%) rename protocol/schemas/{shopping => common}/types/totals.json (93%) create mode 100644 protocol/schemas/common/types/unit.json delete mode 100644 protocol/schemas/shopping/types/account_info.json create mode 100644 protocol/schemas/shopping/types/availability.json delete mode 100644 protocol/schemas/shopping/types/binding.json delete mode 100644 protocol/schemas/shopping/types/context.json create mode 100644 protocol/schemas/shopping/types/fulfillment_destination_filter.json create mode 100644 protocol/schemas/shopping/types/fulfillment_option_base.json create mode 100644 protocol/schemas/shopping/types/location_destination.json delete mode 100644 protocol/schemas/shopping/types/merchant_fulfillment_config.json delete mode 100644 protocol/schemas/shopping/types/retail_location.json create mode 100644 protocol/schemas/shopping/types/unit_price.json create mode 100644 protocol/scripts/codegen_guards.mjs create mode 100644 protocol/scripts/codegen_guards.test.mjs diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt index e279bd3a2..60570b363 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt @@ -8,7 +8,6 @@ import com.shopify.ucp.embedded.checkout.EmbeddedColorScheme import com.shopify.ucp.embedded.checkout.EmbeddedTransportConfig import com.shopify.ucp.embedded.checkout.ErrorResponse import com.shopify.ucp.embedded.checkout.ErrorStatus -import com.shopify.ucp.embedded.checkout.FulfillmentMethodType import com.shopify.ucp.embedded.checkout.LineItemQuantity import com.shopify.ucp.embedded.checkout.LineItemStatus import com.shopify.ucp.embedded.checkout.Message @@ -452,7 +451,7 @@ class CheckoutProtocolTest { } @Test - fun `checkout model decodes extension fields`() { + fun `April checkout model decodes extension fields`() { val checkout = Json.decodeFromString( """ { @@ -507,10 +506,10 @@ class CheckoutProtocolTest { assertThat(checkout.discounts?.applied?.get(0)?.allocations?.get(0)?.path) .isEqualTo("\$.line_items[0]") assertThat(checkout.fulfillment?.availableMethods?.get(0)?.type) - .isEqualTo(FulfillmentMethodType.Shipping) + .isEqualTo("shipping") assertThat(checkout.fulfillment?.methods?.get(0)?.id).isEqualTo("pickup-main") assertThat(checkout.fulfillment?.methods?.get(0)?.type) - .isEqualTo(FulfillmentMethodType.Pickup) + .isEqualTo("pickup") } @Test diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt index 4d1e607a8..d87e29d91 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt @@ -61,9 +61,9 @@ class CheckoutUrlDecoratorTest { @Test fun `decorate replaces caller-supplied supported ECP params and strips unsupported ECP params`() { - val url = "$BASE_URL?ec_version=override&ec_delegate=custom&ec_auth=token&ec_color_scheme=dark&ck_branding=app" + val url = "$BASE_URL?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom&ec_auth=token&ec_color_scheme=dark&ck_branding=app" val result = CheckoutUrlDecorator.decorate(url).toUri() - assertThat(result.getQueryParameters("ec_version")).containsExactly(CheckoutProtocol.SPEC_VERSION) + assertThat(result.getQueryParameters("ec_version")).containsExactly("2026-08-25") assertThat(result.getQueryParameters("ec_delegate")).containsExactly("window.open") assertThat(result.getQueryParameters("ec_auth")).isEmpty() assertThat(result.getQueryParameters("ec_color_scheme")).containsExactly("automatic") diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts index faf98f9d2..da9168f43 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts @@ -1,3 +1,4 @@ +// April wire payloads are retained here as older-version compatibility coverage. import { CheckoutProtocol, type Checkout, diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift index 5e63b53e2..ac45a08cb 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift @@ -16,15 +16,16 @@ struct CheckoutURLDecoratorTests { #expect(items.first(where: { $0.name == "ck_branding" })?.value == "app") } - @Test func replacesCallerSuppliedBrandingAndIsIdempotent() throws { + @Test func replacesCallerSuppliedVersionAndBrandingAndIsIdempotent() throws { var configuration = Configuration() configuration.appearance = .app(.light) - let url = try #require(URL(string: "https://shop.com/cart/c/abc?ck_branding=app&ec_color_scheme=dark")) + let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=2026-04-08&ec_version=stale&ck_branding=app&ec_color_scheme=dark")) let once = CheckoutURLDecorator.decorate(url, configuration: configuration) let twice = CheckoutURLDecorator.decorate(once, configuration: configuration) let items = queryItems(twice) + #expect(items.filter { $0.name == "ec_version" }.map(\.value) == ["2026-08-25"]) #expect(items.filter { $0.name == "ck_branding" }.map(\.value) == ["app"]) #expect(items.filter { $0.name == "ec_color_scheme" }.map(\.value) == ["light"]) } diff --git a/platforms/swift/api/EmbeddedCheckoutProtocol.json b/platforms/swift/api/EmbeddedCheckoutProtocol.json index c531c3cfb..7c79e6b6d 100644 --- a/platforms/swift/api/EmbeddedCheckoutProtocol.json +++ b/platforms/swift/api/EmbeddedCheckoutProtocol.json @@ -1617,6 +1617,68 @@ } ] }, + { + "kind": "Var", + "name": "measure", + "printedName": "measure", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure?", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV7measureAA7MeasureVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV7measureAA7MeasureVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure?", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV7measureAA7MeasureVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV7measureAA7MeasureVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "quantity", @@ -1777,7 +1839,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:quantity:)", + "printedName": "init(id:measure:quantity:)", "children": [ { "kind": "TypeNominal", @@ -1791,6 +1853,20 @@ "printedName": "Swift.String", "usr": "s:SS" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure?", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Int", @@ -1799,8 +1875,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id7measure8quantityACSS_AA7MeasureVSgSitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id7measure8quantityACSS_AA7MeasureVSgSitcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -1887,7 +1963,7 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:quantity:)", + "printedName": "with(id:measure:quantity:)", "children": [ { "kind": "TypeNominal", @@ -1910,6 +1986,29 @@ "hasDefaultArg": true, "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure?", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -1927,8 +2026,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id7measure8quantityACSSSg_AA7MeasureVSgSgSiSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id7measure8quantityACSSSg_AA7MeasureVSgSgSiSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -8706,295 +8805,40 @@ }, { "kind": "TypeDecl", - "name": "ContentType", - "printedName": "ContentType", + "name": "ConstraintExpression", + "printedName": "ConstraintExpression", "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", + "name": "anyOf", + "printedName": "anyOf", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" } - ] - } - ] - } - ], - "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", - "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:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV5anyOfSayACGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV5anyOfSayACGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -9010,21 +8854,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV5anyOfSayACGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV5anyOfSayACGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -9036,89 +8888,41 @@ }, { "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", + "name": "properties", + "printedName": "properties", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" } ], - "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:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10propertiesSDySSAA0D8PropertyVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10propertiesSDySSAA0D8PropertyVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -9134,21 +8938,35 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10propertiesSDySSAA0D8PropertyVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10propertiesSDySSAA0D8PropertyVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -9160,8 +8978,8 @@ }, { "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", + "name": "constraintExpressionRequired", + "printedName": "constraintExpressionRequired", "children": [ { "kind": "TypeNominal", @@ -9187,8 +9005,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV010constraintE8RequiredSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV010constraintE8RequiredSaySSGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -9225,315 +9043,14 @@ } ], "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "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", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", - "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:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "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:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV010constraintE8RequiredSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV010constraintE8RequiredSaySSGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" } ] }, @@ -9544,9 +9061,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" }, { "kind": "TypeNominal", @@ -9563,8 +9080,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -9573,38 +9090,32 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", + "printedName": "init(anyOf:properties:constraintExpressionRequired:)", "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" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -9612,13 +9123,27 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" @@ -9644,53 +9169,11 @@ } ], "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:24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV5anyOf10properties010constraintE8RequiredACSayACGSg_SDySSAA0D8PropertyVGSgSaySSGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV5anyOf10properties010constraintE8RequiredACSayACGSg_SDySSAA0D8PropertyVGSgSaySSGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -9701,9 +9184,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" }, { "kind": "TypeNominal", @@ -9713,8 +9196,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -9727,9 +9210,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" }, { "kind": "TypeNominal", @@ -9739,9 +9222,10 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -9752,9 +9236,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" }, { "kind": "TypeNominal", @@ -9764,8 +9248,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -9789,9 +9273,10 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, @@ -9808,8 +9293,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -9843,8 +9328,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -9853,52 +9338,37 @@ { "kind": "Function", "name": "with", - "printedName": "with(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", + "printedName": "with(anyOf:properties:constraintExpressionRequired:)", "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -9910,18 +9380,32 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" @@ -9960,300 +9444,83 @@ ], "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV4with5anyOf10properties010constraintE8RequiredACSayACGSgSg_SDySSAA0D8PropertyVGSgSgSaySSGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV4with5anyOf10properties010constraintE8RequiredACSayACGSgSg_SDySSAA0D8PropertyVGSgSgSaySSGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "anyOf", + "printedName": "anyOf", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", "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: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.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "intent", - "printedName": "intent", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" + } + ] } ] } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO5anyOfyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO5anyOfyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "language", - "printedName": "language", + "name": "properties", + "printedName": "properties", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" } ] } @@ -10261,36 +9528,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO10propertiesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO10propertiesyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", + "name": "constraintExpressionRequired", + "printedName": "constraintExpressionRequired", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" } ] } @@ -10298,8 +9565,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO010constraintE8RequiredyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO010constraintE8RequiredyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -10310,13 +9577,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" } ], "usr": "s:Sq" @@ -10329,8 +9596,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -10343,13 +9610,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" } ], "usr": "s:Sq" @@ -10362,8 +9629,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10379,13 +9646,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO" } ], "usr": "s:Sq" @@ -10398,8 +9665,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -10417,8 +9684,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -10443,8 +9710,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -10469,8 +9736,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -10490,8 +9757,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -10508,8 +9775,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10532,8 +9799,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -10550,8 +9817,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -10560,8 +9827,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -10655,8 +9922,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV", + "mangledName": "$s24EmbeddedCheckoutProtocol20ConstraintExpressionV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -10705,24 +9972,40 @@ }, { "kind": "TypeDecl", - "name": "DiscountAllocation", - "printedName": "DiscountAllocation", + "name": "ConstraintProperty", + "printedName": "ConstraintProperty", "children": [ { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "anyOf", + "printedName": "anyOf", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivp", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV5anyOfSayAA0D10ExpressionVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV5anyOfSayAA0D10ExpressionVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10737,14 +10020,30 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amountSivg", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV5anyOfSayAA0D10ExpressionVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV5anyOfSayAA0D10ExpressionVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10756,19 +10055,41 @@ }, { "kind": "Var", - "name": "path", - "printedName": "path", + "name": "properties", + "printedName": "properties", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvp", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10propertiesSDySSACGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10propertiesSDySSACGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10783,14 +10104,36 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4pathSSvg", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10propertiesSDySSACGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10propertiesSDySSACGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10801,65 +10144,379 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "constraintPropertyRequired", + "printedName": "constraintPropertyRequired", "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" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE8RequiredSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE8RequiredSaySSGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE8RequiredSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE8RequiredSaySSGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:path:)", + "kind": "Var", + "name": "const", + "printedName": "const", "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" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.JSONAny?", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV5constAA7JSONAnyCSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV5constAA7JSONAnyCSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.JSONAny?", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV5constAA7JSONAnyCSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV5constAA7JSONAnyCSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "constraintPropertyEnum", + "printedName": "constraintPropertyEnum", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE4EnumSayAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE4EnumSayAA7JSONAnyCGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE4EnumSayAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV010constraintE4EnumSayAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + }, + { + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(anyOf:properties:constraintPropertyRequired:const:constraintPropertyEnum:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + } + ], + "usr": "s:SD" + } + ], + "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.JSONAny?", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV5anyOf10properties010constraintE8Required5const0iE4EnumACSayAA0D10ExpressionVGSg_SDySSACGSgSaySSGSgAA7JSONAnyCSgSayARGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV5anyOf10properties010constraintE8Required5const0iE4EnumACSayAA0D10ExpressionVGSg_SDySSACGSgSaySSGSgAA7JSONAnyCSgSayARGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -10870,9 +10527,9 @@ "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" }, { "kind": "TypeNominal", @@ -10882,8 +10539,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -10896,9 +10553,9 @@ "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" }, { "kind": "TypeNominal", @@ -10908,8 +10565,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -10922,9 +10579,9 @@ "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" }, { "kind": "TypeNominal", @@ -10934,8 +10591,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -10959,8 +10616,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -10979,8 +10636,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -11014,8 +10671,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -11024,24 +10681,40 @@ { "kind": "Function", "name": "with", - "printedName": "with(amount:path:)", + "printedName": "with(anyOf:properties:constraintPropertyRequired:const:constraintPropertyEnum:)", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ConstraintExpression]", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -11050,232 +10723,375 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.ConstraintProperty]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "ConstraintProperty", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "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", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]??", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO6acrossyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "each", - "printedName": "each", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.DiscountMethod.Type) -> EmbeddedCheckoutProtocol.DiscountMethod", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.JSONAny??", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.JSONAny?", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO4eachyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueACSgSS_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV4with5anyOf10properties010constraintE8Required5const0jE4EnumACSayAA0D10ExpressionVGSgSg_SDySSACGSgSgSaySSGSgSgAA7JSONAnyCSgSgSayAVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV4with5anyOf10properties010constraintE8Required5const0jE4EnumACSayAA0D10ExpressionVGSgSg_SDySSACGSgSgSaySSGSgSgAA7JSONAnyCSgSgSayAVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "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": "Var", + "name": "anyOf", + "printedName": "anyOf", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO5anyOfyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO5anyOfyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Var", + "name": "properties", + "printedName": "properties", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO10propertiesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO10propertiesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "constraintPropertyRequired", + "printedName": "constraintPropertyRequired", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO010constraintE8RequiredyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO010constraintE8RequiredyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "const", + "printedName": "const", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO5constyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO5constyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "constraintPropertyEnum", + "printedName": "constraintPropertyEnum", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO010constraintE4EnumyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO010constraintE4EnumyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -11283,47 +11099,51 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14DiscountMethodO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8rawValueAESgSS_tcfc", "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": [ + "init_kind": "Designated" + }, { - "kind": "TypeWitness", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.ConstraintProperty.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -11333,12 +11153,250 @@ "printedName": "Swift.String", "usr": "s:SS" } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8intValueSiSgvg", + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO8rawValueSSvg", + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } ] } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV10CodingKeysO", + "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:24EmbeddedCheckoutProtocol18ConstraintPropertyV", + "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ { "kind": "Conformance", "name": "Decodable", @@ -11385,32 +11443,154 @@ }, { "kind": "TypeDecl", - "name": "EmbeddedCheckoutProtocol", - "printedName": "EmbeddedCheckoutProtocol", + "name": "ContentType", + "printedName": "ContentType", "children": [ { "kind": "Var", - "name": "specVersion", - "printedName": "specVersion", + "name": "markdown", + "printedName": "markdown", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", + "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", - "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "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: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", @@ -11425,38 +11605,135 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "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": "parseErrorCode", - "printedName": "parseErrorCode", + "name": "addressCountry", + "printedName": "addressCountry", "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:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -11469,42 +11746,56 @@ "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:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, - "isInternal": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "parseErrorMessage", - "printedName": "parseErrorMessage", + "name": "addressRegion", + "printedName": "addressRegion", "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:24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvpZ", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -11517,42 +11808,56 @@ "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:24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, - "isInternal": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "invalidParamsCode", - "printedName": "invalidParamsCode", + "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:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -11565,42 +11870,56 @@ "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:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, - "isInternal": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "invalidParamsMessage", - "printedName": "invalidParamsMessage", + "name": "currency", + "printedName": "currency", "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:24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -11613,369 +11932,267 @@ "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", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "implicit": true, - "isInternal": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { - "kind": "Function", - "name": "url", - "printedName": "url(for:options:)", + "kind": "Var", + "name": "eligibility", + "printedName": "eligibility", "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", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(Swift.String, any Swift.Error, Foundation.Data)", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true - }, - { - "kind": "TypeDecl", - "name": "AddressChangeCheckout", - "printedName": "AddressChangeCheckout", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvp", - "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.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "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": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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(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" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", + "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": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - }, - { - "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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "language", + "printedName": "language", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(fulfillment:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "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", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "location", + "printedName": "location", + "children": [ { - "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:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8locationSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8locationSSSgvp", + "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", @@ -11990,437 +12207,322 @@ } ], "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", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8locationSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8locationSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "payment", + "printedName": "payment", + "children": [ { - "kind": "Function", - "name": "with", - "printedName": "with(fulfillment:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" - }, + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]", + "children": [ + { + "kind": "TypeNominal", + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV7paymentSayAA23PreferredPaymentHandlerVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV7paymentSayAA23PreferredPaymentHandlerVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV7paymentSayAA23PreferredPaymentHandlerVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV7paymentSayAA23PreferredPaymentHandlerVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": 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" + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "TypeDecl", - "name": "AddressChangeResult", - "printedName": "AddressChangeResult", + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "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" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", - "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" + "usr": "s:SD" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "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" - } - ] + "accessorKind": "get" }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", "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?", - "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" - } - ] + "accessorKind": "set" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "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:postalCode:currency:eligibility:intent:language:location:payment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, + { + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "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(checkout:ucp:continueURL:messages:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -12429,164 +12531,253 @@ "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:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]", + "children": [ + { + "kind": "TypeNominal", + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region10postalCode8currency11eligibility6intent8language8location7paymentACSSSg_A3MSaySSGSgA3MSayAA23PreferredPaymentHandlerVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region10postalCode8currency11eligibility6intent8language8location7paymentACSSSg_A3MSaySSGSgA3MSayAA23PreferredPaymentHandlerVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "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(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": "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": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "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:postalCode:currency:eligibility:intent:language:location:payment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -12601,81 +12792,94 @@ } ], "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" + "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": "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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout??", + "printedName": "Swift.String?", "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "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": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -12684,647 +12888,606 @@ "usr": "s:SS" } ], - "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": "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "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.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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PreferredPaymentHandler]", "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" - } - ] + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region10postalCode8currency11eligibility6intent8language8location7paymentACSSSgSg_A3OSaySSGSgSgA3OSayAA23PreferredPaymentHandlerVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region10postalCode8currency11eligibility6intent8language8location7paymentACSSSgSg_A3OSaySSGSgSgA3OSayAA23PreferredPaymentHandlerVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", + "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.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.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.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" - } - ] + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.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.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" - } - ] + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.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.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "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" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "currency", + "printedName": "currency", + "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.AddressChangeResult.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.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "eligibility", + "printedName": "eligibility", + "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.AddressChangeResult.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.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "intent", + "printedName": "intent", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "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": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + ] + } + ], + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "location", + "printedName": "location", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8locationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8locationyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "payment", + "printedName": "payment", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "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": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO7paymentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO7paymentyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "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": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" + "usr": "s:Sq" }, { - "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": "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": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "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" + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_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:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Auth", - "printedName": "Auth", - "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:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -13334,156 +13497,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:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "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": "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(data:)", - "children": [ - { - "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": "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", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": 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" - }, - { - "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": "Constructor", - "name": "init", - "printedName": "init(type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" - }, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -13492,69 +13548,40 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "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:24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", "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:24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -13563,93 +13590,86 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] + } + ], + "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": "Function", - "name": "with", - "printedName": "with(type:)", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeWitness", + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "conformances": [ + "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": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", @@ -13673,16 +13693,96 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeDecl", - "name": "AuthRequest", - "printedName": "AuthRequest", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Description", + "printedName": "Description", + "children": [ + { + "kind": "Var", + "name": "html", + "printedName": "html", "children": [ { - "kind": "Var", - "name": "type", - "printedName": "type", + "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:24EmbeddedCheckoutProtocol11DescriptionV4htmlSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV4htmlSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -13699,170 +13799,53 @@ "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV4htmlSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV4htmlSSSgvg", "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?", - "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" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "markdown", + "printedName": "markdown", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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(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(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(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" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV8markdownSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV8markdownSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(type:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -13878,61 +13861,52 @@ "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", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV8markdownSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV8markdownSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "plain", + "printedName": "plain", + "children": [ { - "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:24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV5plainSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV5plainSSSgvp", + "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", @@ -13947,420 +13921,287 @@ } ], "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", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV5plainSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV5plainSSSgvg", "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" - } + "implicit": true, + "declAttributes": [ + "Transparent" ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "accessorKind": "get" } - ], - "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": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" }, { - "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:24EmbeddedCheckoutProtocol11DescriptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "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": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" }, { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeDecl", - "name": "AuthResult", - "printedName": "AuthResult", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { - "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: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": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" }, { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(html:markdown:plain:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + }, + { + "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" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:Sq" }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "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": "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" - } - ] + "usr": "s:Sq" }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV4html8markdown5plainACSSSg_A2Gtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV4html8markdown5plainACSSSg_A2Gtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "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:24EmbeddedCheckoutProtocol11DescriptionV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocol11DescriptionV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV8jsonData10Foundation0F0VyKF", + "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": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(credential:ucp:continueURL:messages:)", + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(html:markdown:plain:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -14374,13 +14215,16 @@ } ], "usr": "s:Sq" - }, - { - "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", @@ -14394,102 +14238,3881 @@ } ], "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]", - "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "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": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" - }, - { - "kind": "TypeNominal", - "name": "URL", + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV4with4html8markdown5plainACSSSgSg_A2ItF", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV4with4html8markdown5plainACSSSgSg_A2ItF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV", + "mangledName": "$s24EmbeddedCheckoutProtocol11DescriptionV", + "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": "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": "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(_: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(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": "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: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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "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": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ] + } + ] + } + ], + "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": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ] + } + ] + } + ], + "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": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ], + "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", + "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": "EmbeddedCheckoutProtocol", + "printedName": "EmbeddedCheckoutProtocol", + "children": [ + { + "kind": "Var", + "name": "parseErrorCode", + "printedName": "parseErrorCode", + "children": [ + { + "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": "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": "Var", + "name": "parseErrorMessage", + "printedName": "parseErrorMessage", + "children": [ + { + "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": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "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": [ + { + "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": "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" + } + ] + }, + { + "kind": "Var", + "name": "invalidParamsMessage", + "printedName": "invalidParamsMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isInternal": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "isInternal": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "specVersion", + "printedName": "specVersion", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isFromExtension": true, + "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" + ], + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "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": "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(_: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(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(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(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": "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": "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" + }, + { + "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" + } + ], + "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": "AddressChangeResult", + "printedName": "AddressChangeResult", + "children": [ + { + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "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": "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" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(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": "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": "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:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "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": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_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.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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "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": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Auth", + "printedName": "Auth", + "children": [ + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "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": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "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" + } + ] + }, + { + "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": "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(data:)", + "children": [ + { + "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": "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(fromURL:)", + "children": [ + { + "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": "Constructor", + "name": "init", + "printedName": "init(type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "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": "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:24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(type:)", + "children": [ + { + "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.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "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": "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(_: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(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(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(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": "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": "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" + }, + { + "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": "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: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": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeNominal", + "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": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "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: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": "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:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(credential:ucp:continueURL:messages:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "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": "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:24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "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": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", "printedName": "Foundation.URL", "usr": "s:10Foundation3URLV" } @@ -16162,6 +19785,140 @@ "name": "Checkout", "printedName": "Checkout", "children": [ + { + "kind": "Var", + "name": "actions", + "printedName": "actions", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "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:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7actionsSDySSSaySDySSAA7JSONAnyCGGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7actionsSDySSSaySDySSAA7JSONAnyCGGGSgvp", + "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 : EmbeddedCheckoutProtocol.JSONAny]]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "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:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7actionsSDySSSaySDySSAA7JSONAnyCGGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7actionsSDySSSaySDySSAA7JSONAnyCGGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "attribution", @@ -17042,6 +20799,84 @@ } ] }, + { + "kind": "Var", + "name": "policies", + "printedName": "policies", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8policiesSayAA6PolicyVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8policiesSayAA6PolicyVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8policiesSayAA6PolicyVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8policiesSayAA6PolicyVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "signals", @@ -17437,7 +21272,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", + "printedName": "init(actions:attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:policies:signals:status:totals:ucp:)", "children": [ { "kind": "TypeNominal", @@ -17445,6 +21280,56 @@ "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "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:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -17647,6 +21532,28 @@ ], "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -17703,8 +21610,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7actions11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment8policies7signals6status6totals3ucpADSDySSSaySDySSAA7JSONAnyCGGGSg_SDyS2SGSgAA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSayAA6PolicyVGSgA_SgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7actions11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment8policies7signals6status6totals3ucpADSDySSSaySDySSAA7JSONAnyCGGGSg_SDyS2SGSgAA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSayAA6PolicyVGSgA_SgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -17867,7 +21774,7 @@ { "kind": "Function", "name": "with", - "printedName": "with(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", + "printedName": "with(actions:attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:policies:signals:status:totals:ucp:)", "children": [ { "kind": "TypeNominal", @@ -17875,6 +21782,65 @@ "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "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:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -18203,6 +22169,37 @@ "hasDefaultArg": true, "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -18295,8 +22292,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with7actions11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment8policies7signals6status6totals3ucpADSDySSSaySDySSAA7JSONAnyCGGGSgSg_SDyS2SGSgSgAA5BuyerVSgSgAA7ContextVSgSgSSSgSgA16_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA16_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSayAA6PolicyVGSgSgA0_SgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with7actions11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment8policies7signals6status6totals3ucpADSDySSSaySDySSAA7JSONAnyCGGGSgSg_SDyS2SGSgSgAA5BuyerVSgSgAA7ContextVSgSgSSSgSgA16_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA16_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSayAA6PolicyVGSgSgA0_SgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -18306,6 +22303,43 @@ "name": "CodingKeys", "printedName": "CodingKeys", "children": [ + { + "kind": "Var", + "name": "actions", + "printedName": "actions", + "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:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7actionsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7actionsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", "name": "attribution", @@ -18524,14 +22558,51 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", + "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": "expiresAt", - "printedName": "expiresAt", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeFunc", @@ -18561,14 +22632,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", @@ -18598,14 +22669,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeFunc", @@ -18635,14 +22706,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "links", + "printedName": "links", "children": [ { "kind": "TypeFunc", @@ -18672,14 +22743,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "links", - "printedName": "links", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeFunc", @@ -18709,14 +22780,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "order", + "printedName": "order", "children": [ { "kind": "TypeFunc", @@ -18746,14 +22817,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "order", - "printedName": "order", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeFunc", @@ -18783,14 +22854,14 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "policies", + "printedName": "policies", "children": [ { "kind": "TypeFunc", @@ -18820,8 +22891,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8policiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8policiesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -26135,6 +30206,112 @@ } ] }, + { + "kind": "Var", + "name": "mapOrder", + "printedName": "mapOrder", + "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8mapOrderSDySSSaySSGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8mapOrderSDySSSaySSGGSgvp", + "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8mapOrderSDySSSaySSGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8mapOrderSDySSSaySSGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "paymentHandlers", @@ -26475,7 +30652,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", @@ -26519,6 +30696,42 @@ ], "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -26605,8 +30818,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSaySSGGSgSDySSSayAA014PaymentHandlereP0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSaySSGGSgSDySSSayAA014PaymentHandlereP0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -26771,7 +30984,7 @@ { "kind": "Function", "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", @@ -26824,6 +31037,51 @@ "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -26946,8 +31204,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSaySSGGSgSgSDySSSayAA014PaymentHandlereQ0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSaySSGGSgSgSDySSSayAA014PaymentHandlereQ0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -26994,6 +31252,43 @@ "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, + { + "kind": "Var", + "name": "mapOrder", + "printedName": "mapOrder", + "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:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8mapOrderyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8mapOrderyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", "name": "paymentHandlers", @@ -29528,17 +33823,500 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "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": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "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: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: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", + "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": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", + "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: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": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -29560,8 +34338,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -29580,8 +34358,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -29615,8 +34393,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -29625,29 +34403,60 @@ { "kind": "Function", "name": "with", - "printedName": "with(payment:)", + "printedName": "with(instruments:selectedInstrumentID:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment??", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "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" @@ -29658,16 +34467,446 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "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": "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" + } + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -29717,40 +34956,32 @@ }, { "kind": "TypeDecl", - "name": "InstrumentsChangePayment", - "printedName": "InstrumentsChangePayment", + "name": "InstrumentsChangeResult", + "printedName": "InstrumentsChangeResult", "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -29766,29 +34997,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -29800,8 +35023,54 @@ }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "ucp", + "printedName": "ucp", + "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" + } + ] + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", @@ -29819,8 +35088,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -29849,8 +35118,86 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", + "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: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": [ @@ -29867,9 +35214,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" }, { "kind": "TypeNominal", @@ -29886,13 +35233,87 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "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", @@ -29900,9 +35321,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" }, { "kind": "TypeNominal", @@ -29912,8 +35333,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -29926,9 +35347,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" }, { "kind": "TypeNominal", @@ -29938,8 +35359,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -29952,9 +35373,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" }, { "kind": "TypeNominal", @@ -29964,67 +35385,13 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_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": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, { "kind": "Function", "name": "encode", @@ -30043,8 +35410,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -30063,8 +35430,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -30098,8 +35465,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -30108,37 +35475,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", + "printedName": "with(checkout:ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" } ], "usr": "s:Sq" @@ -30147,6 +35506,21 @@ "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", @@ -30163,52 +35537,157 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ], + "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": "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" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" } ] } @@ -30216,36 +35695,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11continueURLyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" } ] } @@ -30253,8 +35732,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8messagesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -30265,13 +35744,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -30284,8 +35763,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -30298,13 +35777,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -30317,8 +35796,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30334,13 +35813,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -30353,8 +35832,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -30372,8 +35851,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -30398,8 +35877,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -30424,8 +35903,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -30445,8 +35924,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -30463,8 +35942,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30487,8 +35966,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -30505,8 +35984,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -30515,8 +35994,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -30610,8 +36089,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -30656,37 +36135,66 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "InstrumentsChangeResult", - "printedName": "InstrumentsChangeResult", + "name": "InstrumentsChangeResultUcp", + "printedName": "InstrumentsChangeResultUcp", "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -30702,21 +36210,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30728,19 +36258,49 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "mapOrder", + "printedName": "mapOrder", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8mapOrderSDySSSaySSGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8mapOrderSDySSSaySSGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -30755,14 +36315,44 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8mapOrderSDySSSaySSGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8mapOrderSDySSSaySSGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30774,27 +36364,49 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "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" + "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -30810,21 +36422,149 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30836,35 +36576,65 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -30879,30 +36649,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -30919,9 +36673,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", @@ -30938,8 +36692,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -30948,44 +36702,118 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", + "printedName": "init(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "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": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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:Sq" @@ -30993,29 +36821,55 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", "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.EmbeddedCheckoutProtocol.EmbeddedService]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB0deF3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB0deF3UcpVSSSgSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSaySSGGSgSDySSSayAB014PaymentHandlerQ0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSaySSGGSgSDySSSayAB014PaymentHandlerQ0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -31026,9 +36880,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", @@ -31038,8 +36892,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -31052,9 +36906,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", @@ -31064,8 +36918,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -31078,9 +36932,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", @@ -31090,8 +36944,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -31115,8 +36969,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -31135,8 +36989,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -31170,39 +37024,88 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "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" + }, { "kind": "Function", "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", + "printedName": "with(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout??", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + "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" @@ -31214,13 +37117,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "[Swift.String : [Swift.String]]??", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -31229,18 +37162,40 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", "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" + "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" @@ -31252,26 +37207,40 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", "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.EmbeddedCheckoutProtocol.EmbeddedService]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" @@ -31279,11 +37248,41 @@ ], "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:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSaySSGGSgSgSDySSSayAB014PaymentHandlerR0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSaySSGGSgSgSDySSSayAB014PaymentHandlerR0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -31295,30 +37294,104 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "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": "mapOrder", + "printedName": "mapOrder", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8mapOrderyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8mapOrderyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ] } @@ -31326,36 +37399,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8checkoutyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8checkoutyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ] } @@ -31363,36 +37436,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO3ucpyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO3ucpyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ] } @@ -31400,36 +37473,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11continueURLyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11continueURLyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ] } @@ -31437,8 +37510,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8messagesyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -31449,13 +37522,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ], "usr": "s:Sq" @@ -31468,8 +37541,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -31482,13 +37555,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ], "usr": "s:Sq" @@ -31501,8 +37574,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -31518,13 +37591,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" } ], "usr": "s:Sq" @@ -31537,8 +37610,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -31556,8 +37629,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -31582,8 +37655,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -31608,8 +37681,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -31629,8 +37702,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -31647,8 +37720,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -31671,8 +37744,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -31689,8 +37762,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -31699,8 +37772,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -31794,8 +37867,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -31840,177 +37913,440 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + } + ] + }, + { + "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:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "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: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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + "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": "InstrumentsChangeResultUcp", - "printedName": "InstrumentsChangeResultUcp", + "name": "JSONRPCErrorParams", + "printedName": "JSONRPCErrorParams", "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "error", + "printedName": "error", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "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": "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "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": "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": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Options", + "printedName": "Options", + "children": [ + { + "kind": "Var", + "name": "delegations", + "printedName": "delegations", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "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": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, { "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "colorScheme", + "printedName": "colorScheme", "children": [ { "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -32021,102 +38357,93 @@ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", "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]]?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Var", + "name": "auth", + "printedName": "auth", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -32127,67 +38454,192 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "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" } ] }, + { + "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": "[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", + "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "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": "TypeDecl", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "PaymentHandlerAvailableInstrument", + "children": [ { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "constraints", + "printedName": "constraints", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -32202,14 +38654,22 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -32221,8 +38681,8 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -32232,8 +38692,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -32254,8 +38714,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -32272,9 +38732,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -32291,138 +38751,38 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, - { - "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": "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.EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", "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" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" } ], "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, { "kind": "TypeNominal", "name": "String", @@ -32431,8 +38791,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeAdA20ConstraintExpressionVSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeAdA20ConstraintExpressionVSg_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -32443,9 +38803,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -32455,8 +38815,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -32469,9 +38829,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -32481,8 +38841,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -32495,9 +38855,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -32507,8 +38867,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -32532,8 +38892,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -32552,8 +38912,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -32587,88 +38947,39 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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" - }, { "kind": "Function", "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(constraints:type:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]??", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", "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": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" } ], "usr": "s:Sq" @@ -32680,62 +38991,140 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeAdA20ConstraintExpressionVSgSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeAdA20ConstraintExpressionVSgSg_SSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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": "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": "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" + }, + { + "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -32745,17 +39134,9 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" - } - ], - "usr": "s:Sa" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -32764,24 +39145,69 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "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": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "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": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "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", @@ -32794,259 +39220,334 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": 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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "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": "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" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "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" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "availableInstruments", + "printedName": "availableInstruments", + "children": [ { - "kind": "Var", - "name": "services", - "printedName": "services", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", "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" - } - ] + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "status", - "printedName": "status", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" }, { - "kind": "Var", - "name": "version", - "printedName": "version", + "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(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": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "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.InstrumentsChangeResultUcp.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -33054,53 +39555,175 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "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(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(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": "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": "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", @@ -33109,71 +39732,76 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "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": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:availableInstruments:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeNominal", + "name": "Optional", + "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", - "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", @@ -33182,58 +39810,18 @@ "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" - } - ] + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "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:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -33242,46 +39830,21 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" } - ] - } - ], - "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" + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -33289,526 +39852,400 @@ "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" + "hasDefaultArg": true, + "usr": "s:Sq" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - } - ], - "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": "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:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" } ], - "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", "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" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "JSONRPCErrorParams", - "printedName": "JSONRPCErrorParams", - "children": [ - { - "kind": "Var", - "name": "error", - "printedName": "error", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(error:)", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO2idyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO2idyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + "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": "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": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "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": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + "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": "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": "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": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Options", - "printedName": "Options", - "children": [ - { - "kind": "Var", - "name": "delegations", - "printedName": "delegations", - "children": [ + "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": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "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" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_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": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" + "init_kind": "Designated" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -33817,63 +40254,89 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ], + "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": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -33882,30 +40345,22 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Var", - "name": "auth", - "printedName": "auth", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -33914,28 +40369,16 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -33944,33 +40387,46 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "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": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -33978,91 +40434,84 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvs", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(delegations:colorScheme:auth:)", - "children": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { - "kind": "TypeNominal", - "name": "Options", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Options", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV" + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sa" + "kind": "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" - } - ], - "hasDefaultArg": true, - "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" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "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:24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV", + "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", @@ -34095,46 +40544,32 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "PaymentHandlerAvailableInstrument", + "name": "ReadyCheckout", + "printedName": "ReadyCheckout", "children": [ { "kind": "Var", - "name": "constraints", - "printedName": "constraints", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "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": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -34150,35 +40585,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "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": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34190,19 +40611,27 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -34217,14 +40646,22 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34241,9 +40678,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", @@ -34260,8 +40697,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -34270,131 +40707,125 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(constraints:type:)", + "printedName": "init(data:)", "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": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(fulfillment:payment:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "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" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { @@ -34415,8 +40846,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -34435,8 +40866,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -34470,8 +40901,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -34480,43 +40911,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(constraints:type:)", + "printedName": "with(fulfillment:payment:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "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": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], "usr": "s:Sq" @@ -34528,13 +40945,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -34542,16 +40967,16 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -34601,46 +41026,40 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerElement", - "printedName": "PaymentHandlerElement", + "name": "ReadyPayment", + "printedName": "ReadyPayment", "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:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -34656,143 +41075,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: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:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34804,8 +41109,8 @@ }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ { "kind": "TypeNominal", @@ -34823,8 +41128,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -34853,132 +41158,8 @@ } ], "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", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -34994,139 +41175,31 @@ "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(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" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -35136,9 +41209,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" }, { "kind": "TypeNominal", @@ -35148,8 +41221,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -35162,9 +41235,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" }, { "kind": "TypeNominal", @@ -35174,8 +41247,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -35188,9 +41261,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" }, { "kind": "TypeNominal", @@ -35200,13 +41273,67 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(instruments:selectedInstrumentID:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { "kind": "Function", "name": "encode", @@ -35225,8 +41352,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -35245,8 +41372,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -35280,8 +41407,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -35290,81 +41417,37 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:availableInstruments:)", + "printedName": "with(instruments:selectedInstrumentID:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" }, { "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": "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" @@ -35395,57 +41478,11 @@ ], "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", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -35457,178 +41494,30 @@ "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", + "name": "instruments", + "printedName": "instruments", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" } ] } @@ -35636,36 +41525,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO7versionyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO7versionyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" } ] } @@ -35673,8 +41562,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -35685,13 +41574,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" } ], "usr": "s:Sq" @@ -35704,8 +41593,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -35718,13 +41607,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" } ], "usr": "s:Sq" @@ -35737,8 +41626,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -35754,13 +41643,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" } ], "usr": "s:Sq" @@ -35773,8 +41662,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -35792,8 +41681,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -35818,8 +41707,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -35844,8 +41733,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -35865,8 +41754,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -35883,8 +41772,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -35907,8 +41796,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -35925,8 +41814,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -35935,8 +41824,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -36030,8 +41919,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -36081,32 +41970,32 @@ }, { "kind": "TypeDecl", - "name": "ReadyCheckout", - "printedName": "ReadyCheckout", + "name": "ReadyRequest", + "printedName": "ReadyRequest", "children": [ { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "auth", + "printedName": "auth", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -36122,21 +42011,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -36148,27 +42037,27 @@ }, { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "delegate", + "printedName": "delegate", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -36183,22 +42072,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -36215,9 +42104,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", @@ -36234,13 +42123,59 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "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", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { "kind": "Constructor", "name": "init", @@ -36248,9 +42183,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", @@ -36260,8 +42195,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36274,9 +42209,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", @@ -36286,8 +42221,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -36300,9 +42235,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", @@ -36312,59 +42247,13 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, - { - "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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", - "children": [ - { - "kind": "TypeNominal", - "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" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, { "kind": "Function", "name": "encode", @@ -36383,8 +42272,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -36403,8 +42292,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36438,8 +42327,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36448,29 +42337,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(fulfillment:payment:)", + "printedName": "with(auth:delegate:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } ], "usr": "s:Sq" @@ -36482,21 +42371,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment??", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "hasDefaultArg": true, @@ -36504,16 +42393,16 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -36558,45 +42447,106 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, { "kind": "TypeDecl", - "name": "ReadyPayment", - "printedName": "ReadyPayment", + "name": "ReadyResult", + "printedName": "ReadyResult", "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "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": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" } ], - "usr": "s:Sa" + "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -36612,29 +42562,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -36646,27 +42588,205 @@ }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "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": "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -36682,21 +42802,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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -36713,9 +42841,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" }, { "kind": "TypeNominal", @@ -36732,13 +42860,115 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "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": "Constructor", "name": "init", @@ -36746,9 +42976,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" }, { "kind": "TypeNominal", @@ -36758,8 +42988,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36772,9 +43002,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" }, { "kind": "TypeNominal", @@ -36784,8 +43014,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -36798,9 +43028,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" }, { "kind": "TypeNominal", @@ -36810,67 +43040,13 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(instruments:selectedInstrumentID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, { "kind": "Function", "name": "encode", @@ -36889,8 +43065,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -36909,8 +43085,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36944,8 +43120,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -36954,37 +43130,90 @@ { "kind": "Function", "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", + "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "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" @@ -37015,11 +43244,42 @@ ], "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:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -37031,30 +43291,178 @@ "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "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.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" } ] } @@ -37062,36 +43470,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" } ] } @@ -37099,8 +43507,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -37111,13 +43519,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -37130,8 +43538,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -37144,13 +43552,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -37163,8 +43571,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -37180,13 +43588,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -37199,8 +43607,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -37218,8 +43626,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -37244,8 +43652,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -37270,8 +43678,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -37291,8 +43699,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -37309,8 +43717,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -37333,8 +43741,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -37351,8 +43759,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -37361,8 +43769,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -37456,8 +43864,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -37502,37 +43910,44 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "ReadyRequest", - "printedName": "ReadyRequest", + "name": "ServiceResponseSchema", + "printedName": "ServiceResponseSchema", "children": [ { "kind": "Var", - "name": "auth", - "printedName": "auth", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -37548,21 +43963,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -37574,13 +43989,13 @@ }, { "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -37589,12 +44004,12 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -37609,8 +44024,8 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -37619,12 +44034,290 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", + "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: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": "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", + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -37641,9 +44334,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", @@ -37653,49 +44346,97 @@ }, { "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" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(auth:delegate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "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(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": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -37704,12 +44445,18 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -37720,9 +44467,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", @@ -37732,8 +44479,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -37746,9 +44493,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", @@ -37758,8 +44505,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -37772,9 +44519,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", @@ -37784,8 +44531,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -37809,8 +44556,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -37829,8 +44576,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -37864,8 +44611,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -37874,29 +44621,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(auth:delegate:)", + "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth??", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" } ], "usr": "s:Sq" @@ -37908,12 +44655,12 @@ { "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", @@ -37922,7 +44669,106 @@ "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, + "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, @@ -37930,16 +44776,16 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -37984,44 +44830,59 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, { "kind": "TypeDecl", - "name": "ReadyResult", - "printedName": "ReadyResult", + "name": "UCPCheckoutResponseSchema", + "printedName": "UCPCheckoutResponseSchema", "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -38037,21 +44898,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -38063,27 +44946,49 @@ }, { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "mapOrder", + "printedName": "mapOrder", "children": [ { "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8mapOrderSDySSSaySSGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8mapOrderSDySSSaySSGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -38099,21 +45004,43 @@ { "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8mapOrderSDySSSaySSGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8mapOrderSDySSSaySSGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -38125,19 +45052,41 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -38152,14 +45101,36 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -38171,27 +45142,49 @@ }, { "kind": "Var", - "name": "upgrade", - "printedName": "upgrade", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -38207,21 +45200,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -38233,27 +45248,27 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -38269,21 +45284,21 @@ { "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:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -38295,35 +45310,19 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -38338,30 +45337,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -38378,9 +45361,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", @@ -38397,8 +45380,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38407,24 +45390,46 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:credential:ucp:upgrade:continueURL:messages:)", + "printedName": "init(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "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" @@ -38432,47 +45437,99 @@ { "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + "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" }, { "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" @@ -38480,29 +45537,27 @@ { "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" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSaySSGGSgSDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSaySSGGSgSDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -38513,9 +45568,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", @@ -38525,8 +45580,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38539,9 +45594,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", @@ -38551,8 +45606,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -38565,9 +45620,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", @@ -38577,8 +45632,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7fromURLAD10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7fromURLAD10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38602,8 +45657,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -38622,8 +45677,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38657,8 +45712,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -38667,29 +45722,51 @@ { "kind": "Function", "name": "with", - "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", + "printedName": "with(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout??", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + "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" @@ -38701,18 +45778,40 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[Swift.String : [Swift.String]]??", "children": [ { "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" @@ -38724,13 +45823,35 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + "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, @@ -38739,18 +45860,40 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade??", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + "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" @@ -38762,18 +45905,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", "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" @@ -38785,29 +45928,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "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" } ], "hasDefaultArg": true, @@ -38815,8 +45942,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSaySSGGSgSgSDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities8mapOrder15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSaySSGGSgSgSDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -38828,30 +45955,30 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ] } @@ -38859,36 +45986,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8checkoutyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8checkoutyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "mapOrder", + "printedName": "mapOrder", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ] } @@ -38896,36 +46023,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO10credentialyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO10credentialyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8mapOrderyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8mapOrderyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ] } @@ -38933,36 +46060,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO3ucpyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO3ucpyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "upgrade", - "printedName": "upgrade", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ] } @@ -38970,36 +46097,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO7upgradeyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO7upgradeyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ] } @@ -39007,36 +46134,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ] } @@ -39044,8 +46171,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -39056,13 +46183,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -39075,8 +46202,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -39089,13 +46216,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -39108,8 +46235,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -39125,13 +46252,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -39144,8 +46271,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -39163,8 +46290,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -39189,8 +46316,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -39215,8 +46342,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -39236,8 +46363,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -39254,8 +46381,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -39278,8 +46405,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -39296,8 +46423,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -39306,8 +46433,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -39401,8 +46528,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -39447,338 +46574,51 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "ServiceResponseSchema", - "printedName": "ServiceResponseSchema", + "name": "Upgrade", + "printedName": "Upgrade", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", - "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()", - "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" - } - ] - }, - { - "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", - "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "port", + "printedName": "port", "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", - "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?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", "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" - } - ] - }, - { - "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: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" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "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", - "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:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -39794,67 +46634,35 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "transport", - "printedName": "transport", - "children": [ - { - "kind": "TypeNominal", - "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": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -39871,9 +46679,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" }, { "kind": "TypeNominal", @@ -39890,113 +46698,13 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV_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": "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", - "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, { "kind": "Constructor", "name": "init", @@ -40004,9 +46712,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" }, { "kind": "TypeNominal", @@ -40016,8 +46724,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -40030,9 +46738,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" }, { "kind": "TypeNominal", @@ -40042,8 +46750,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -40056,9 +46764,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" }, { "kind": "TypeNominal", @@ -40068,13 +46776,59 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "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 : 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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { "kind": "Function", "name": "encode", @@ -40093,8 +46847,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -40113,8 +46867,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -40148,8 +46902,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -40158,136 +46912,43 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", + "printedName": "with(port:)", "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.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" + "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": "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" @@ -40295,34 +46956,19 @@ ], "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:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "conformances": [ @@ -40372,152 +47018,24 @@ }, { "kind": "TypeDecl", - "name": "UCPCheckoutResponseSchema", - "printedName": "UCPCheckoutResponseSchema", + "name": "WindowOpenRequest", + "printedName": "WindowOpenRequest", "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "url", + "printedName": "url", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -40532,36 +47050,14 @@ "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -40572,140 +47068,279 @@ ] }, { - "kind": "Var", - "name": "services", - "printedName": "services", + "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" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": 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(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(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": "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" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[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" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(url:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "parsedURL", + "printedName": "parsedURL", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Foundation.URL?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "isFromExtension": true, "accessors": [ { "kind": "Accessor", @@ -40715,45 +47350,105 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Foundation.URL?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], + "isFromExtension": true, "accessorKind": "get" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "WindowOpenResult", + "printedName": "WindowOpenResult", + "children": [ { "kind": "Var", - "name": "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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -40768,14 +47463,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:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -40786,174 +47481,176 @@ ] }, { - "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "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" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" } ], - "usr": "s:SD" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -40963,9 +47660,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" }, { "kind": "TypeNominal", @@ -40975,8 +47672,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -40989,9 +47686,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" }, { "kind": "TypeNominal", @@ -41001,8 +47698,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -41015,9 +47712,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" }, { "kind": "TypeNominal", @@ -41027,13 +47724,73 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(ucp:continueURL:messages:)", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { "kind": "Function", "name": "encode", @@ -41052,8 +47809,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -41072,8 +47829,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -41107,8 +47864,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -41116,55 +47873,25 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "name": "rejected", + "printedName": "rejected(reason:version:)", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "printedName": "Swift.String?", "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" } ], "hasDefaultArg": true, @@ -41172,104 +47899,68 @@ }, { "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" - } - ], + "name": "String", + "printedName": "Swift.String", "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "success", + "printedName": "success(version:)", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" }, { "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" - } - ], + "name": "String", + "printedName": "Swift.String", "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "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": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "hasDefaultArg": true, @@ -41278,131 +47969,96 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "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.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "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.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" } ] } @@ -41410,36 +48066,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO3ucpyA2FmF", "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.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" } ] } @@ -41447,36 +48103,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", "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.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" } ] } @@ -41484,8 +48140,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8messagesyA2FmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -41496,13 +48152,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -41515,8 +48171,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -41529,13 +48185,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -41548,8 +48204,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -41565,13 +48221,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" } ], "usr": "s:Sq" @@ -41584,8 +48240,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -41603,8 +48259,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -41629,8 +48285,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -41655,8 +48311,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -41676,8 +48332,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -41694,8 +48350,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -41718,8 +48374,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -41736,8 +48392,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -41746,8 +48402,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -41840,504 +48496,1122 @@ ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", + "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": "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": "String", + "printedName": "Swift.String", + "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": [ + { + "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s: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", - "isFromExtension": true, - "conformances": [ + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, + "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": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "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": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "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": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { - "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" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "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: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": "TypeDecl", - "name": "Upgrade", - "printedName": "Upgrade", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "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": "port", - "printedName": "port", + "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 : 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:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", "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:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "destination", + "printedName": "destination", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "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": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, + "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": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "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:24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "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": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(port:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "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": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "methodType", + "printedName": "methodType", + "children": [ { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeSSvp", + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(description:destination:fulfillableOn:id:lineItems:methodType:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "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:24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "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:24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "kind": "Function", - "name": "with", - "printedName": "with(port:)", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "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" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "conformances": [ + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { - "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:24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, + "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": "encode", + "printedName": "encode(to:)", + "children": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } - ] + ], + "declKind": "Func", + "usr": "s: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": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "WindowOpenRequest", - "printedName": "WindowOpenRequest", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { - "kind": "Var", - "name": "url", - "printedName": "url", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -42346,20 +49620,44 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", - "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:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -42368,292 +49666,483 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAKtF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAKtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Var", + "name": "destination", + "printedName": "destination", "children": [ { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(url:)", + "kind": "Var", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, + "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": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "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": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "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": "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(url:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" - }, { "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -42663,111 +50152,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:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", "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": "WindowOpenResult", - "printedName": "WindowOpenResult", - "children": [ { "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -42776,18 +50198,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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } @@ -42795,33 +50217,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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -42830,720 +50240,607 @@ "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], "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": "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", - "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:SY", + "mangledName": "$sSY" }, { - "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "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": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", + "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": "ExpectationLineItem", + "printedName": "ExpectationLineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(ucp:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "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": "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": "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": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "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": "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "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": "Function", - "name": "rejected", - "printedName": "rejected(reason:version:)", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, - { - "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:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "usr": "s:Sq" }, { - "kind": "Function", - "name": "success", - "printedName": "success(version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, + "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" + }, + { + "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", - "hasDefaultArg": true, "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Function", - "name": "with", - "printedName": "with(ucp:continueURL:messages:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, + "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": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.Extends", "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(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": "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:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.Extends", "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" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" }, { "kind": "TypeNominal", @@ -43551,151 +50848,54 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_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", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", "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" + "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": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -43704,175 +50904,115 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sa" } ] - } - ], - "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", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "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": "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" - }, + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, + "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": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + "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:24EmbeddedCheckoutProtocolAAO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO", + "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", @@ -43891,24 +51031,40 @@ }, { "kind": "TypeDecl", - "name": "EventLineItem", - "printedName": "EventLineItem", + "name": "Fulfillment", + "printedName": "Fulfillment", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "events", + "printedName": "events", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -43923,14 +51079,30 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -43942,19 +51114,35 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "expectations", + "printedName": "expectations", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -43969,14 +51157,30 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -43993,9 +51197,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -44012,8 +51216,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44026,9 +51230,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -44038,8 +51242,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44048,83 +51252,115 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(events:expectations:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "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:24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:quantity:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -44145,8 +51381,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -44165,8 +51401,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44200,8 +51436,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44210,24 +51446,40 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:quantity:)", + "printedName": "with(events:expectations:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "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": "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, @@ -44236,13 +51488,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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, @@ -44250,16 +51518,16 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -44308,55 +51576,8 @@ }, { "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", + "name": "FulfillmentAvailableMethod", + "printedName": "FulfillmentAvailableMethod", "children": [ { "kind": "Var", @@ -44379,8 +51600,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44409,8 +51630,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44422,19 +51643,27 @@ }, { "kind": "Var", - "name": "destination", - "printedName": "destination", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44449,14 +51678,22 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44468,13 +51705,13 @@ }, { "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -44483,12 +51720,12 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44503,8 +51740,8 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -44513,12 +51750,12 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44530,8 +51767,8 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -44541,8 +51778,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44563,8 +51800,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44576,32 +51813,38 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "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:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -44611,74 +51854,75 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", "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:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "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:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, @@ -44689,9 +51933,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -44708,8 +51952,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44722,9 +51966,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -44734,8 +51978,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44744,13 +51988,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(description:destination:fulfillableOn:id:lineItems:methodType:)", + "printedName": "init(description:fulfillableOn:lineItemIDS:type:)", "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -44766,12 +52010,6 @@ ], "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -44786,36 +52024,30 @@ ], "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" }, { "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -44826,9 +52058,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -44838,10 +52070,9 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -44852,9 +52083,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -44864,8 +52095,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44889,10 +52120,9 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, @@ -44909,8 +52139,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44944,8 +52174,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -44954,13 +52184,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(description:destination:fulfillableOn:id:lineItems:methodType:)", + "printedName": "with(description:fulfillableOn:lineItemIDS:type:)", "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" }, { "kind": "TypeNominal", @@ -44985,21 +52215,6 @@ "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", @@ -45026,169 +52241,80 @@ { "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.String]?", "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" - }, + "printedName": "[Swift.String]", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAItF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -45196,36 +52322,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -45233,36 +52359,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -45270,36 +52396,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "methodType", - "printedName": "methodType", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -45307,8 +52433,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -45319,13 +52445,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -45338,8 +52464,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -45352,13 +52478,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -45371,8 +52497,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45388,13 +52514,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -45407,8 +52533,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -45426,8 +52552,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -45452,8 +52578,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45478,8 +52604,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -45499,8 +52625,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45517,8 +52643,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45541,8 +52667,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45559,8 +52685,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -45569,8 +52695,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -45664,8 +52790,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -45714,24 +52840,342 @@ }, { "kind": "TypeDecl", - "name": "ExpectationLineItem", - "printedName": "ExpectationLineItem", + "name": "FulfillmentDestination", + "printedName": "FulfillmentDestination", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "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": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": "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": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": [ + { + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -45746,14 +53190,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:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45765,19 +53217,19 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "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:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -45792,14 +53244,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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45810,195 +53262,9 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:quantity:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "lastName", + "printedName": "lastName", "children": [ { "kind": "TypeNominal", @@ -46013,34 +53279,55 @@ } ], "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", + "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": "with", - "printedName": "with(id:quantity:)", + "kind": "Var", + "name": "name", + "printedName": "name", "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -46053,331 +53340,198 @@ "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" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", "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": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.Extends", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.Extends", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" - } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "stringArray", - "printedName": "stringArray", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> ([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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": "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": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Extends.Type", + "name": "Optional", + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - }, - { - "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:24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", "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.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" } - ], - "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", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46393,29 +53547,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46427,35 +53573,27 @@ }, { "kind": "Var", - "name": "expectations", - "printedName": "expectations", + "name": "type", + "printedName": "type", "children": [ { "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4typeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4typeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46471,29 +53609,21 @@ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4typeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4typeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46510,9 +53640,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -46529,8 +53659,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -46539,58 +53669,52 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(address:addressCountry:addressLocality:addressRegion:extendedAddress:firstName:id:lastName:name:phoneNumber:postalCode:streetAddress:type:)", "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(events:expectations:)", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "usr": "s:Sq" + }, { "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" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -46598,42 +53722,178 @@ { "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": "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": "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:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7address0F7Country0F8Locality0F6Region15extendedAddress9firstName2id04lastM04name11phoneNumber10postalCode06streetK04typeAcA06PostalK0VSg_SSSgA4TSSA6Ttcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7address0F7Country0F8Locality0F6Region15extendedAddress9firstName2id04lastM04name11phoneNumber10postalCode06streetK04typeAcA06PostalK0VSg_SSSgA4TSSA6Ttcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "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(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -46643,8 +53903,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -46657,9 +53917,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -46669,8 +53929,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -46694,8 +53954,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -46714,8 +53974,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -46749,8 +54009,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -46759,37 +54019,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(events:expectations:)", + "printedName": "with(address:addressCountry:addressLocality:addressRegion:extendedAddress:firstName:id:lastName:name:phoneNumber:postalCode:streetAddress:type:)", "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]??", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - } - ], - "usr": "s:Sa" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "usr": "s:Sq" @@ -46801,26 +54053,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", + "printedName": "Swift.String??", "children": [ { "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" @@ -46828,104 +54072,11 @@ ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": 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": "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()", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -46942,52 +54093,13 @@ "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": [ + "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:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -47004,323 +54116,53 @@ "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": [ - { - "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: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": "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" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "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(_: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(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(description:fulfillableOn:lineItemIDS:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "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" }, { @@ -47335,299 +54177,519 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "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": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "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": "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": "()" + "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": "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?", + "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" + "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with7address0G7Country0G8Locality0G6Region15extendedAddress9firstName2id04lastN04name11phoneNumber10postalCode06streetL04typeAcA06PostalL0VSgSg_SSSgSgA4wv6WtF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with7address0G7Country0G8Locality0G6Region15extendedAddress9firstName2id04lastN04name11phoneNumber10postalCode06streetL04typeAcA06PostalL0VSgSg_SSSgSgA4wv6WtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "with", - "printedName": "with(description:fulfillableOn:lineItemIDS:type:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "kind": "Var", + "name": "address", + "printedName": "address", + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "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" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "lastName", + "printedName": "lastName", "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Var", + "name": "name", + "printedName": "name", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "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:Sa" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, - { - "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": "description", - "printedName": "description", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -47635,36 +54697,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -47672,36 +54734,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -47709,8 +54771,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -47721,24 +54783,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ] } @@ -47746,8 +54808,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -47758,13 +54820,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "usr": "s:Sq" @@ -47777,8 +54839,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -47791,13 +54853,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "usr": "s:Sq" @@ -47810,8 +54872,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -47827,13 +54889,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "usr": "s:Sq" @@ -47846,8 +54908,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -47865,8 +54927,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -47891,8 +54953,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -47917,8 +54979,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -47938,8 +55000,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -47956,8 +55018,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -47980,8 +55042,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -47998,8 +55060,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -48008,8 +55070,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -48100,66 +55162,344 @@ "mangledName": "$ss9EscapableP" } ] - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + } + ], + "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": "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", + "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" + } + ] }, { - "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": "FulfillmentDestination", - "printedName": "FulfillmentDestination", - "children": [ { "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", + "name": "trackingNumber", + "printedName": "trackingNumber", "children": [ { "kind": "TypeNominal", @@ -48177,8 +55517,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -48207,8 +55547,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -48220,8 +55560,8 @@ }, { "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", + "name": "trackingURL", + "printedName": "trackingURL", "children": [ { "kind": "TypeNominal", @@ -48239,8 +55579,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -48269,8 +55609,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -48282,9 +55622,162 @@ }, { "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", + "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": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -48298,22 +55791,216 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "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" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -48330,23 +56017,9 @@ "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -48359,85 +56032,51 @@ "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "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" } ], + "hasDefaultArg": true, "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()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -48454,52 +56093,13 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -48516,23 +56116,9 @@ "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": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -48545,202 +56131,370 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", "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": "carrier", + "printedName": "carrier", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "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" + } + ] + } + ] + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", + "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.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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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" - } - ], - "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" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "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" - } - ], - "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", @@ -48748,89 +56502,53 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", "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" - } + "Inlinable" ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "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.PostalAddress?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "name", - "printedName": "name", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -48839,155 +56557,71 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "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(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -48996,26 +56630,40 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -49024,209 +56672,238 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "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": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, { - "kind": "TypeNominal", - "name": "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" + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FulfillmentGroup", + "printedName": "FulfillmentGroup", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -49235,44 +56912,28 @@ "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "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" - }, + "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?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -49281,85 +56942,133 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "options", + "printedName": "options", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "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.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selectedOptionID", + "printedName": "selectedOptionID", + "children": [ { "kind": "TypeNominal", "name": "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "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", @@ -49376,99 +57085,294 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "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": "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": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "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": "Optional", - "printedName": "Swift.String?", + "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:Sq" + "usr": "s:SD" } ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "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:Sq" + "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": "Optional", - "printedName": "Swift.String??", + "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", - "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:Sa" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { @@ -49483,390 +57387,236 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", + "printedName": "Swift.String?", "children": [ { "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" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], + "name": "Encoding", + "printedName": "Swift.String.Encoding", "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "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": "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": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "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:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "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": "streetAddress", - "printedName": "streetAddress", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -49874,36 +57624,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -49911,36 +57661,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "address", - "printedName": "address", + "name": "options", + "printedName": "options", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -49948,36 +57698,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "name", - "printedName": "name", + "name": "selectedOptionID", + "printedName": "selectedOptionID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -49985,8 +57735,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -49997,13 +57747,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -50016,8 +57766,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -50030,13 +57780,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -50049,8 +57799,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50066,13 +57816,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -50085,8 +57835,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -50104,8 +57854,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -50130,8 +57880,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -50156,8 +57906,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -50177,8 +57927,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -50195,8 +57945,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50219,8 +57969,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -50237,8 +57987,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -50247,8 +57997,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -50342,8 +58092,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -50392,32 +58142,40 @@ }, { "kind": "TypeDecl", - "name": "FulfillmentEvent", - "printedName": "FulfillmentEvent", + "name": "FulfillmentMethod", + "printedName": "FulfillmentMethod", "children": [ { "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "name": "destinations", + "printedName": "destinations", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50433,21 +58191,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrierSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50459,27 +58225,35 @@ }, { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "groups", + "printedName": "groups", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50495,21 +58269,29 @@ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11descriptionSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50532,8 +58314,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50554,8 +58336,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50567,27 +58349,27 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50603,21 +58385,21 @@ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "printedName": "[Swift.String]", "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:24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV9lineItemsSayAA0E8LineItemVGvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50629,19 +58411,27 @@ }, { "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50656,14 +58446,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10occurredAt10Foundation4DateVvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50675,27 +58473,19 @@ }, { "kind": "Var", - "name": "trackingNumber", - "printedName": "trackingNumber", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50710,22 +58500,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:24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV14trackingNumberSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50737,32 +58519,38 @@ }, { "kind": "Var", - "name": "trackingURL", - "printedName": "trackingURL", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -50772,74 +58560,75 @@ "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:24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV11trackingURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", "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()", + "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:24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, @@ -50850,9 +58639,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", @@ -50869,8 +58658,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50879,24 +58668,58 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "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" @@ -50904,13 +58727,21 @@ { "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" @@ -50924,27 +58755,7 @@ { "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?", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -50953,7 +58764,7 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" }, { "kind": "TypeNominal", @@ -50977,35 +58788,9 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { @@ -51015,9 +58800,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", @@ -51027,10 +58812,9 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -51041,9 +58825,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", @@ -51053,8 +58837,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -51078,10 +58862,9 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, @@ -51098,8 +58881,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -51133,8 +58916,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -51143,29 +58926,37 @@ { "kind": "Function", "name": "with", - "printedName": "with(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", + "printedName": "with(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -51177,18 +58968,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" @@ -51215,50 +59014,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]?", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -51267,7 +59028,7 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "hasDefaultArg": true, @@ -51313,8 +59074,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAUtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAUtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -51326,30 +59087,30 @@ "children": [ { "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "name": "destinations", + "printedName": "destinations", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -51357,36 +59118,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO7carrieryA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "groups", + "printedName": "groups", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -51394,8 +59155,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11descriptionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -51406,98 +59167,24 @@ { "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", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -51505,36 +59192,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO10occurredAtyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "trackingNumber", - "printedName": "trackingNumber", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -51542,36 +59229,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO14trackingNumberyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "trackingURL", - "printedName": "trackingURL", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -51579,8 +59266,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11trackingURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -51591,24 +59278,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -51616,8 +59303,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -51628,13 +59315,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -51647,8 +59334,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -51661,13 +59348,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -51680,8 +59367,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51697,13 +59384,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -51716,8 +59403,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -51735,8 +59422,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -51761,8 +59448,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51787,8 +59474,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51808,8 +59495,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51826,8 +59513,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51850,8 +59537,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51868,8 +59555,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51878,8 +59565,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -51973,8 +59660,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -52023,9 +59710,71 @@ }, { "kind": "TypeDecl", - "name": "FulfillmentGroup", - "printedName": "FulfillmentGroup", + "name": "FulfillmentOption", + "printedName": "FulfillmentOption", "children": [ + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Description?", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionAA11DescriptionVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionAA11DescriptionVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Description?", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionAA11DescriptionVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionAA11DescriptionVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "id", @@ -52039,8 +59788,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52061,8 +59810,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52074,13 +59823,30 @@ }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -52089,12 +59855,41 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52109,8 +59904,8 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -52119,12 +59914,12 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52136,35 +59931,89 @@ }, { "kind": "Var", - "name": "options", - "printedName": "options", + "name": "earliestFulfillmentTime", + "printedName": "earliestFulfillmentTime", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "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": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "usr": "s:Sa" + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "latestFulfillmentTime", + "printedName": "latestFulfillmentTime", + "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52180,29 +60029,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - } - ], - "usr": "s:Sa" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52214,27 +60055,27 @@ }, { "kind": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52249,22 +60090,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52301,8 +60142,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasInitialValue", @@ -52337,8 +60178,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52378,8 +60219,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52396,9 +60237,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", @@ -52415,8 +60256,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52429,9 +60270,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", @@ -52441,8 +60282,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52451,64 +60292,33 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(description:id:title:carrier:earliestFulfillmentTime:latestFulfillmentTime:totals:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "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" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Description?", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + } + ], + "usr": "s:Sq" }, { "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", @@ -52518,8 +60328,8 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -52528,49 +60338,106 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - } - ], - "usr": "s:Sa" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "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": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11description2id5title7carrier08earliestD4Time06latestdK06totalsAcA11DescriptionVSg_S3SSg10Foundation4DateVSgARSayAA13LineItemTotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11description2id5title7carrier08earliestD4Time06latestdK06totalsAcA11DescriptionVSg_S3SSg10Foundation4DateVSgARSayAA13LineItemTotalVGtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "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": "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:24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -52591,8 +60458,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "throwing": true, "funcSelfKind": "NonMutating" @@ -52610,8 +60477,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52645,8 +60512,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -52655,13 +60522,36 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:lineItemIDS:options:selectedOptionID:)", + "printedName": "with(description:id:title:carrier:earliestFulfillmentTime:latestFulfillmentTime:totals:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Description??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Description?", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -52681,12 +60571,27 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "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", @@ -52695,7 +60600,7 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -52704,26 +60609,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", + "printedName": "Foundation.Date??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - } - ], - "usr": "s:Sa" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" @@ -52735,18 +60632,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "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" @@ -52754,11 +60651,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:24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4with11description2id5title7carrier08earliestD4Time06latestdL06totalsAcA11DescriptionVSgSg_SSSgA2PSg10Foundation4DateVSgSgAVSayAA13LineItemTotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4with11description2id5title7carrier08earliestD4Time06latestdL06totalsAcA11DescriptionVSgSg_SSSgA2PSg10Foundation4DateVSgSgAVSayAA13LineItemTotalVGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -52768,6 +60688,43 @@ "name": "CodingKeys", "printedName": "CodingKeys", "children": [ + { + "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": "id", @@ -52776,24 +60733,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -52801,36 +60758,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -52838,36 +60795,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "options", - "printedName": "options", + "name": "carrier", + "printedName": "carrier", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -52875,36 +60832,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", + "name": "earliestFulfillmentTime", + "printedName": "earliestFulfillmentTime", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ] } @@ -52912,8 +60869,82 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "latestFulfillmentTime", + "printedName": "latestFulfillmentTime", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -52924,13 +60955,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" @@ -52943,8 +60974,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -52957,13 +60988,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" @@ -52976,8 +61007,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52993,13 +61024,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" @@ -53012,8 +61043,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -53031,8 +61062,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -53057,8 +61088,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53083,8 +61114,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -53104,8 +61135,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53122,8 +61153,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53146,8 +61177,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53164,8 +61195,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -53174,8 +61205,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -53269,8 +61300,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -53315,122 +61346,28 @@ "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" + ] + }, + { + "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53445,30 +61382,14 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53480,19 +61401,27 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "imageURL", + "printedName": "imageURL", "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53507,14 +61436,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:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53526,27 +61463,19 @@ }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "price", + "printedName": "price", "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:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53561,22 +61490,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:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53588,27 +61509,27 @@ }, { "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", + "name": "quantityUnit", + "printedName": "quantityUnit", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV12quantityUnitAA08QuantityF0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV12quantityUnitAA08QuantityF0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53624,21 +61545,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV12quantityUnitAA08QuantityF0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV12quantityUnitAA08QuantityF0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53650,19 +61571,19 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -53677,14 +61598,14 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53696,38 +61617,32 @@ }, { "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "name": "unitPrice", + "printedName": "unitPrice", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV9unitPriceAA04UnitF0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV9unitPriceAA04UnitF0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasInitialValue", "HasStorage" ], + "isLet": true, "hasStorage": true, "accessors": [ { @@ -53737,75 +61652,28 @@ "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV9unitPriceAA04UnitF0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV9unitPriceAA04UnitF0VSgvg", "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" } ] }, @@ -53816,9 +61684,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", @@ -53835,8 +61703,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -53849,9 +61717,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", @@ -53861,8 +61729,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -53871,57 +61739,65 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "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" + "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": "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": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:imageURL:price:quantityUnit:title:unitPrice:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", @@ -53931,8 +61807,8 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -53941,84 +61817,53 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" } ], "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": "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": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice?", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + } + ], + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price12quantityUnit5title9unitPriceACSS_SSSgSiAA08QuantityJ0VSgSSAA0jM0VSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price12quantityUnit5title9unitPriceACSS_SSSgSiAA08QuantityJ0VSgSSAA0jM0VSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { @@ -54039,9 +61884,10 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, @@ -54058,8 +61904,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -54093,8 +61939,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -54103,40 +61949,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", + "printedName": "with(id:imageURL:price:quantityUnit:title:unitPrice:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]??", + "printedName": "Swift.String?", "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "hasDefaultArg": true, @@ -54145,26 +61975,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -54176,13 +61998,13 @@ { "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, @@ -54191,21 +62013,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -54214,21 +62036,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, @@ -54237,13 +62051,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice??", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice?", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -54251,8 +62073,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price12quantityUnit5title9unitPriceACSSSg_AKSgSiSgAA08QuantityK0VSgSgAkA0kN0VSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price12quantityUnit5title9unitPriceACSSSg_AKSgSiSgAA08QuantityK0VSgSgAkA0kN0VSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -54264,30 +62086,30 @@ "children": [ { "kind": "Var", - "name": "destinations", - "printedName": "destinations", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -54295,36 +62117,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "groups", - "printedName": "groups", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -54332,36 +62154,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "price", + "printedName": "price", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -54369,36 +62191,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", + "name": "quantityUnit", + "printedName": "quantityUnit", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -54406,36 +62228,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO12quantityUnityA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO12quantityUnityA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -54443,36 +62265,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "unitPrice", + "printedName": "unitPrice", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -54480,8 +62302,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO9unitPriceyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO9unitPriceyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -54492,13 +62314,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -54511,8 +62333,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -54525,13 +62347,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -54544,8 +62366,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -54561,13 +62383,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -54580,8 +62402,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -54599,8 +62421,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -54625,8 +62447,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -54651,8 +62473,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -54672,8 +62494,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -54690,8 +62512,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -54714,8 +62536,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -54732,8 +62554,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -54742,8 +62564,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -54827,19 +62649,410 @@ "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:24EmbeddedCheckoutProtocol4ItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "JSONAny", + "printedName": "JSONAny", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Required" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "JSONNull", + "printedName": "JSONNull", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullCACycfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullCACycfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Required" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + }, + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "Final" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" } ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV", + "declKind": "Class", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC", "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], "conformances": [ { "kind": "Conformance", @@ -54855,6 +63068,13 @@ "usr": "s:SE", "mangledName": "$sSE" }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, { "kind": "Conformance", "name": "Sendable", @@ -54862,6 +63082,13 @@ "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "SendableMetatype", @@ -54887,35 +63114,98 @@ }, { "kind": "TypeDecl", - "name": "FulfillmentMethodType", - "printedName": "FulfillmentMethodType", + "name": "JSONRPCID", + "printedName": "JSONRPCID", "children": [ { "kind": "Var", - "name": "pickup", - "printedName": "pickup", + "name": "string", + "printedName": "string", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", "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": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "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", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + }, + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ] } @@ -54923,36 +63213,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "shipping", - "printedName": "shipping", + "name": "null", + "printedName": "null", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ] } @@ -54960,69 +63250,70 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "usr": "s:Sq" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_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(integerLiteral:)", "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": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringLiteral:)", "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + }, { "kind": "TypeNominal", "name": "String", @@ -55030,319 +63321,129 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", "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:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "__derived_enum_equals", + "printedName": "__derived_enum_equals(_:_:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "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" } ], - "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:24EmbeddedCheckoutProtocol9JSONRPCIDO21__derived_enum_equalsySbAC_ACtFZ", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO21__derived_enum_equalsySbAC_ACtFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "FulfillmentOption", - "printedName": "FulfillmentOption", - "children": [ - { - "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "kind": "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_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:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "description", - "printedName": "description", + "kind": "TypeAlias", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO34ExtendedGraphemeClusterLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO34ExtendedGraphemeClusterLiteralTypea", "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "implicit": true }, { - "kind": "Var", - "name": "earliestFulfillmentTime", - "printedName": "earliestFulfillmentTime", + "kind": "TypeAlias", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ { - "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:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "TypeAlias", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", "children": [ { "kind": "TypeNominal", @@ -55351,20 +63452,56 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", @@ -55372,107 +63509,72 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { - "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" }, { - "kind": "Var", - "name": "title", - "printedName": "title", + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", "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": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", "children": [ { "kind": "TypeNominal", @@ -55480,42 +63582,48 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Line", + "printedName": "Line", + "children": [ { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55530,22 +63638,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55557,38 +63657,24 @@ }, { "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "name": "displayText", + "printedName": "displayText", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasInitialValue", "HasStorage" ], + "isLet": true, "hasStorage": true, "accessors": [ { @@ -55598,163 +63684,33 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" } ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -55764,42 +63720,47 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(amount:displayText:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -55810,9 +63771,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -55822,8 +63783,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -55836,9 +63797,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -55848,9 +63809,10 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -55861,9 +63823,9 @@ "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -55873,8 +63835,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -55898,9 +63860,10 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, @@ -55917,8 +63880,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -55952,8 +63915,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -55962,116 +63925,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", + "printedName": "with(amount:displayText:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date??", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "hasDefaultArg": true, @@ -56091,34 +63962,11 @@ ], "hasDefaultArg": true, "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -56130,215 +63978,30 @@ "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", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ] } @@ -56346,36 +64009,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ] } @@ -56383,8 +64046,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -56395,13 +64058,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -56414,8 +64077,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -56428,13 +64091,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -56447,8 +64110,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -56464,13 +64127,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -56483,8 +64146,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -56502,8 +64165,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -56528,8 +64191,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -56554,8 +64217,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -56575,8 +64238,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -56593,8 +64256,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -56617,8 +64280,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -56635,8 +64298,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -56645,8 +64308,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -56740,8 +64403,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV", + "usr": "s:24EmbeddedCheckoutProtocol4LineV", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -56790,8 +64453,8 @@ }, { "kind": "TypeDecl", - "name": "Item", - "printedName": "Item", + "name": "LineItem", + "printedName": "LineItem", "children": [ { "kind": "Var", @@ -56806,8 +64469,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -56828,8 +64491,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -56841,8 +64504,54 @@ }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "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", @@ -56860,8 +64569,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -56890,8 +64599,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -56903,8 +64612,8 @@ }, { "kind": "Var", - "name": "price", - "printedName": "price", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeNominal", @@ -56914,8 +64623,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -56936,8 +64645,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -56949,19 +64658,27 @@ }, { "kind": "Var", - "name": "title", - "printedName": "title", + "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:24EmbeddedCheckoutProtocol4ItemV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -56976,14 +64693,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:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57000,9 +64725,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -57019,8 +64744,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57033,9 +64758,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -57045,8 +64770,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57059,9 +64784,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -57071,8 +64796,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -57085,9 +64810,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -57097,8 +64822,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57107,13 +64832,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:imageURL:price:title:)", + "printedName": "init(id:item:parentID:quantity:totals:)", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -57121,6 +64846,12 @@ "printedName": "Swift.String", "usr": "s:SS" }, + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -57143,14 +64874,22 @@ }, { "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -57172,8 +64911,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -57192,8 +64931,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57227,8 +64966,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57237,13 +64976,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:imageURL:price:title:)", + "printedName": "with(id:item:parentID:quantity:totals:)", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -57260,6 +64999,21 @@ "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", @@ -57301,13 +65055,21 @@ { "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" } ], "hasDefaultArg": true, @@ -57315,8 +65077,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -57334,24 +65096,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -57359,36 +65121,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "item", + "printedName": "item", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -57396,36 +65158,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "price", - "printedName": "price", + "name": "parentID", + "printedName": "parentID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -57433,36 +65195,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "title", - "printedName": "title", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -57470,8 +65232,45 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", + "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": "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -57482,13 +65281,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -57501,8 +65300,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -57515,13 +65314,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -57534,8 +65333,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57551,13 +65350,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -57570,8 +65369,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -57589,8 +65388,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -57615,8 +65414,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -57641,8 +65440,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -57662,8 +65461,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -57680,8 +65479,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -57704,8 +65503,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -57722,8 +65521,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -57732,8 +65531,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -57827,8 +65626,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -57877,82 +65676,138 @@ }, { "kind": "TypeDecl", - "name": "JSONAny", - "printedName": "JSONAny", + "name": "LineItemQuantity", + "printedName": "LineItemQuantity", "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Var", + "name": "fulfilled", + "printedName": "fulfilled", "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", "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": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "original", + "printedName": "original", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", "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.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Var", - "name": "value", - "printedName": "value", + "name": "total", + "printedName": "total", "children": [ { "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "Any" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "Final" + "HasStorage" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -57961,95 +65816,80 @@ "children": [ { "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "Any" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "Final" + "Transparent" ], "accessorKind": "get" } ] - } - ], - "declKind": "Class", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" }, { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "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": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "JSONNull", - "printedName": "JSONNull", - "children": [ { "kind": "Constructor", "name": "init", - "printedName": "init()", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullCACycfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullCACycfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -58059,9 +65899,9 @@ "children": [ { "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", @@ -58071,48 +65911,82 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Required" + "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": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(fulfilled:original:total:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + "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": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "Final" - ], - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", @@ -58132,67 +66006,83 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" + "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:24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "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" }, { "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], + "isFromExtension": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "kind": "Function", + "name": "with", + "printedName": "with(fulfilled:original:total:)", "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": [ + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", @@ -58201,26 +66091,60 @@ "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Final" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Class", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], "conformances": [ { "kind": "Conformance", @@ -58236,13 +66160,6 @@ "usr": "s:SE", "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, { "kind": "Conformance", "name": "Sendable", @@ -58250,13 +66167,6 @@ "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, { "kind": "Conformance", "name": "SendableMetatype", @@ -58282,48 +66192,72 @@ }, { "kind": "TypeDecl", - "name": "JSONRPCID", - "printedName": "JSONRPCID", + "name": "LineItemStatus", + "printedName": "LineItemStatus", "children": [ { "kind": "Var", - "name": "string", - "printedName": "string", + "name": "fulfilled", + "printedName": "fulfilled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "partial", + "printedName": "partial", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } @@ -58331,49 +66265,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "int", - "printedName": "int", + "name": "processing", + "printedName": "processing", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, - { - "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" - } - ] + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } @@ -58381,36 +66302,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "null", - "printedName": "null", + "name": "removed", + "printedName": "removed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> EmbeddedCheckoutProtocol.JSONRPCID", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } @@ -58418,69 +66339,28 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, - { - "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": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, - { - "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(stringLiteral:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -58490,74 +66370,19 @@ } ], "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": "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", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", "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" - } + "Inlinable" ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "TypeAlias", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -58567,33 +66392,15 @@ } ], "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", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, { - "kind": "TypeAlias", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -58602,51 +66409,44 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", - "children": [ + "implicit": 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:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO", "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", "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", @@ -58656,20 +66456,20 @@ }, { "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", - "name": "ExpressibleByStringLiteral", - "printedName": "ExpressibleByStringLiteral", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { "kind": "TypeWitness", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -58680,81 +66480,36 @@ ] } ], - "usr": "s:s26ExpressibleByStringLiteralP", - "mangledName": "$ss26ExpressibleByStringLiteralP" + "usr": "s:SY", + "mangledName": "$sSY" }, { "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" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "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" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "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" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { "kind": "Conformance", @@ -58774,8 +66529,8 @@ }, { "kind": "TypeDecl", - "name": "Line", - "printedName": "Line", + "name": "LineItemTotal", + "printedName": "LineItemTotal", "children": [ { "kind": "Var", @@ -58790,8 +66545,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -58812,8 +66567,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -58827,6 +66582,68 @@ "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", @@ -58836,8 +66653,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -58858,8 +66675,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -58876,9 +66693,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -58895,8 +66712,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58905,13 +66722,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(amount:displayText:)", + "printedName": "init(amount:displayText:type:)", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -58919,6 +66736,20 @@ "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", @@ -58927,8 +66758,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -58939,9 +66770,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -58951,8 +66782,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58965,9 +66796,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -58977,8 +66808,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -58991,9 +66822,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -59003,8 +66834,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59028,8 +66859,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -59048,8 +66879,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59083,8 +66914,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59093,13 +66924,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(amount:displayText:)", + "printedName": "with(amount:displayText:type:)", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" }, { "kind": "TypeNominal", @@ -59116,6 +66947,29 @@ "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", @@ -59133,8 +66987,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -59152,24 +67006,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" } ] } @@ -59177,8 +67031,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -59189,24 +67043,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" } ] } @@ -59214,8 +67068,45 @@ } ], "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" }, { @@ -59226,13 +67117,13 @@ { "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" @@ -59245,8 +67136,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -59259,13 +67150,13 @@ { "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" @@ -59278,8 +67169,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -59295,13 +67186,13 @@ { "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" @@ -59314,8 +67205,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -59333,8 +67224,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -59359,8 +67250,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59385,346 +67276,18 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "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: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": [ + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -59733,28 +67296,16 @@ "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": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -59763,395 +67314,212 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", "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": [ + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "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", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "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(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { - "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(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "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": "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": "Constructor", - "name": "init", - "printedName": "init(id:item:parentID:quantity:totals:)", - "children": [ + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "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:24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "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": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "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:24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "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(id:item:parentID:quantity:totals:)", + "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": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -60164,28 +67532,23 @@ "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" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", + "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", @@ -60202,333 +67565,237 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "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", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvp", + "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" + "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(_: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:Sq" + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "funcSelfKind": "NonMutating" + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "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": "TypeNominal", + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { - "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": "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(from:)", + "children": [ { - "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": "TypeNominal", + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "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:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "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(fromURL:)", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "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": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "kind": "TypeNominal", + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { - "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", - "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": "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": "Constructor", + "name": "init", + "printedName": "init(title:type:url:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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", @@ -60536,17 +67803,81 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_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" + }, + { + "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": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -60555,71 +67886,62 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", - "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: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.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: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" - } - ] + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -60628,40 +67950,13 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", - "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" - } - ] + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -60670,132 +67965,21 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", - "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" - } - ] + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", "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" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -60844,24 +68028,24 @@ }, { "kind": "TypeDecl", - "name": "LineItemQuantity", - "printedName": "LineItemQuantity", + "name": "Measure", + "printedName": "Measure", "children": [ { "kind": "Var", - "name": "fulfilled", - "printedName": "fulfilled", + "name": "displayText", + "printedName": "displayText", "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:24EmbeddedCheckoutProtocol7MeasureV11displayTextSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV11displayTextSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60876,14 +68060,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV11displayTextSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV11displayTextSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60895,8 +68079,8 @@ }, { "kind": "Var", - "name": "original", - "printedName": "original", + "name": "scale", + "printedName": "scale", "children": [ { "kind": "TypeNominal", @@ -60914,8 +68098,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV5scaleSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV5scaleSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60944,8 +68128,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV5scaleSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV5scaleSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60957,8 +68141,54 @@ }, { "kind": "Var", - "name": "total", - "printedName": "total", + "name": "unit", + "printedName": "unit", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV4unitSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV4unitSSvp", + "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:24EmbeddedCheckoutProtocol7MeasureV4unitSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV4unitSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", "children": [ { "kind": "TypeNominal", @@ -60968,8 +68198,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV5valueSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV5valueSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60990,8 +68220,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV5valueSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV5valueSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -61008,9 +68238,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" }, { "kind": "TypeNominal", @@ -61027,8 +68257,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61041,9 +68271,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" }, { "kind": "TypeNominal", @@ -61053,8 +68283,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61063,97 +68293,103 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(displayText:scale:unit:value:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV11displayText5scale4unit5valueACSS_SiSgSSSitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV11displayText5scale4unit5valueACSS_SiSgSSSitcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(from:)", "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fulfilled:original:total:)", + "printedName": "init(fromURL:)", "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" + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -61174,8 +68410,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -61194,8 +68430,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61229,8 +68465,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61239,24 +68475,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(fulfilled:original:total:)", + "printedName": "with(displayText:scale:unit:value:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" }, { "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, @@ -61285,6 +68521,21 @@ "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", @@ -61302,16 +68553,520 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV4with11displayText5scale4unit5valueACSSSg_SiSgSgAiJtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV4with11displayText5scale4unit5valueACSSSg_SiSgSgAiJtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "displayText", + "printedName": "displayText", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Measure.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Measure.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11displayTextyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "scale", + "printedName": "scale", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Measure.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Measure.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO5scaleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO5scaleyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "unit", + "printedName": "unit", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Measure.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Measure.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO4unityA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO4unityA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Measure.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Measure.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO5valueyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO5valueyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Measure.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11stringValueAESgSS_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:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8RawValuea", + "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:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8intValueSiSgvp", + "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:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8intValueSiSgvg", + "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:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8rawValueSSvp", + "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:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO8rawValueSSvg", + "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:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11stringValueSSvp", + "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:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV10CodingKeysO", + "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:24EmbeddedCheckoutProtocol16LineItemQuantityV", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV", + "mangledName": "$s24EmbeddedCheckoutProtocol7MeasureV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -61360,228 +69115,324 @@ }, { "kind": "TypeDecl", - "name": "LineItemStatus", - "printedName": "LineItemStatus", + "name": "Message", + "printedName": "Message", "children": [ { "kind": "Var", - "name": "fulfilled", - "printedName": "fulfilled", + "name": "code", + "printedName": "code", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Optional", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "partial", - "printedName": "partial", + "name": "content", + "printedName": "content", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "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": "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" - } - ] + "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:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "processing", - "printedName": "processing", + "name": "contentType", + "printedName": "contentType", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ], + "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": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "removed", - "printedName": "removed", + "name": "path", + "printedName": "path", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Optional", + "printedName": "Swift.String?", "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:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "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": "severity", + "printedName": "severity", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", "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": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "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:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -61590,54 +69441,32 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", "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": "imageURL", + "printedName": "imageURL", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -61645,76 +69474,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": "LineItemTotal", - "printedName": "LineItemTotal", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61729,14 +69495,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:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -61748,8 +69522,8 @@ }, { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "presentation", + "printedName": "presentation", "children": [ { "kind": "TypeNominal", @@ -61767,8 +69541,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61797,8 +69571,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -61810,19 +69584,27 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "url", + "printedName": "url", "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:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61837,14 +69619,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:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -61861,9 +69651,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -61880,8 +69670,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61890,19 +69680,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(amount:displayText:type:)", + "printedName": "init(code:content:contentType:path:severity:type:imageURL:presentation:url:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -61923,11 +69707,101 @@ "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:24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -61938,9 +69812,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -61950,8 +69824,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61964,9 +69838,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -61976,8 +69850,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -61990,9 +69864,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -62002,8 +69876,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62027,8 +69901,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -62047,8 +69921,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62082,8 +69956,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62092,106 +69966,466 @@ { "kind": "Function", "name": "with", - "printedName": "with(amount:displayText:type:)", + "printedName": "with(code:content:contentType:path:severity:type:imageURL:presentation:url:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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", + "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.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": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "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": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Var", + "name": "path", + "printedName": "path", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "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" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "severity", + "printedName": "severity", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", + "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.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" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -62199,36 +70433,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "presentation", + "printedName": "presentation", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -62236,36 +70470,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -62273,8 +70507,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -62285,13 +70519,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -62304,8 +70538,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -62318,13 +70552,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -62337,8 +70571,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62354,13 +70588,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -62373,8 +70607,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -62392,8 +70626,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -62418,8 +70652,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -62444,8 +70678,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -62465,8 +70699,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -62483,8 +70717,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62507,8 +70741,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -62525,8 +70759,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -62535,8 +70769,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -62613,27 +70847,327 @@ "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, + "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: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(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": "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:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV", + "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", @@ -62680,32 +71214,24 @@ }, { "kind": "TypeDecl", - "name": "Link", - "printedName": "Link", + "name": "NotificationDescriptor", + "printedName": "NotificationDescriptor", "children": [ { "kind": "Var", - "name": "title", - "printedName": "title", + "name": "method", + "printedName": "method", "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:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62720,23 +71246,16 @@ "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:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -62746,55 +71265,155 @@ ] }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "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", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "genericSig": ">", + "isFromExtension": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "map", + "printedName": "map(_:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Handler) -> Mapped", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + } + ] } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NotificationMessage", + "printedName": "NotificationMessage", + "children": [ { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "jsonrpc", + "printedName": "jsonrpc", "children": [ { "kind": "TypeNominal", @@ -62804,8 +71423,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvp", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -62826,9 +71445,10 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvg", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -62838,131 +71458,31 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "method", + "printedName": "method", "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(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(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", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": 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" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(title:type:url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -62971,199 +71491,115 @@ "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": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "params", + "printedName": "params", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(title:type:url:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(jsonrpc:method:params:)", "children": [ { "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], + "name": "String", + "printedName": "Swift.String", "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "genericSig": "", + "init_kind": "Designated" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Sendable", @@ -63196,32 +71632,40 @@ }, { "kind": "TypeDecl", - "name": "Message", - "printedName": "Message", + "name": "Order", + "printedName": "Order", "children": [ { "kind": "Var", - "name": "code", - "printedName": "code", + "name": "adjustments", + "printedName": "adjustments", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63237,21 +71681,119 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "attribution", + "printedName": "attribution", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : 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()", + "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:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63263,8 +71805,8 @@ }, { "kind": "Var", - "name": "content", - "printedName": "content", + "name": "checkoutID", + "printedName": "checkoutID", "children": [ { "kind": "TypeNominal", @@ -63274,8 +71816,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63296,8 +71838,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63309,27 +71851,65 @@ }, { "kind": "Var", - "name": "contentType", - "printedName": "contentType", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "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": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "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:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63344,22 +71924,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - } - ], - "usr": "s:Sq" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63371,8 +71943,54 @@ }, { "kind": "Var", - "name": "path", - "printedName": "path", + "name": "id", + "printedName": "id", + "children": [ + { + "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()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeNominal", @@ -63390,8 +72008,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63420,8 +72038,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63433,27 +72051,97 @@ }, { "kind": "Var", - "name": "severity", - "printedName": "severity", + "name": "lineItems", + "printedName": "lineItems", + "children": [ + { + "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()", + "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" + } + ] + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63469,21 +72157,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "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:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63495,19 +72191,19 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63522,14 +72218,14 @@ "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63541,27 +72237,35 @@ }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "policies", + "printedName": "policies", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8policiesSayAA6PolicyVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8policiesSayAA6PolicyVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63577,21 +72281,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8policiesSayAA6PolicyVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8policiesSayAA6PolicyVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63603,27 +72315,27 @@ }, { "kind": "Var", - "name": "presentation", - "printedName": "presentation", + "name": "totals", + "printedName": "totals", "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63638,22 +72350,22 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63665,27 +72377,19 @@ }, { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -63700,22 +72404,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63732,9 +72428,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -63751,8 +72447,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -63761,48 +72457,88 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(code:content:contentType:path:severity:type:imageURL:presentation:url:)", + "printedName": "init(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:policies:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "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" }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "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", @@ -63819,70 +72555,92 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "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" }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" }, { "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": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL8policies6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA6PolicyVGSgSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL8policies6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA6PolicyVGSgSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -63893,9 +72651,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -63905,8 +72663,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -63919,9 +72677,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -63931,8 +72689,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -63945,9 +72703,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -63957,8 +72715,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -63982,8 +72740,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -64002,8 +72760,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64037,8 +72795,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -64047,29 +72805,74 @@ { "kind": "Function", "name": "with", - "printedName": "with(code:content:contentType:path:severity:type:imageURL:presentation:url:)", + "printedName": "with(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:policies:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]??", "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" + }, + { + "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" @@ -64096,21 +72899,43 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType??", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - } - ], - "usr": "s:Sq" + "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, @@ -64142,18 +72967,49 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity??", + "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.Severity?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -64165,13 +73021,13 @@ { "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" } ], "hasDefaultArg": true, @@ -64180,18 +73036,26 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.Policy]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -64203,21 +73067,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, @@ -64226,21 +73090,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "hasDefaultArg": true, @@ -64248,8 +73104,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL8policies6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAzA11FulfillmentVSgA2ZSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAZSayAA6PolicyVGSgSgSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL8policies6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAzA11FulfillmentVSgA2ZSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAZSayAA6PolicyVGSgSgSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -64261,30 +73117,30 @@ "children": [ { "kind": "Var", - "name": "code", - "printedName": "code", + "name": "adjustments", + "printedName": "adjustments", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64292,36 +73148,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "content", - "printedName": "content", + "name": "attribution", + "printedName": "attribution", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64329,36 +73185,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "contentType", - "printedName": "contentType", + "name": "checkoutID", + "printedName": "checkoutID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64366,36 +73222,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "path", - "printedName": "path", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64403,36 +73259,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "severity", - "printedName": "severity", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64440,36 +73296,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "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.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64477,36 +73333,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64514,36 +73370,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "presentation", - "printedName": "presentation", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64551,36 +73407,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ] } @@ -64588,604 +73444,246 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", - "children": [ + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "policies", + "printedName": "policies", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", - "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8policiesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8policiesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", - "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:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "name": "totals", + "printedName": "totals", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "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": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] } ] } ], - "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" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "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", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "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:24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "info", - "printedName": "info", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "warning", - "printedName": "warning", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MessageType?", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "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", @@ -65193,47 +73691,15 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", "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": [ + "init_kind": "Designated" + }, { - "kind": "TypeWitness", + "kind": "TypeAlias", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -65243,312 +73709,250 @@ "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": [ + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, + "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": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "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" } ] - } - ], - "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", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "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", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MethodType?", + "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": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_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:24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", - "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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", - "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:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", - "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:24EmbeddedCheckoutProtocol10MethodTypeO", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV", "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", @@ -65595,13 +73999,13 @@ }, { "kind": "TypeDecl", - "name": "NotificationDescriptor", - "printedName": "NotificationDescriptor", + "name": "OrderConfirmation", + "printedName": "OrderConfirmation", "children": [ { "kind": "Var", - "name": "method", - "printedName": "method", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -65611,8 +74015,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65633,10 +74037,9 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -65646,166 +74049,28 @@ ] }, { - "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", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Foundation.Data) throws -> Payload", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ] - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": ">", - "isFromExtension": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "map", - "printedName": "map(_:)", + "kind": "Var", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Mapped" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Handler) -> Mapped", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Mapped" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - } - ] - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "NotificationMessage", - "printedName": "NotificationMessage", - "children": [ - { - "kind": "Var", - "name": "jsonrpc", - "printedName": "jsonrpc", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65820,16 +74085,23 @@ "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:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -65839,9 +74111,9 @@ ] }, { - "kind": "Var", - "name": "method", - "printedName": "method", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeNominal", @@ -65851,8 +74123,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65873,10 +74145,9 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -65886,330 +74157,607 @@ ] }, { - "kind": "Var", - "name": "params", - "printedName": "params", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "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:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", + "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": "GenericTypeParam", - "printedName": "Payload" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "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(jsonrpc:method:params:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "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": "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": "GenericTypeParam", - "printedName": "Payload" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", - "hasDefaultArg": true, "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", "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" + "implicit": true, + "throwing": 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:24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "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:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "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": "Function", + "name": "with", + "printedName": "with(id:label:permalinkURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + }, + { + "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": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "adjustments", - "printedName": "adjustments", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "label", + "printedName": "label", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_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.Adjustment]?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", - "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - } - ], - "usr": "s:Sa" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", - "children": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "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()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": 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]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "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()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -66218,44 +74766,40 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", "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": [ + "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": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -66264,64 +74808,183 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8currencySSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", "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" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", "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": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OrderLineItem", + "printedName": "OrderLineItem", + "children": [ { "kind": "Var", "name": "id", @@ -66335,8 +74998,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66357,8 +75020,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66370,27 +75033,19 @@ }, { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "item", + "printedName": "item", "children": [ { "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" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66405,22 +75060,14 @@ "children": [ { "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66432,27 +75079,27 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "parentID", + "printedName": "parentID", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "name": "Optional", + "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" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66467,22 +75114,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "name": "Optional", + "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" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66494,35 +75141,19 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66537,30 +75168,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": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66572,19 +75187,19 @@ }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66599,14 +75214,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66624,21 +75239,21 @@ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -66654,67 +75269,21 @@ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], "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": [ - { - "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", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -66731,9 +75300,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -66750,181 +75319,13 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, - { - "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" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - } - ], - "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": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, { "kind": "Constructor", "name": "init", @@ -66932,9 +75333,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -66944,8 +75345,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -66958,9 +75359,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -66970,8 +75371,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -66984,9 +75385,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -66996,13 +75397,83 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "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": "Function", "name": "encode", @@ -67020,9 +75491,9 @@ "usr": "s:s7EncoderP" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -67041,8 +75512,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -67076,8 +75547,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -67086,96 +75557,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", + "printedName": "with(id:item:parentID:quantity:status:totals:)", "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" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -67195,28 +75583,13 @@ { "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?", + "printedName": "EmbeddedCheckoutProtocol.Item?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" } ], "hasDefaultArg": true, @@ -67248,52 +75621,13 @@ { "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]??", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" } ], "hasDefaultArg": true, @@ -67302,13 +75636,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], "hasDefaultArg": true, @@ -67317,18 +75651,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], "usr": "s:Sa" @@ -67336,26 +75670,11 @@ ], "hasDefaultArg": true, "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -67365,191 +75684,6 @@ "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", @@ -67558,61 +75692,24 @@ { "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", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -67620,36 +75717,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "item", + "printedName": "item", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -67657,36 +75754,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "parentID", + "printedName": "parentID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -67694,36 +75791,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -67731,36 +75828,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -67768,36 +75865,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -67805,8 +75902,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -67817,13 +75914,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -67836,8 +75933,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -67850,13 +75947,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -67869,8 +75966,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -67886,13 +75983,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -67905,8 +76002,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -67924,8 +76021,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -67950,8 +76047,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -67976,8 +76073,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -67997,8 +76094,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68015,8 +76112,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68039,8 +76136,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68057,8 +76154,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -68067,8 +76164,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -68162,8 +76259,422 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Payment", + "printedName": "Payment", + "children": [ + { + "kind": "Var", + "name": "instruments", + "printedName": "instruments", + "children": [ + { + "kind": "TypeNominal", + "name": "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:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(instruments:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "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" + }, + { + "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:24EmbeddedCheckoutProtocol7PaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -68212,13 +76723,13 @@ }, { "kind": "TypeDecl", - "name": "OrderConfirmation", - "printedName": "OrderConfirmation", + "name": "PaymentCredential", + "printedName": "PaymentCredential", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -68228,8 +76739,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -68250,8 +76761,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68263,32 +76774,38 @@ }, { "kind": "Var", - "name": "label", - "printedName": "label", + "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:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -68298,74 +76815,75 @@ "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:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { "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:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, @@ -68376,9 +76894,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -68395,8 +76913,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68409,9 +76927,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -68421,8 +76939,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68435,9 +76953,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -68447,10 +76965,9 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -68461,9 +76978,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -68473,8 +76990,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68483,33 +77000,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:label:permalinkURL:)", + "printedName": "init(type:)", "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" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -68519,8 +77016,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -68542,10 +77039,9 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, @@ -68562,8 +77058,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68597,8 +77093,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68607,51 +77103,13 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:label:permalinkURL:)", + "printedName": "with(type:)", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -68670,8 +77128,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -68683,104 +77141,30 @@ "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "label", - "printedName": "label", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ] } @@ -68788,8 +77172,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -68800,13 +77184,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -68819,8 +77203,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -68833,13 +77217,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -68852,8 +77236,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68869,13 +77253,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -68888,8 +77272,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -68907,8 +77291,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -68933,8 +77317,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68959,8 +77343,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -68980,8 +77364,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68998,8 +77382,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69022,8 +77406,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -69040,8 +77424,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -69050,8 +77434,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -69145,8 +77529,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -69195,24 +77579,46 @@ }, { "kind": "TypeDecl", - "name": "OrderLineItem", - "printedName": "OrderLineItem", + "name": "PaymentHandlerResponseSchema", + "printedName": "PaymentHandlerResponseSchema", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69227,14 +77633,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:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69246,19 +77674,19 @@ }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69273,14 +77701,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69292,8 +77720,8 @@ }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeNominal", @@ -69311,8 +77739,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69341,8 +77769,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69354,19 +77782,27 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "spec", + "printedName": "spec", "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69381,14 +77817,22 @@ "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", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69400,19 +77844,19 @@ }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69427,14 +77871,14 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69446,27 +77890,35 @@ }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69481,22 +77933,30 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69513,9 +77973,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -69532,13 +77992,121 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { "kind": "Constructor", "name": "init", @@ -69546,9 +78114,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -69558,8 +78126,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69572,9 +78140,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -69584,8 +78152,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69598,9 +78166,9 @@ "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -69610,83 +78178,13 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, - { - "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": "Function", "name": "encode", @@ -69705,8 +78203,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69725,8 +78223,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69760,8 +78258,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69770,13 +78268,50 @@ { "kind": "Function", "name": "with", - "printedName": "with(id:item:parentID:quantity:status:totals:)", + "printedName": "with(config:id:schema:spec:version:availableInstruments:)", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "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", @@ -69796,13 +78331,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item?", + "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" } ], "hasDefaultArg": true, @@ -69834,28 +78377,13 @@ { "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?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "hasDefaultArg": true, @@ -69864,21 +78392,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "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" } ], "hasDefaultArg": true, @@ -69886,8 +78422,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -69899,30 +78435,30 @@ "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -69930,36 +78466,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -69967,36 +78503,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -70004,36 +78540,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -70041,36 +78577,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -70078,36 +78614,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -70115,8 +78651,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -70127,13 +78663,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -70146,8 +78682,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -70160,13 +78696,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -70179,8 +78715,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -70196,13 +78732,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -70215,8 +78751,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -70234,8 +78770,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -70260,8 +78796,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -70286,8 +78822,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -70307,8 +78843,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -70325,8 +78861,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -70349,8 +78885,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -70367,8 +78903,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -70377,8 +78913,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -70472,8 +79008,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -70522,40 +79058,32 @@ }, { "kind": "TypeDecl", - "name": "Payment", - "printedName": "Payment", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "PaymentHandlerResponseSchemaAvailableInstrument", "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "constraints", + "printedName": "constraints", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -70571,29 +79099,67 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsAA20ConstraintExpressionVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -70610,9 +79176,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -70629,8 +79195,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70639,119 +79205,117 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(constraints:type:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeAcA20ConstraintExpressionVSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeAcA20ConstraintExpressionVSg_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "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", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(instruments:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "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": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -70772,8 +79336,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -70792,8 +79356,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70827,8 +79391,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70837,37 +79401,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(instruments:)", + "printedName": "with(constraints:type:)", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "ConstraintExpression", + "printedName": "EmbeddedCheckoutProtocol.ConstraintExpression", + "usr": "s:24EmbeddedCheckoutProtocol20ConstraintExpressionV" } ], "usr": "s:Sq" @@ -70875,19 +79431,34 @@ ], "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:24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4with11constraints4typeAcA20ConstraintExpressionVSgSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4with11constraints4typeAcA20ConstraintExpressionVSgSg_SSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -70936,9 +79507,133 @@ }, { "kind": "TypeDecl", - "name": "PaymentCredential", - "printedName": "PaymentCredential", + "name": "Policy", + "printedName": "Policy", "children": [ + { + "kind": "Var", + "name": "appliesTo", + "printedName": "appliesTo", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV9appliesToSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV9appliesToSaySSGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV9appliesToSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV9appliesToSaySSGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV11descriptionAA11DescriptionVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV11descriptionAA11DescriptionVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV11descriptionAA11DescriptionVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV11descriptionAA11DescriptionVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "type", @@ -70952,8 +79647,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -70974,8 +79669,70 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV3urlSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV3urlSSSgvp", + "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:24EmbeddedCheckoutProtocol6PolicyV3urlSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV3urlSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71012,8 +79769,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasInitialValue", @@ -71048,8 +79805,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71089,8 +79846,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71107,9 +79864,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" }, { "kind": "TypeNominal", @@ -71126,8 +79883,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -71136,102 +79893,144 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(appliesTo:description:type:url:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "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" + }, + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + }, + { + "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV9appliesTo11description4type3urlACSaySSGSg_AA11DescriptionVS2SSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV9appliesTo11description4type3urlACSaySSGSg_AA11DescriptionVS2SSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(type:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -71252,8 +80051,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "throwing": true, "funcSelfKind": "NonMutating" @@ -71271,8 +80070,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -71306,8 +80105,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -71316,13 +80115,59 @@ { "kind": "Function", "name": "with", - "printedName": "with(type:)", + "printedName": "with(appliesTo:description:type:url:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Description?", + "children": [ + { + "kind": "TypeNominal", + "name": "Description", + "printedName": "EmbeddedCheckoutProtocol.Description", + "usr": "s:24EmbeddedCheckoutProtocol11DescriptionV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -71338,11 +80183,34 @@ ], "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:24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV4with9appliesTo11description4type3urlACSaySSGSgSg_AA11DescriptionVSgSSSgAOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV4with9appliesTo11description4type3urlACSaySSGSgSg_AA11DescriptionVSgSSSgAOSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -71352,6 +80220,80 @@ "name": "CodingKeys", "printedName": "CodingKeys", "children": [ + { + "kind": "Var", + "name": "appliesTo", + "printedName": "appliesTo", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Policy.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Policy.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO9appliesToyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO9appliesToyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Policy.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Policy.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11descriptionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", "name": "type", @@ -71360,24 +80302,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Policy.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Policy.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" } ] } @@ -71385,8 +80327,45 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Policy.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Policy.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO3urlyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO3urlyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -71397,13 +80376,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" } ], "usr": "s:Sq" @@ -71416,8 +80395,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -71430,13 +80409,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" } ], "usr": "s:Sq" @@ -71449,8 +80428,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71466,13 +80445,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Policy.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO" } ], "usr": "s:Sq" @@ -71485,8 +80464,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -71504,8 +80483,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -71530,8 +80509,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71556,8 +80535,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -71577,8 +80556,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71595,8 +80574,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71619,8 +80598,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71637,8 +80616,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -71647,8 +80626,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -71742,8 +80721,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV", + "mangledName": "$s24EmbeddedCheckoutProtocol6PolicyV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -71792,46 +80771,94 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerResponseSchema", - "printedName": "PaymentHandlerResponseSchema", + "name": "PostalAddress", + "printedName": "PostalAddress", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "addressCountry", + "printedName": "addressCountry", "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: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" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71847,35 +80874,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71887,19 +80900,27 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "addressRegion", + "printedName": "addressRegion", "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71914,14 +80935,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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71933,8 +80962,8 @@ }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "extendedAddress", + "printedName": "extendedAddress", "children": [ { "kind": "TypeNominal", @@ -71952,8 +80981,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71982,8 +81011,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71995,8 +81024,8 @@ }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "firstName", + "printedName": "firstName", "children": [ { "kind": "TypeNominal", @@ -72014,8 +81043,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72044,8 +81073,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72057,19 +81086,27 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "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:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72081,6 +81118,43 @@ "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", @@ -72089,9 +81163,42 @@ "usr": "s:SS" } ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72103,35 +81210,89 @@ }, { "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "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" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72147,29 +81308,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:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72186,9 +81339,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", @@ -72205,8 +81358,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72215,47 +81368,83 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "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": "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" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -72287,36 +81476,36 @@ }, { "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", "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": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -72327,9 +81516,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", @@ -72339,8 +81528,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72353,9 +81542,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", @@ -72365,8 +81554,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -72379,9 +81568,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", @@ -72391,8 +81580,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72416,8 +81605,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -72436,8 +81625,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72471,8 +81660,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72481,43 +81670,29 @@ { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:availableInstruments:)", + "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "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" @@ -72529,13 +81704,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, @@ -72590,13 +81773,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, @@ -72605,26 +81796,87 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", + "printedName": "Swift.String??", "children": [ { "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" + } + ], + "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" @@ -72635,8 +81887,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -72648,30 +81900,30 @@ "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -72679,36 +81931,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "addressLocality", + "printedName": "addressLocality", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -72716,36 +81968,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "addressRegion", + "printedName": "addressRegion", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -72753,36 +82005,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "extendedAddress", + "printedName": "extendedAddress", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -72790,36 +82042,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "firstName", + "printedName": "firstName", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -72827,36 +82079,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "name": "lastName", + "printedName": "lastName", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -72864,8 +82116,119 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", + "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:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -72876,13 +82239,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "usr": "s:Sq" @@ -72895,8 +82258,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -72909,13 +82272,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "usr": "s:Sq" @@ -72928,8 +82291,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72945,13 +82308,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "usr": "s:Sq" @@ -72964,8 +82327,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -72983,8 +82346,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -73009,8 +82372,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -73035,8 +82398,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -73056,8 +82419,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -73074,8 +82437,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73098,8 +82461,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -73116,8 +82479,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -73126,8 +82489,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -73221,8 +82584,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -73271,46 +82634,24 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "PaymentHandlerResponseSchemaAvailableInstrument", + "name": "PreferredPaymentHandler", + "printedName": "PreferredPaymentHandler", "children": [ { "kind": "Var", - "name": "constraints", - "printedName": "constraints", + "name": "handler", + "printedName": "handler", "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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7handlerSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7handlerSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -73325,36 +82666,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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7handlerSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7handlerSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73366,19 +82685,35 @@ }, { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "types", + "printedName": "types", "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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV5typesSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV5typesSaySSGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -73393,14 +82728,30 @@ "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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV5typesSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV5typesSaySSGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -73417,9 +82768,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" }, { "kind": "TypeNominal", @@ -73436,65 +82787,13 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(constraints:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, { "kind": "Constructor", "name": "init", @@ -73502,9 +82801,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" }, { "kind": "TypeNominal", @@ -73514,8 +82813,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73528,9 +82827,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" }, { "kind": "TypeNominal", @@ -73540,8 +82839,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -73554,9 +82853,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" }, { "kind": "TypeNominal", @@ -73566,320 +82865,39 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_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:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "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": "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: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", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PostalAddress", - "printedName": "PostalAddress", - "children": [ - { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "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": [ + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(handler:types:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -73888,87 +82906,67 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7handler5typesACSS_SaySSGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV7handler5typesACSS_SaySSGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", + "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": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV6encode2toys7Encoder_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": "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": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -73983,55 +82981,34 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_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:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", + "kind": "Function", + "name": "with", + "printedName": "with(handler:types:)", "children": [ + { + "kind": "TypeNominal", + "name": "PreferredPaymentHandler", + "printedName": "EmbeddedCheckoutProtocol.PreferredPaymentHandler", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -74044,74 +83021,118 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "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()", + "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": "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:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV4with7handler5typesACSSSg_SaySSGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV4with7handler5typesACSSSg_SaySSGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV", + "mangledName": "$s24EmbeddedCheckoutProtocol23PreferredPaymentHandlerV", + "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": "QuantityUnit", + "printedName": "QuantityUnit", + "children": [ { "kind": "Var", - "name": "lastName", - "printedName": "lastName", + "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:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV11displayTextSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV11displayTextSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74126,22 +83147,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:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV11displayTextSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV11displayTextSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74153,27 +83166,27 @@ }, { "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "name": "scale", + "printedName": "scale", "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:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV5scaleSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV5scaleSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74189,21 +83202,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:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV5scaleSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV5scaleSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74215,27 +83228,19 @@ }, { "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", + "name": "unit", + "printedName": "unit", "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:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV4unitSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV4unitSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74250,22 +83255,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:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV4unitSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV4unitSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74277,27 +83274,27 @@ }, { "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", + "name": "increment", + "printedName": "increment", "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:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV9incrementSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV9incrementSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74313,21 +83310,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:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV9incrementSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV9incrementSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74344,9 +83341,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" }, { "kind": "TypeNominal", @@ -74363,8 +83360,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74373,171 +83370,85 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", + "printedName": "init(data:)", "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" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" }, { "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": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(displayText:scale:unit:increment:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" }, - { - "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?", + "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" }, { "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": "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": "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", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV11displayText5scale4unit9incrementACSS_SiSgSSAHtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV11displayText5scale4unit9incrementACSS_SiSgSSAHtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { @@ -74547,9 +83458,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" }, { "kind": "TypeNominal", @@ -74559,8 +83470,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74573,9 +83484,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" }, { "kind": "TypeNominal", @@ -74585,8 +83496,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74610,8 +83521,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74630,8 +83541,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74665,8 +83576,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -74675,147 +83586,24 @@ { "kind": "Function", "name": "with", - "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", + "printedName": "with(displayText:scale:unit:increment:)", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "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" + "name": "QuantityUnit", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV" }, { "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, @@ -74824,18 +83612,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "Swift.Int??", "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" @@ -74847,21 +83635,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, @@ -74870,18 +83650,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "Swift.Int??", "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" @@ -74892,8 +83672,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV4with11displayText5scale4unit9incrementACSSSg_SiSgSgAiKtF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV4with11displayText5scale4unit9incrementACSSSg_SiSgSgAiKtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -74905,215 +83685,30 @@ "children": [ { "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type) -> EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" } ] } @@ -75121,36 +83716,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11displayTextyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "name": "scale", + "printedName": "scale", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type) -> EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" } ] } @@ -75158,36 +83753,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO5scaleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO5scaleyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", + "name": "unit", + "printedName": "unit", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type) -> EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" } ] } @@ -75195,36 +83790,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO4unityA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO4unityA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", + "name": "increment", + "printedName": "increment", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type) -> EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" } ] } @@ -75232,8 +83827,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO9incrementyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO9incrementyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -75244,13 +83839,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" } ], "usr": "s:Sq" @@ -75263,8 +83858,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -75277,13 +83872,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" } ], "usr": "s:Sq" @@ -75296,8 +83891,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75313,13 +83908,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.QuantityUnit.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO" } ], "usr": "s:Sq" @@ -75332,8 +83927,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -75351,8 +83946,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -75377,8 +83972,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -75403,8 +83998,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -75424,8 +84019,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -75442,8 +84037,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -75466,8 +84061,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -75484,8 +84079,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -75494,8 +84089,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -75589,8 +84184,8 @@ } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV", + "usr": "s:24EmbeddedCheckoutProtocol12QuantityUnitV", + "mangledName": "$s24EmbeddedCheckoutProtocol12QuantityUnitV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -79551,154 +88146,323 @@ }, { "kind": "TypeDecl", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "UCPCheckoutResponseSchemaStatus", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "UCPCheckoutResponseSchemaStatus", + "children": [ + { + "kind": "Var", + "name": "error", + "printedName": "error", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "success", + "printedName": "success", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "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": "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", + "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" + }, + { + "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": "UCPOrderResponseSchema", + "printedName": "UCPOrderResponseSchema", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "capabilities", + "printedName": "capabilities", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "success", - "printedName": "success", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", - "children": [ + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" } - ] - } - ] - } - ], - "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:SD" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", "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" - } + "HasStorage" ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -79707,130 +88471,67 @@ "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" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "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": "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": "UCPOrderResponseSchema", - "printedName": "UCPOrderResponseSchema", - "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "mapOrder", + "printedName": "mapOrder", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : [Swift.String]]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : [Swift.String]]", "children": [ { "kind": "TypeNominal", @@ -79841,13 +88542,13 @@ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" @@ -79860,8 +88561,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8mapOrderSDySSSaySSGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8mapOrderSDySSSaySSGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -79877,12 +88578,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : [Swift.String]]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : [Swift.String]]", "children": [ { "kind": "TypeNominal", @@ -79893,13 +88594,13 @@ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" @@ -79912,8 +88613,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8mapOrderSDySSSaySSGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8mapOrderSDySSSaySSGGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -80279,7 +88980,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "printedName": "init(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", @@ -80323,6 +89024,42 @@ ], "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": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -80417,8 +89154,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities8mapOrder15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSaySSGGSgSDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities8mapOrder15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSaySSGGSgSDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, @@ -80583,7 +89320,7 @@ { "kind": "Function", "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "printedName": "with(capabilities:mapOrder:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", @@ -80594,17 +89331,62 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "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 : [Swift.String]]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "printedName": "[Swift.String : [Swift.String]]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "printedName": "[Swift.String : [Swift.String]]", "children": [ { "kind": "TypeNominal", @@ -80615,13 +89397,13 @@ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sa" @@ -80766,8 +89548,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities8mapOrder15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSaySSGGSgSgSDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities8mapOrder15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSaySSGGSgSgSDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "funcSelfKind": "NonMutating" @@ -80814,6 +89596,43 @@ "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, + { + "kind": "Var", + "name": "mapOrder", + "printedName": "mapOrder", + "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:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8mapOrderyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8mapOrderyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", "name": "paymentHandlers", @@ -81362,6 +90181,557 @@ "mangledName": "$ss9EscapableP" } ] + }, + { + "kind": "TypeDecl", + "name": "UnitPrice", + "printedName": "UnitPrice", + "children": [ + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV6amountSivp", + "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:24EmbeddedCheckoutProtocol9UnitPriceV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV6amountSivg", + "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:24EmbeddedCheckoutProtocol9UnitPriceV8currencySSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV8currencySSvp", + "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:24EmbeddedCheckoutProtocol9UnitPriceV8currencySSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV8currencySSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "measure", + "printedName": "measure", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV7measureAA7MeasureVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV7measureAA7MeasureVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV7measureAA7MeasureVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV7measureAA7MeasureVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "reference", + "printedName": "reference", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV9referenceAA7MeasureVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV9referenceAA7MeasureVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV9referenceAA7MeasureVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV9referenceAA7MeasureVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + }, + { + "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:24EmbeddedCheckoutProtocol9UnitPriceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(amount:currency:measure:reference:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + }, + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV6amount8currency7measure9referenceACSi_SSAA7MeasureVAItcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV6amount8currency7measure9referenceACSi_SSAA7MeasureVAItcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV7fromURLAC10Foundation0G0V_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:24EmbeddedCheckoutProtocol9UnitPriceV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV6encode2toys7Encoder_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:24EmbeddedCheckoutProtocol9UnitPriceV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV8jsonData10Foundation0G0VyKF", + "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:24EmbeddedCheckoutProtocol9UnitPriceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(amount:currency:measure:reference:)", + "children": [ + { + "kind": "TypeNominal", + "name": "UnitPrice", + "printedName": "EmbeddedCheckoutProtocol.UnitPrice", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV" + }, + { + "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" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure?", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Measure?", + "children": [ + { + "kind": "TypeNominal", + "name": "Measure", + "printedName": "EmbeddedCheckoutProtocol.Measure", + "usr": "s:24EmbeddedCheckoutProtocol7MeasureV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV4with6amount8currency7measure9referenceACSiSg_SSSgAA7MeasureVSgAMtF", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV4with6amount8currency7measure9referenceACSiSg_SSSgAA7MeasureVSgAMtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol9UnitPriceV", + "mangledName": "$s24EmbeddedCheckoutProtocol9UnitPriceV", + "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" + } + ] } ], "json_format_version": 8 diff --git a/platforms/web/src/checkout.test.ts b/platforms/web/src/checkout.test.ts index b1d1324de..54f396fcf 100644 --- a/platforms/web/src/checkout.test.ts +++ b/platforms/web/src/checkout.test.ts @@ -194,7 +194,7 @@ describe("", () => { it("replaces caller-supplied ec_* parameters", () => { const checkout = renderCheckout({ - src: "https://example.com/checkout?ec_version=stale&ec_delegate=custom", + src: "https://example.com/checkout?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom", }); const windowOpenSpy = vi.spyOn(window, "open").mockReturnValue(createMockWindow()); @@ -202,7 +202,7 @@ describe("", () => { checkout.open(); const url = new URL(expectWindowOpenArgs(windowOpenSpy)[0] as string); - expect(url.searchParams.getAll("ec_version")).toEqual([EMBED_PROTOCOL_VERSION]); + expect(url.searchParams.getAll("ec_version")).toEqual(["2026-08-25"]); expect(url.searchParams.getAll("ec_delegate")).toEqual(["window.open"]); }); diff --git a/platforms/web/src/checkout.ts b/platforms/web/src/checkout.ts index f962cadc3..bf0ddb2cf 100644 --- a/platforms/web/src/checkout.ts +++ b/platforms/web/src/checkout.ts @@ -795,7 +795,7 @@ export class ShopifyCheckout * notification/request. Handlers receive already-decoded payloads and map * them onto the component's cached state and DOM events. * - * @see https://ucp.dev/2026-04-08/specification/embedded-checkout/ + * @see https://ucp.dev/2026-08-25/specification/shopping/checkout/embedded/ */ #buildProtocolClient(): EmbeddedCheckoutProtocol.Client { const { Event } = EmbeddedCheckoutProtocol; diff --git a/platforms/web/src/checkout.types.ts b/platforms/web/src/checkout.types.ts index a1f4b36d1..e6e4bd8ea 100644 --- a/platforms/web/src/checkout.types.ts +++ b/platforms/web/src/checkout.types.ts @@ -161,7 +161,7 @@ export type TypedEventListener = */ /** - * Mapping of the 2026-04-08 ECP messages this component handles to their + * Mapping of the 2026-08-25 ECP messages this component handles to their * wire-format payloads. Delegation methods (fulfillment.address_change_request, * payment.instruments_change_request, payment.credential_request) and the * embedder→embedded `ec.submit` are intentionally omitted — this component diff --git a/protocol/README.md b/protocol/README.md new file mode 100644 index 000000000..6f89a746f --- /dev/null +++ b/protocol/README.md @@ -0,0 +1,42 @@ +# Protocol revision compatibility + +The vendored schemas and service definition mirror the UCP revision pinned in +`source-lock.json`. Run `dev protocol update-upstream --ref ` to refresh them +and `dev protocol check-upstream` to verify their provenance. Naming and decoder +compatibility adjustments belong in the temporary schema preparation in +`scripts/generate_models.mjs`, never in the vendored schemas. + +The current SDK handshake requests `2026-08-25`. The model tests also retain +`2026-04-08` checkout and error messages to cover older wire payloads. April dates +in those fixtures are intentional, not current-version defaults or package +release coordinates. + +The compatibility fixtures exercise `ucp.map_order`, custom fulfillment method +strings (`drone_delivery`), destinations with and without the August `type` +discriminator, and unknown checkout, fulfillment-method, and signals fields. +SwiftPM bundles fixtures within its test target; JVM tests use classpath +resources. Each language therefore keeps identical JSON copies in its native +test-resource directory, and the TypeScript compatibility suite checks that all +three copies remain byte-for-byte equal. + +The native models preserve unknown properties on their existing open model +surfaces (including checkout and fulfillment methods) and arbitrary signals. +Unknown UCP metadata is accepted and ignored by the native models; TypeScript +preserves it. `map_order` is a known, typed member in all three languages. + +The generated destination model includes both postal-address and business-location +fields. Its discriminator is optional to decode April destinations; this does not +relax the requirement for businesses emitting August responses to include `type`. + +Wire compatibility does not imply source or binary compatibility. Open fulfillment +strings replace the old closed method enums, and generated constructors and +structured fields change. Review the public API reports before a native release. + +The fixtures cover representative April messages, not every historical shape. +The fulfillment-option description decoder narrowly accepts the legacy April +string representation, normalizing it into the existing structured `Description` +model with `plain` set and the rich-text representations absent. Re-encoding +canonicalizes that legacy string to `{ "plain": "..." }`; it does not preserve the +original string wire shape. Payment-instrument constraints use the closed +`ConstraintExpression` model, and unknown legacy constraint keys are not promised +native round-trip preservation. diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api b/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api index def921f26..c41db449b 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api +++ b/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api @@ -103,13 +103,16 @@ public final class com/shopify/ucp/embedded/checkout/Adjustment$Companion { public final class com/shopify/ucp/embedded/checkout/AdjustmentLineItem { public static final field Companion Lcom/shopify/ucp/embedded/checkout/AdjustmentLineItem$Companion; - public fun (Ljava/lang/String;J)V + public fun (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Measure;J)V + public synthetic fun (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Measure;JILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; - public final fun component2 ()J - public final fun copy (Ljava/lang/String;J)Lcom/shopify/ucp/embedded/checkout/AdjustmentLineItem; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/AdjustmentLineItem;Ljava/lang/String;JILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/AdjustmentLineItem; + public final fun component2 ()Lcom/shopify/ucp/embedded/checkout/Measure; + public final fun component3 ()J + public final fun copy (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Measure;J)Lcom/shopify/ucp/embedded/checkout/AdjustmentLineItem; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/AdjustmentLineItem;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Measure;JILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/AdjustmentLineItem; public fun equals (Ljava/lang/Object;)Z public final fun getId ()Ljava/lang/String; + public final fun getMeasure ()Lcom/shopify/ucp/embedded/checkout/Measure; public final fun getQuantity ()J public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -394,30 +397,33 @@ public final class com/shopify/ucp/embedded/checkout/CapabilityResponseSchema$Co public final class com/shopify/ucp/embedded/checkout/Checkout { public static final field Companion Lcom/shopify/ucp/embedded/checkout/Checkout$Companion; - public fun (Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;)V - public synthetic fun (Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Ljava/util/List;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;)V + public synthetic fun (Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Ljava/util/List;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/Map; - public final fun component10 ()Ljava/util/List; + public final fun component10 ()Ljava/lang/String; public final fun component11 ()Ljava/util/List; public final fun component12 ()Ljava/util/List; - public final fun component13 ()Lcom/shopify/ucp/embedded/checkout/OrderConfirmation; - public final fun component14 ()Lcom/shopify/ucp/embedded/checkout/Payment; - public final fun component15 ()Lkotlinx/serialization/json/JsonObject; - public final fun component16 ()Lcom/shopify/ucp/embedded/checkout/CheckoutStatus; - public final fun component17 ()Ljava/util/List; - public final fun component18 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema; - public final fun component19 ()Ljava/util/Map; - public final fun component2 ()Lcom/shopify/ucp/embedded/checkout/Buyer; - public final fun component3 ()Lcom/shopify/ucp/embedded/checkout/Context; - public final fun component4 ()Ljava/lang/String; + public final fun component13 ()Ljava/util/List; + public final fun component14 ()Lcom/shopify/ucp/embedded/checkout/OrderConfirmation; + public final fun component15 ()Lcom/shopify/ucp/embedded/checkout/Payment; + public final fun component16 ()Ljava/util/List; + public final fun component17 ()Lkotlinx/serialization/json/JsonObject; + public final fun component18 ()Lcom/shopify/ucp/embedded/checkout/CheckoutStatus; + public final fun component19 ()Ljava/util/List; + public final fun component2 ()Ljava/util/Map; + public final fun component20 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema; + public final fun component21 ()Ljava/util/Map; + public final fun component3 ()Lcom/shopify/ucp/embedded/checkout/Buyer; + public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/Context; public final fun component5 ()Ljava/lang/String; - public final fun component6 ()Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts; - public final fun component7 ()Ljava/lang/String; - public final fun component8 ()Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment; - public final fun component9 ()Ljava/lang/String; - public final fun copy (Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/Checkout; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Checkout;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Checkout; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts; + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment; + public final fun copy (Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Ljava/util/List;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/Checkout; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Checkout;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/Buyer;Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutDiscounts;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/CheckoutFulfillment;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;Lcom/shopify/ucp/embedded/checkout/Payment;Ljava/util/List;Lkotlinx/serialization/json/JsonObject;Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Checkout; public fun equals (Ljava/lang/Object;)Z + public final fun getActions ()Ljava/util/Map; public final fun getAdditionalProperties ()Ljava/util/Map; public final fun getAttribution ()Ljava/util/Map; public final fun getBuyer ()Lcom/shopify/ucp/embedded/checkout/Buyer; @@ -433,6 +439,7 @@ public final class com/shopify/ucp/embedded/checkout/Checkout { public final fun getMessages ()Ljava/util/List; public final fun getOrder ()Lcom/shopify/ucp/embedded/checkout/OrderConfirmation; public final fun getPayment ()Lcom/shopify/ucp/embedded/checkout/Payment; + public final fun getPolicies ()Ljava/util/List; public final fun getSignals ()Lkotlinx/serialization/json/JsonObject; public final fun getStatus ()Lcom/shopify/ucp/embedded/checkout/CheckoutStatus; public final fun getTotals ()Ljava/util/List; @@ -634,6 +641,76 @@ public final class com/shopify/ucp/embedded/checkout/Client { public final fun process (Ljava/lang/String;)Ljava/lang/String; } +public final class com/shopify/ucp/embedded/checkout/ConstraintExpression { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/ConstraintExpression$Companion; + public fun ()V + public fun (Ljava/util/List;Ljava/util/Map;Ljava/util/List;)V + public synthetic fun (Ljava/util/List;Ljava/util/Map;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Ljava/util/Map; + public final fun component3 ()Ljava/util/List; + public final fun copy (Ljava/util/List;Ljava/util/Map;Ljava/util/List;)Lcom/shopify/ucp/embedded/checkout/ConstraintExpression; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/util/List;Ljava/util/Map;Ljava/util/List;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/ConstraintExpression; + public fun equals (Ljava/lang/Object;)Z + public final fun getAnyOf ()Ljava/util/List; + public final fun getProperties ()Ljava/util/Map; + public final fun getRequired ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class com/shopify/ucp/embedded/checkout/ConstraintExpression$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/ConstraintExpression$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/ConstraintExpression; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/ConstraintExpression$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/ConstraintProperty { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/ConstraintProperty$Companion; + public fun ()V + public fun (Ljava/util/List;Ljava/util/Map;Ljava/util/List;Lkotlinx/serialization/json/JsonElement;Lkotlinx/serialization/json/JsonArray;)V + public synthetic fun (Ljava/util/List;Ljava/util/Map;Ljava/util/List;Lkotlinx/serialization/json/JsonElement;Lkotlinx/serialization/json/JsonArray;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Ljava/util/Map; + public final fun component3 ()Ljava/util/List; + public final fun component4 ()Lkotlinx/serialization/json/JsonElement; + public final fun component5 ()Lkotlinx/serialization/json/JsonArray; + public final fun copy (Ljava/util/List;Ljava/util/Map;Ljava/util/List;Lkotlinx/serialization/json/JsonElement;Lkotlinx/serialization/json/JsonArray;)Lcom/shopify/ucp/embedded/checkout/ConstraintProperty; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/ConstraintProperty;Ljava/util/List;Ljava/util/Map;Ljava/util/List;Lkotlinx/serialization/json/JsonElement;Lkotlinx/serialization/json/JsonArray;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/ConstraintProperty; + public fun equals (Ljava/lang/Object;)Z + public final fun getAnyOf ()Ljava/util/List; + public final fun getConst ()Lkotlinx/serialization/json/JsonElement; + public final fun getEnum ()Lkotlinx/serialization/json/JsonArray; + public final fun getProperties ()Ljava/util/Map; + public final fun getRequired ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class com/shopify/ucp/embedded/checkout/ConstraintProperty$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/ConstraintProperty$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/ConstraintProperty; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/ConstraintProperty;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/ConstraintProperty$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class com/shopify/ucp/embedded/checkout/ContentType : java/lang/Enum { public static final field Companion Lcom/shopify/ucp/embedded/checkout/ContentType$Companion; public static final field Markdown Lcom/shopify/ucp/embedded/checkout/ContentType; @@ -651,18 +728,20 @@ public final class com/shopify/ucp/embedded/checkout/ContentType$Companion { public final class com/shopify/ucp/embedded/checkout/Context { public static final field Companion Lcom/shopify/ucp/embedded/checkout/Context$Companion; public fun ()V - public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; + public final fun component10 ()Ljava/util/Map; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; - public final fun component4 ()Ljava/util/List; - public final fun component5 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/util/List; public final fun component6 ()Ljava/lang/String; public final fun component7 ()Ljava/lang/String; - public final fun component8 ()Ljava/util/Map; - public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/Context; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Context; + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Ljava/util/List; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/Context; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Context; public fun equals (Ljava/lang/Object;)Z public final fun getAdditionalProperties ()Ljava/util/Map; public final fun getAddressCountry ()Ljava/lang/String; @@ -671,6 +750,8 @@ public final class com/shopify/ucp/embedded/checkout/Context { public final fun getEligibility ()Ljava/util/List; public final fun getIntent ()Ljava/lang/String; public final fun getLanguage ()Ljava/lang/String; + public final fun getLocation ()Ljava/lang/String; + public final fun getPayment ()Ljava/util/List; public final fun getPostalCode ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -752,6 +833,39 @@ public final class com/shopify/ucp/embedded/checkout/CredentialResult$Companion public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class com/shopify/ucp/embedded/checkout/Description { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/Description$Companion; + public fun ()V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/Description; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Description; + public fun equals (Ljava/lang/Object;)Z + public final fun getHtml ()Ljava/lang/String; + public final fun getMarkdown ()Ljava/lang/String; + public final fun getPlain ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class com/shopify/ucp/embedded/checkout/Description$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/Description$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/Description; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/Description;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/Description$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class com/shopify/ucp/embedded/checkout/DescriptorsKt { public static final fun notificationDescriptor (Ljava/lang/String;Lkotlinx/serialization/KSerializer;Lkotlin/jvm/functions/Function1;)Lcom/shopify/ucp/embedded/checkout/NotificationDescriptor; public static final fun requestDescriptor (Ljava/lang/String;Ljava/lang/String;Lkotlinx/serialization/KSerializer;Lkotlinx/serialization/KSerializer;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lcom/shopify/ucp/embedded/checkout/RequestDescriptor; @@ -1056,17 +1170,19 @@ public final class com/shopify/ucp/embedded/checkout/ErrorResponse$Companion { public final class com/shopify/ucp/embedded/checkout/ErrorResponseUcp { public static final field Companion Lcom/shopify/ucp/embedded/checkout/ErrorResponseUcp$Companion; - public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;)V - public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;)V + public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/Map; public final fun component2 ()Ljava/util/Map; public final fun component3 ()Ljava/util/Map; - public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/ErrorStatus; - public final fun component5 ()Ljava/lang/String; - public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/ErrorResponseUcp; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/ErrorResponseUcp;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/ErrorResponseUcp; + public final fun component4 ()Ljava/util/Map; + public final fun component5 ()Lcom/shopify/ucp/embedded/checkout/ErrorStatus; + public final fun component6 ()Ljava/lang/String; + public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/ErrorResponseUcp; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/ErrorResponseUcp;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/ErrorStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/ErrorResponseUcp; public fun equals (Ljava/lang/Object;)Z public final fun getCapabilities ()Ljava/util/Map; + public final fun getMapOrder ()Ljava/util/Map; public final fun getPaymentHandlers ()Ljava/util/Map; public final fun getServices ()Ljava/util/Map; public final fun getStatus ()Lcom/shopify/ucp/embedded/checkout/ErrorStatus; @@ -1134,23 +1250,23 @@ public final class com/shopify/ucp/embedded/checkout/EventLineItem$Companion { public final class com/shopify/ucp/embedded/checkout/Expectation { public static final field Companion Lcom/shopify/ucp/embedded/checkout/Expectation$Companion; - public fun (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/MethodType;)V - public synthetic fun (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/MethodType;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Lcom/shopify/ucp/embedded/checkout/PostalAddress; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; public final fun component5 ()Ljava/util/List; - public final fun component6 ()Lcom/shopify/ucp/embedded/checkout/MethodType; - public final fun copy (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/MethodType;)Lcom/shopify/ucp/embedded/checkout/Expectation; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Expectation;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/MethodType;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Expectation; + public final fun component6 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/Expectation; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Expectation;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Expectation; public fun equals (Ljava/lang/Object;)Z public final fun getDescription ()Ljava/lang/String; public final fun getDestination ()Lcom/shopify/ucp/embedded/checkout/PostalAddress; public final fun getFulfillableOn ()Ljava/lang/String; public final fun getId ()Ljava/lang/String; public final fun getLineItems ()Ljava/util/List; - public final fun getMethodType ()Lcom/shopify/ucp/embedded/checkout/MethodType; + public final fun getMethodType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -1250,21 +1366,21 @@ public final class com/shopify/ucp/embedded/checkout/Fulfillment$Companion { public final class com/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod { public static final field Companion Lcom/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/util/List; - public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; + public final fun component4 ()Ljava/lang/String; public final fun component5 ()Ljava/util/Map; - public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentAvailableMethod; public fun equals (Ljava/lang/Object;)Z public final fun getAdditionalProperties ()Ljava/util/Map; public final fun getDescription ()Ljava/lang/String; public final fun getFulfillableOn ()Ljava/lang/String; public final fun getLineItemIDS ()Ljava/util/List; - public final fun getType ()Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; + public final fun getType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -1284,12 +1400,13 @@ public final class com/shopify/ucp/embedded/checkout/FulfillmentAvailableMethodS public final class com/shopify/ucp/embedded/checkout/FulfillmentDestination { public static final field Companion Lcom/shopify/ucp/embedded/checkout/FulfillmentDestination$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Ljava/lang/String; + public fun (Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lcom/shopify/ucp/embedded/checkout/PostalAddress; public final fun component10 ()Ljava/lang/String; - public final fun component11 ()Lcom/shopify/ucp/embedded/checkout/PostalAddress; + public final fun component11 ()Ljava/lang/String; public final fun component12 ()Ljava/lang/String; + public final fun component13 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; @@ -1298,8 +1415,8 @@ public final class com/shopify/ucp/embedded/checkout/FulfillmentDestination { public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ljava/lang/String; public final fun component9 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/FulfillmentDestination; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentDestination;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentDestination; + public final fun copy (Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/FulfillmentDestination; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentDestination;Lcom/shopify/ucp/embedded/checkout/PostalAddress;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentDestination; public fun equals (Ljava/lang/Object;)Z public final fun getAddress ()Lcom/shopify/ucp/embedded/checkout/PostalAddress; public final fun getAddressCountry ()Ljava/lang/String; @@ -1313,6 +1430,7 @@ public final class com/shopify/ucp/embedded/checkout/FulfillmentDestination { public final fun getPhoneNumber ()Ljava/lang/String; public final fun getPostalCode ()Ljava/lang/String; public final fun getStreetAddress ()Ljava/lang/String; + public final fun getType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -1410,17 +1528,17 @@ public final class com/shopify/ucp/embedded/checkout/FulfillmentGroupSerializer public final class com/shopify/ucp/embedded/checkout/FulfillmentMethod { public static final field Companion Lcom/shopify/ucp/embedded/checkout/FulfillmentMethod$Companion; - public fun (Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;)V - public synthetic fun (Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V + public synthetic fun (Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/List; public final fun component2 ()Ljava/util/List; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/util/List; public final fun component5 ()Ljava/lang/String; - public final fun component6 ()Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; + public final fun component6 ()Ljava/lang/String; public final fun component7 ()Ljava/util/Map; - public final fun copy (Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/FulfillmentMethod; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentMethod;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentMethod; + public final fun copy (Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/FulfillmentMethod; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentMethod;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentMethod; public fun equals (Ljava/lang/Object;)Z public final fun getAdditionalProperties ()Ljava/util/Map; public final fun getDestinations ()Ljava/util/List; @@ -1428,7 +1546,7 @@ public final class com/shopify/ucp/embedded/checkout/FulfillmentMethod { public final fun getId ()Ljava/lang/String; public final fun getLineItemIDS ()Ljava/util/List; public final fun getSelectedDestinationID ()Ljava/lang/String; - public final fun getType ()Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; + public final fun getType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -1446,25 +1564,11 @@ public final class com/shopify/ucp/embedded/checkout/FulfillmentMethodSerializer public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V } -public final class com/shopify/ucp/embedded/checkout/FulfillmentMethodType : java/lang/Enum { - public static final field Companion Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType$Companion; - public static final field Pickup Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; - public static final field Shipping Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; - public static fun getEntries ()Lkotlin/enums/EnumEntries; - public final fun getValue ()Ljava/lang/String; - public static fun valueOf (Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; - public static fun values ()[Lcom/shopify/ucp/embedded/checkout/FulfillmentMethodType; -} - -public final class com/shopify/ucp/embedded/checkout/FulfillmentMethodType$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; -} - public final class com/shopify/ucp/embedded/checkout/FulfillmentOption { public static final field Companion Lcom/shopify/ucp/embedded/checkout/FulfillmentOption$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Ljava/lang/String; + public fun (Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)V + public synthetic fun (Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lcom/shopify/ucp/embedded/checkout/Description; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; @@ -1472,12 +1576,12 @@ public final class com/shopify/ucp/embedded/checkout/FulfillmentOption { public final fun component6 ()Ljava/lang/String; public final fun component7 ()Ljava/util/List; public final fun component8 ()Ljava/util/Map; - public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/FulfillmentOption; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentOption;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentOption; + public final fun copy (Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/FulfillmentOption; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/FulfillmentOption;Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/FulfillmentOption; public fun equals (Ljava/lang/Object;)Z public final fun getAdditionalProperties ()Ljava/util/Map; public final fun getCarrier ()Ljava/lang/String; - public final fun getDescription ()Ljava/lang/String; + public final fun getDescription ()Lcom/shopify/ucp/embedded/checkout/Description; public final fun getEarliestFulfillmentTime ()Ljava/lang/String; public final fun getId ()Ljava/lang/String; public final fun getLatestFulfillmentTime ()Ljava/lang/String; @@ -1596,17 +1700,19 @@ public final class com/shopify/ucp/embedded/checkout/InstrumentsChangeResult$Com public final class com/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp { public static final field Companion Lcom/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp$Companion; - public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)V - public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)V + public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/Map; public final fun component2 ()Ljava/util/Map; public final fun component3 ()Ljava/util/Map; - public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; - public final fun component5 ()Ljava/lang/String; - public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp; + public final fun component4 ()Ljava/util/Map; + public final fun component5 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; + public final fun component6 ()Ljava/lang/String; + public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp; public fun equals (Ljava/lang/Object;)Z public final fun getCapabilities ()Ljava/util/Map; + public final fun getMapOrder ()Ljava/util/Map; public final fun getPaymentHandlers ()Ljava/util/Map; public final fun getServices ()Ljava/util/Map; public final fun getStatus ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; @@ -1632,19 +1738,23 @@ public final class com/shopify/ucp/embedded/checkout/InstrumentsChangeResultUcp$ public final class com/shopify/ucp/embedded/checkout/Item { public static final field Companion Lcom/shopify/ucp/embedded/checkout/Item$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Ljava/lang/String;JLcom/shopify/ucp/embedded/checkout/QuantityUnit;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/UnitPrice;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;JLcom/shopify/ucp/embedded/checkout/QuantityUnit;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/UnitPrice;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; public final fun component3 ()J - public final fun component4 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;)Lcom/shopify/ucp/embedded/checkout/Item; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Item;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Item; + public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/QuantityUnit; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Lcom/shopify/ucp/embedded/checkout/UnitPrice; + public final fun copy (Ljava/lang/String;Ljava/lang/String;JLcom/shopify/ucp/embedded/checkout/QuantityUnit;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/UnitPrice;)Lcom/shopify/ucp/embedded/checkout/Item; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Item;Ljava/lang/String;Ljava/lang/String;JLcom/shopify/ucp/embedded/checkout/QuantityUnit;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/UnitPrice;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Item; public fun equals (Ljava/lang/Object;)Z public final fun getId ()Ljava/lang/String; public final fun getImageURL ()Ljava/lang/String; public final fun getPrice ()J + public final fun getQuantityUnit ()Lcom/shopify/ucp/embedded/checkout/QuantityUnit; public final fun getTitle ()Ljava/lang/String; + public final fun getUnitPrice ()Lcom/shopify/ucp/embedded/checkout/UnitPrice; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -1841,6 +1951,40 @@ public final class com/shopify/ucp/embedded/checkout/Link$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class com/shopify/ucp/embedded/checkout/Measure { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/Measure$Companion; + public fun (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;J)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;JILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/Long; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()J + public final fun copy (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;J)Lcom/shopify/ucp/embedded/checkout/Measure; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Measure;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;JILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Measure; + public fun equals (Ljava/lang/Object;)Z + public final fun getDisplayText ()Ljava/lang/String; + public final fun getScale ()Ljava/lang/Long; + public final fun getUnit ()Ljava/lang/String; + public final fun getValue ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class com/shopify/ucp/embedded/checkout/Measure$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/Measure$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/Measure; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/Measure;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/Measure$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class com/shopify/ucp/embedded/checkout/Message { public static final field Companion Lcom/shopify/ucp/embedded/checkout/Message$Companion; public fun (Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/ContentType;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Severity;Lcom/shopify/ucp/embedded/checkout/MessageType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V @@ -1900,21 +2044,6 @@ public final class com/shopify/ucp/embedded/checkout/MessageType$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class com/shopify/ucp/embedded/checkout/MethodType : java/lang/Enum { - public static final field Companion Lcom/shopify/ucp/embedded/checkout/MethodType$Companion; - public static final field Digital Lcom/shopify/ucp/embedded/checkout/MethodType; - public static final field Pickup Lcom/shopify/ucp/embedded/checkout/MethodType; - public static final field Shipping Lcom/shopify/ucp/embedded/checkout/MethodType; - public static fun getEntries ()Lkotlin/enums/EnumEntries; - public final fun getValue ()Ljava/lang/String; - public static fun valueOf (Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/MethodType; - public static fun values ()[Lcom/shopify/ucp/embedded/checkout/MethodType; -} - -public final class com/shopify/ucp/embedded/checkout/MethodType$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; -} - public final class com/shopify/ucp/embedded/checkout/NotificationDescriptor { public fun (Ljava/lang/String;)V public final fun decode (Lkotlinx/serialization/json/JsonElement;)Ljava/lang/Object; @@ -1924,12 +2053,13 @@ public final class com/shopify/ucp/embedded/checkout/NotificationDescriptor { public final class com/shopify/ucp/embedded/checkout/Order { public static final field Companion Lcom/shopify/ucp/embedded/checkout/Order$Companion; - public fun (Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;)V - public synthetic fun (Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;)V + public synthetic fun (Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/List; public final fun component10 ()Ljava/lang/String; public final fun component11 ()Ljava/util/List; - public final fun component12 ()Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema; + public final fun component12 ()Ljava/util/List; + public final fun component13 ()Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema; public final fun component2 ()Ljava/util/Map; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; @@ -1938,8 +2068,8 @@ public final class com/shopify/ucp/embedded/checkout/Order { public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ljava/util/List; public final fun component9 ()Ljava/util/List; - public final fun copy (Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;)Lcom/shopify/ucp/embedded/checkout/Order; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Order;Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Order; + public final fun copy (Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;)Lcom/shopify/ucp/embedded/checkout/Order; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Order;Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/shopify/ucp/embedded/checkout/Fulfillment;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Order; public fun equals (Ljava/lang/Object;)Z public final fun getAdjustments ()Ljava/util/List; public final fun getAttribution ()Ljava/util/Map; @@ -1951,6 +2081,7 @@ public final class com/shopify/ucp/embedded/checkout/Order { public final fun getLineItems ()Ljava/util/List; public final fun getMessages ()Ljava/util/List; public final fun getPermalinkURL ()Ljava/lang/String; + public final fun getPolicies ()Ljava/util/List; public final fun getTotals ()Ljava/util/List; public final fun getUcp ()Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema; public fun hashCode ()I @@ -2101,14 +2232,14 @@ public final class com/shopify/ucp/embedded/checkout/PaymentCredentialSerializer public final class com/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument { public static final field Companion Lcom/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument$Companion; - public fun (Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;)V - public synthetic fun (Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Lkotlinx/serialization/json/JsonObject; + public fun (Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;)V + public synthetic fun (Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lcom/shopify/ucp/embedded/checkout/ConstraintExpression; public final fun component2 ()Ljava/lang/String; - public final fun copy (Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument;Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument; + public final fun copy (Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument;Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerAvailableInstrument; public fun equals (Ljava/lang/Object;)Z - public final fun getConstraints ()Lkotlinx/serialization/json/JsonObject; + public final fun getConstraints ()Lcom/shopify/ucp/embedded/checkout/ConstraintExpression; public final fun getType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -2207,14 +2338,14 @@ public final class com/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchem public final class com/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument { public static final field Companion Lcom/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument$Companion; - public fun (Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;)V - public synthetic fun (Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Lkotlinx/serialization/json/JsonObject; + public fun (Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;)V + public synthetic fun (Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Lcom/shopify/ucp/embedded/checkout/ConstraintExpression; public final fun component2 ()Ljava/lang/String; - public final fun copy (Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument;Lkotlinx/serialization/json/JsonObject;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument; + public final fun copy (Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument;Lcom/shopify/ucp/embedded/checkout/ConstraintExpression;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchemaAvailableInstrument; public fun equals (Ljava/lang/Object;)Z - public final fun getConstraints ()Lkotlinx/serialization/json/JsonObject; + public final fun getConstraints ()Lcom/shopify/ucp/embedded/checkout/ConstraintExpression; public final fun getType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -2235,6 +2366,40 @@ public final class com/shopify/ucp/embedded/checkout/PaymentHandlerResponseSchem public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class com/shopify/ucp/embedded/checkout/Policy { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/Policy$Companion; + public fun (Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V + public synthetic fun (Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/util/List; + public final fun component2 ()Lcom/shopify/ucp/embedded/checkout/Description; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/util/Map; + public final fun copy (Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lcom/shopify/ucp/embedded/checkout/Policy; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/Policy;Ljava/util/List;Lcom/shopify/ucp/embedded/checkout/Description;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/Policy; + public fun equals (Ljava/lang/Object;)Z + public final fun getAdditionalProperties ()Ljava/util/Map; + public final fun getAppliesTo ()Ljava/util/List; + public final fun getDescription ()Lcom/shopify/ucp/embedded/checkout/Description; + public final fun getType ()Ljava/lang/String; + public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class com/shopify/ucp/embedded/checkout/Policy$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/PolicySerializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/PolicySerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/Policy; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/Policy;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V +} + public final class com/shopify/ucp/embedded/checkout/PostalAddress { public static final field Companion Lcom/shopify/ucp/embedded/checkout/PostalAddress$Companion; public fun ()V @@ -2280,6 +2445,70 @@ public final class com/shopify/ucp/embedded/checkout/PostalAddress$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class com/shopify/ucp/embedded/checkout/PreferredPaymentHandler { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/PreferredPaymentHandler$Companion; + public fun (Ljava/lang/String;Ljava/util/List;)V + public synthetic fun (Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/util/List; + public final fun copy (Ljava/lang/String;Ljava/util/List;)Lcom/shopify/ucp/embedded/checkout/PreferredPaymentHandler; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/PreferredPaymentHandler;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/PreferredPaymentHandler; + public fun equals (Ljava/lang/Object;)Z + public final fun getHandler ()Ljava/lang/String; + public final fun getTypes ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class com/shopify/ucp/embedded/checkout/PreferredPaymentHandler$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/PreferredPaymentHandler$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/PreferredPaymentHandler; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/PreferredPaymentHandler;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/PreferredPaymentHandler$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/QuantityUnit { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/QuantityUnit$Companion; + public fun (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/Long;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun component2 ()Ljava/lang/Long; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/Long; + public final fun copy (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/Long;)Lcom/shopify/ucp/embedded/checkout/QuantityUnit; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/QuantityUnit;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/Long;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/QuantityUnit; + public fun equals (Ljava/lang/Object;)Z + public final fun getDisplayText ()Ljava/lang/String; + public final fun getIncrement ()Ljava/lang/Long; + public final fun getScale ()Ljava/lang/Long; + public final fun getUnit ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class com/shopify/ucp/embedded/checkout/QuantityUnit$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/QuantityUnit$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/QuantityUnit; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/QuantityUnit;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/QuantityUnit$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class com/shopify/ucp/embedded/checkout/ReadyCheckout { public static final field Companion Lcom/shopify/ucp/embedded/checkout/ReadyCheckout$Companion; public fun ()V @@ -2573,17 +2802,19 @@ public final class com/shopify/ucp/embedded/checkout/Transport$Companion { public final class com/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema { public static final field Companion Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema$Companion; - public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)V - public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)V + public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/Map; public final fun component2 ()Ljava/util/Map; public final fun component3 ()Ljava/util/Map; - public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; - public final fun component5 ()Ljava/lang/String; - public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema; + public final fun component4 ()Ljava/util/Map; + public final fun component5 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; + public final fun component6 ()Ljava/lang/String; + public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchema; public fun equals (Ljava/lang/Object;)Z public final fun getCapabilities ()Ljava/util/Map; + public final fun getMapOrder ()Ljava/util/Map; public final fun getPaymentHandlers ()Ljava/util/Map; public final fun getServices ()Ljava/util/Map; public final fun getStatus ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; @@ -2623,17 +2854,19 @@ public final class com/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaSt public final class com/shopify/ucp/embedded/checkout/UCPOrderResponseSchema { public static final field Companion Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema$Companion; - public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)V - public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)V + public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/Map; public final fun component2 ()Ljava/util/Map; public final fun component3 ()Ljava/util/Map; - public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; - public final fun component5 ()Ljava/lang/String; - public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema; - public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema; + public final fun component4 ()Ljava/util/Map; + public final fun component5 ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; + public final fun component6 ()Ljava/lang/String; + public final fun copy (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;)Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus;Ljava/lang/String;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/UCPOrderResponseSchema; public fun equals (Ljava/lang/Object;)Z public final fun getCapabilities ()Ljava/util/Map; + public final fun getMapOrder ()Ljava/util/Map; public final fun getPaymentHandlers ()Ljava/util/Map; public final fun getServices ()Ljava/util/Map; public final fun getStatus ()Lcom/shopify/ucp/embedded/checkout/UCPCheckoutResponseSchemaStatus; @@ -2657,6 +2890,39 @@ public final class com/shopify/ucp/embedded/checkout/UCPOrderResponseSchema$Comp public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class com/shopify/ucp/embedded/checkout/UnitPrice { + public static final field Companion Lcom/shopify/ucp/embedded/checkout/UnitPrice$Companion; + public fun (JLjava/lang/String;Lcom/shopify/ucp/embedded/checkout/Measure;Lcom/shopify/ucp/embedded/checkout/Measure;)V + public final fun component1 ()J + public final fun component2 ()Ljava/lang/String; + public final fun component3 ()Lcom/shopify/ucp/embedded/checkout/Measure; + public final fun component4 ()Lcom/shopify/ucp/embedded/checkout/Measure; + public final fun copy (JLjava/lang/String;Lcom/shopify/ucp/embedded/checkout/Measure;Lcom/shopify/ucp/embedded/checkout/Measure;)Lcom/shopify/ucp/embedded/checkout/UnitPrice; + public static synthetic fun copy$default (Lcom/shopify/ucp/embedded/checkout/UnitPrice;JLjava/lang/String;Lcom/shopify/ucp/embedded/checkout/Measure;Lcom/shopify/ucp/embedded/checkout/Measure;ILjava/lang/Object;)Lcom/shopify/ucp/embedded/checkout/UnitPrice; + public fun equals (Ljava/lang/Object;)Z + public final fun getAmount ()J + public final fun getCurrency ()Ljava/lang/String; + public final fun getMeasure ()Lcom/shopify/ucp/embedded/checkout/Measure; + public final fun getReference ()Lcom/shopify/ucp/embedded/checkout/Measure; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class com/shopify/ucp/embedded/checkout/UnitPrice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/UnitPrice$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/UnitPrice; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/UnitPrice;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class com/shopify/ucp/embedded/checkout/UnitPrice$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class com/shopify/ucp/embedded/checkout/Upgrade { public static final field Companion Lcom/shopify/ucp/embedded/checkout/Upgrade$Companion; public fun ()V diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocol.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocol.kt index 1fc6e221e..9c657bc8c 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocol.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocol.kt @@ -18,7 +18,7 @@ import java.nio.charset.StandardCharsets * these wire-level names, descriptors, and generated payload models. */ public object EmbeddedCheckoutProtocol { - public const val SPEC_VERSION: String = "2026-04-08" + public const val SPEC_VERSION: String = "2026-08-25" /** * Options controlling the query parameters appended to a checkout URL when diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt index 03aae01a7..8fe37bfa1 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt @@ -10,6 +10,11 @@ import kotlinx.serialization.encoding.* */ @Serializable(with = CheckoutSerializer::class) public data class Checkout ( + /** + * Outstanding extension-defined JsonObject for this checkout. + */ + public val actions: Map>? = null, + public val attribution: Map? = null, /** @@ -73,10 +78,18 @@ public data class Checkout ( public val order: OrderConfirmation? = null, public val payment: Payment? = null, + + /** + * Policies (e.g., return/refund terms) that apply to the items in this checkout. + * `applies_to` targets are relative to the response root; when absent or empty, refer to + * the URLs in `links[]`. + */ + public val policies: List? = null, + public val signals: JsonObject? = null, /** - * Checkout state indicating the current phase and required action. See Checkout Status + * Checkout state indicating the current phase and required processing. See Checkout Status * lifecycle documentation for state transition details. */ public val status: CheckoutStatus, @@ -91,6 +104,15 @@ public data class Checkout ( public val additionalProperties: Map = emptyMap() ) +/** + * Non-empty instances of one Action type. JSON preserves array order; the declaring + * extension defines whether order has processing semantics. + * + * Common fields for one outstanding Action instance are id and optional config. The + * extension declaring the Action type defines type-specific processing data under config. + * Additional properties are permitted for forward compatibility. + */ + /** * Representation of the buyer. */ @@ -131,27 +153,32 @@ public data class Buyer ( * data. Context SHOULD be non-identifying and can be disclosed progressively—coarse signals * early, finer resolution as the session progresses. Higher-resolution data (shipping * address, billing address) supersedes context. + * + * A coarse geographic location — country, region, and postal code. A lightweight + * alternative to a full postal address. */ @Serializable(with = ContextSerializer::class) public data class Context ( /** - * The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". - * For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a - * full country name such as "Singapore" can also be used. Optional hint for market context - * (currency, availability, pricing)—higher-resolution data (e.g., shipping address) - * supersedes this value. + * The country, as a 2-letter ISO 3166-1 alpha-2 code (e.g. "US"). A 3-letter alpha-3 code + * or full country name MAY also be used. */ @SerialName("address_country") public val addressCountry: String? = null, /** - * The region in which the locality is, and which is in the country. For example, California - * or another appropriate first-level Administrative division. Optional hint for progressive - * localization—higher-resolution data (e.g., shipping address) supersedes this value. + * The first-level administrative region within the country (e.g. a state or province such + * as California). */ @SerialName("address_region") public val addressRegion: String? = null, + /** + * The postal code (e.g. "94043"). + */ + @SerialName("postal_code") + public val postalCode: String? = null, + /** * Preferred currency (ISO 4217, e.g., 'EUR', 'USD'). Businesses determine presentment * currency from context and authoritative signals; this hint MAY inform selection in @@ -187,15 +214,40 @@ public data class Context ( public val language: String? = null, /** - * The postal code. For example, 94043. Optional hint for regional - * refinement—higher-resolution data (e.g., shipping address) supersedes this value. + * Stable, opaque identifier for a Location in the Business's namespace. This provisional, + * non-binding hint is distinct from the Buyer's locality. The operation specification or an + * active capability/extension defines its effects. A common example in retail shopping is + * the default home store ID selected and saved by the user when purchasing groceries. */ - @SerialName("postal_code") - public val postalCode: String? = null, + public val location: String? = null, + + /** + * Buyer-preferred payment handlers in priority order (most preferred first). Each entry + * names a handler advertised in the Business profile's `ucp.payment_handlers`, optionally + * narrowed to preferred instrument types. The Business SHOULD use it to preselect or + * prioritize the handler (and type, when given) and MAY ignore unavailable or ineligible + * entries; unrecognized values MUST be ignored without error. + */ + public val payment: List? = null, public val additionalProperties: Map = emptyMap() ) +@Serializable +public data class PreferredPaymentHandler ( + /** + * Handler registry key advertised in the Business profile's `ucp.payment_handlers`. + */ + public val handler: String, + + /** + * Optional preferred instrument types for this handler, in priority order, aligned with the + * handler's advertised `payment_instrument.type` values (for example `card` or `bank`). + * Unrecognized values MUST be ignored. + */ + public val types: List? = null +) + /** * Discount codes input and applied discounts output. */ @@ -278,7 +330,8 @@ public data class DiscountAllocation ( public val amount: Long, /** - * JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals.shipping'). + * RFC 9535 JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals[?@.type == + * "fulfillment"]'). */ public val path: String ) @@ -335,31 +388,22 @@ public data class FulfillmentAvailableMethod ( public val lineItemIDS: List, /** - * Fulfillment method type this availability applies to. + * Fulfillment method type this availability applies to. Well-known values: `shipping`, + * `pickup`; businesses MAY use additional values. */ - public val type: FulfillmentMethodType, + public val type: String, public val additionalProperties: Map = emptyMap() ) /** - * Fulfillment method type this availability applies to. - * - * Fulfillment method type. - */ -@Serializable -public enum class FulfillmentMethodType(public val value: String) { - @SerialName("pickup") Pickup("pickup"), - @SerialName("shipping") Shipping("shipping"); -} - -/** - * A fulfillment method (shipping or pickup) with destinations and groups. + * A fulfillment method with destinations and groups. */ @Serializable(with = FulfillmentMethodSerializer::class) public data class FulfillmentMethod ( /** - * Available destinations. For shipping: addresses. For pickup: retail locations. + * Available destinations for this method. In Business responses, each destination carries a + * `type` and `id`. */ public val destinations: List? = null, @@ -381,34 +425,31 @@ public data class FulfillmentMethod ( public val lineItemIDS: List, /** - * ID of the selected destination. + * ID of the selected destination. Accepts any stable, Business-scoped ID the Business + * recognizes for this method, including Location IDs not yet enumerated in `destinations`. */ @SerialName("selected_destination_id") public val selectedDestinationID: String? = null, /** - * Fulfillment method type. + * Fulfillment method type. Well-known values: `shipping`, `pickup`. Businesses MAY use + * additional values. */ - public val type: FulfillmentMethodType, + public val type: String, public val additionalProperties: Map = emptyMap() ) /** * A destination for fulfillment. - * - * Shipping destination. - * - * Physical address of the location. - * - * The billing address associated with this payment method. - * - * Delivery destination address. - * - * A pickup location (retail store, locker, etc.). */ @Serializable public data class FulfillmentDestination ( + /** + * Physical address of the location. + */ + public val address: PostalAddress? = null, + /** * The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". * For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a @@ -444,12 +485,22 @@ public data class FulfillmentDestination ( @SerialName("first_name") public val firstName: String? = null, + /** + * Fulfillment destination identifier. + */ + public val id: String, + /** * Optional. Last name of the contact associated with the address. */ @SerialName("last_name") public val lastName: String? = null, + /** + * Buyer-facing, Business-owned display name. + */ + public val name: String? = null, + /** * Optional. Phone number of the contact associated with the address. */ @@ -469,21 +520,12 @@ public data class FulfillmentDestination ( public val streetAddress: String? = null, /** - * ID specific to this shipping destination. - * - * Unique location identifier. + * Destination contract discriminator. Required in Business responses and optional in + * Platform requests. Well-known values: `shipping_address`, `business_location`. The + * enclosing method contract defines request defaults and which fields the Platform may + * write; negotiated extensions define additional values. */ - public val id: String, - - /** - * Physical address of the location. - */ - public val address: PostalAddress? = null, - - /** - * Location name (e.g., store name). - */ - public val name: String? = null + public val type: String? = null ) /** @@ -586,41 +628,47 @@ public data class FulfillmentGroup ( ) /** - * A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). + * A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). Extends + * the fulfillment option base with cost and timing. + * + * Common base for a fulfillment option: an addressable, renderable choice (e.g. Standard, + * Express). Catalog uses this base directly; checkout composes it with cost and timing. */ @Serializable(with = FulfillmentOptionSerializer::class) public data class FulfillmentOption ( /** - * Carrier name (for shipping). + * Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec + * 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. */ - public val carrier: String? = null, + public val description: Description? = null, /** - * Complete context for buyer decision (e.g., 'Arrives Dec 12-15 via FedEx'). + * Unique identifier for this fulfillment option. */ - public val description: String? = null, + public val id: String, /** - * Earliest fulfillment date. + * Short label that distinguishes this option from its siblings (e.g. 'Standard', 'Express + * Shipping', 'Curbside Pickup'). */ - @SerialName("earliest_fulfillment_time") - public val earliestFulfillmentTime: String? = null, + public val title: String, /** - * Unique fulfillment option identifier. + * Carrier name (for shipping). */ - public val id: String, + public val carrier: String? = null, /** - * Latest fulfillment date. + * Earliest fulfillment date. */ - @SerialName("latest_fulfillment_time") - public val latestFulfillmentTime: String? = null, + @SerialName("earliest_fulfillment_time") + public val earliestFulfillmentTime: String? = null, /** - * Short label (e.g., 'Express Shipping', 'Curbside Pickup'). + * Latest fulfillment date. */ - public val title: String, + @SerialName("latest_fulfillment_time") + public val latestFulfillmentTime: String? = null, /** * Fulfillment option totals breakdown. @@ -630,6 +678,36 @@ public data class FulfillmentOption ( public val additionalProperties: Map = emptyMap() ) +/** + * Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec + * 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. + * + * Description content in one or more formats. At least one format must be provided. + * + * Human-readable policy summary in one or more formats (plain, markdown, html). Required on + * every policy so a platform can present it without understanding any type-specific fields. + * This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning + * (see the Policies section). + */ +@Serializable +public data class Description ( + /** + * HTML-formatted content. Security: Platforms MUST sanitize before rendering—strip scripts, + * event handlers, and untrusted elements. Treat all rich text as untrusted input. + */ + public val html: String? = null, + + /** + * Markdown-formatted content. + */ + public val markdown: String? = null, + + /** + * Plain text content. + */ + public val plain: String? = null +) + /** * A cost breakdown entry with a category, amount, and optional display text. */ @@ -666,7 +744,11 @@ public data class LineItem ( public val parentID: String? = null, /** - * Quantity of the item being purchased. + * Always an integer step count. On Platform requests, steps use the item's + * Business-authoritative sale basis; omitting `item.quantity_unit` makes no assertion and + * does not imply `each`. On Business responses, `item.quantity_unit` describes the basis; + * if absent, it encodes the `each` machine identity (`C62`, 0) and `quantity` counts whole + * items. */ public val quantity: Long, @@ -677,7 +759,7 @@ public data class LineItem ( ) /** - * Product data (id, title, price, image_url). + * Purchased item data, including identity, price, and sale basis. */ @Serializable public data class Item ( @@ -694,14 +776,199 @@ public data class Item ( public val imageURL: String? = null, /** - * Unit price in ISO 4217 minor units. + * Unit price in ISO 4217 minor units. Price is the amount per one whole + * `quantity_unit.unit` (for example, per lb or per hour); when `quantity_unit` is absent, + * it is per `each`. */ public val price: Long, + /** + * Sale basis this item's `quantity` is denominated in. On an authoritative Business + * response, absence encodes the default `each` machine identity (`C62`, 0); the Business + * MUST include this descriptor for every non-`each` response. On Platform requests, + * omission makes no assertion: the Business interprets `quantity` using the item's + * authoritative sale basis. If the Platform includes this descriptor, it asserts the + * unit-descriptor machine identity. The Business MUST compare that machine identity + * (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a + * mismatch by conversion surfaced as a visible line revision with a warning, or by + * rejection with a recoverable business outcome; silent reinterpretation is forbidden. An + * explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented + * by an absent descriptor. + */ + @SerialName("quantity_unit") + public val quantityUnit: QuantityUnit? = null, + /** * Product title. */ - public val title: String + public val title: String, + + /** + * Pricing basis for this item. On an authoritative Business response, the Business MUST + * include `unit_price` on every line whose pricing basis differs from its sale basis (for + * example, priced per pound but sold per `each`); presence on a line marks the rate as + * transactional rather than display-only. When the pricing basis is the sale basis, + * `item.price` fully denominates the charge and this field MAY be omitted. + */ + @SerialName("unit_price") + public val unitPrice: UnitPrice? = null +) + +/** + * Sale basis this item's `quantity` is denominated in. On an authoritative Business + * response, absence encodes the default `each` machine identity (`C62`, 0); the Business + * MUST include this descriptor for every non-`each` response. On Platform requests, + * omission makes no assertion: the Business interprets `quantity` using the item's + * authoritative sale basis. If the Platform includes this descriptor, it asserts the + * unit-descriptor machine identity. The Business MUST compare that machine identity + * (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a + * mismatch by conversion surfaced as a visible line revision with a warning, or by + * rejection with a recoverable business outcome; silent reinterpretation is forbidden. An + * explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented + * by an absent descriptor. + * + * Sale-basis descriptor for quantities: the shared unit descriptor plus the Business's + * ordering policy. Its unit-descriptor machine identity remains (`unit`, effective + * `scale`); `display_text` and `increment` are excluded from identity and mismatch + * comparison. + * + * A reusable unit descriptor for quantities and measures. Its unit-descriptor machine + * identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` + * or 0; `display_text` is excluded. + */ +@Serializable +public data class QuantityUnit ( + /** + * Required printable unit label provided by the Business. The Platform MUST use it when it + * does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + * MAY substitute its own localized label. It does not participate in unit identity or + * mismatch comparison. + */ + @SerialName("display_text") + public val displayText: String, + + /** + * One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + * 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + * single whole unit (10^16 steps) is no longer representable, so larger scales cannot + * denominate one unit of their own basis. Businesses needing finer granularity use a + * smaller unit. + */ + public val scale: Long? = null, + + /** + * Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + * when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + * identifier and MUST use it consistently for the same unit. The Platform MUST treat an + * unrecognized identifier as opaque. + */ + public val unit: String, + + /** + * Ordering granularity, denominated in steps: the Business sells this item in integer + * multiples of `increment` steps. Its effective value is the provided value or 1. Advisory + * merchandising policy, not a representational bound: Platform-authored quantities SHOULD + * be integer multiples of the effective increment; the Business MAY accept, revise, or + * reject an off-increment request with a recoverable business outcome and MUST NOT silently + * reinterpret it. Business-authored quantities (checkout revisions, fulfillment events, + * adjustments) are bounded only by `scale`. + */ + public val increment: Long? = null +) + +/** + * Pricing basis for this item. On an authoritative Business response, the Business MUST + * include `unit_price` on every line whose pricing basis differs from its sale basis (for + * example, priced per pound but sold per `each`); presence on a line marks the rate as + * transactional rather than display-only. When the pricing basis is the sale basis, + * `item.price` fully denominates the charge and this field MAY be omitted. + * + * Price per standard unit of measurement. MAY be omitted when unit pricing does not apply. + * `unit_price.currency` MUST equal `price.currency`; the comparator MUST NOT perform + * currency conversion. `measure.unit` and `reference.unit` MUST be identical; cross-unit + * conversion is not permitted. Their scales MAY differ; each value represents `value × + * 10^-scale`. + */ +@Serializable +public data class UnitPrice ( + /** + * Unit price in ISO 4217 minor units. After satisfying the same-unit invariant, the + * Business MUST compute the comparator as `(price.amount / (measure.value × + * 10^-measure.scale)) × (reference.value × 10^-reference.scale)` and round it once to ISO + * 4217 minor units according to its pricing rules. The returned `unit_price.amount` is + * authoritative; the Platform MUST NOT recompute or substitute its own result. + */ + public val amount: Long, + + /** + * ISO 4217 currency code. + */ + public val currency: String, + + /** + * Product quantity in packaging/content (for example, a 750 mL bottle), distinct from + * `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. + */ + public val measure: Measure, + + /** + * Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer + * `value` MUST be at least 1. + */ + public val reference: Measure +) + +/** + * Product quantity in packaging/content (for example, a 750 mL bottle), distinct from + * `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. + * + * Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer + * `value` MUST be at least 1. + * + * The settled measurement this adjustment reconciles (for example, actual picked weight), + * present when the line's price settles by measurement. Its unit identity MUST match the + * line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A + * pure price settlement uses `quantity: 0` together with `measure` and a totals delta. + * + * A measure composed of an integer value and a unit descriptor. Its value is the integer + * count of `10^-scale` units of `unit`. + * + * A reusable unit descriptor for quantities and measures. Its unit-descriptor machine + * identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` + * or 0; `display_text` is excluded. + */ +@Serializable +public data class Measure ( + /** + * Required printable unit label provided by the Business. The Platform MUST use it when it + * does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + * MAY substitute its own localized label. It does not participate in unit identity or + * mismatch comparison. + */ + @SerialName("display_text") + public val displayText: String, + + /** + * One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + * 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + * single whole unit (10^16 steps) is no longer representable, so larger scales cannot + * denominate one unit of their own basis. Businesses needing finer granularity use a + * smaller unit. + */ + public val scale: Long? = null, + + /** + * Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + * when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + * identifier and MUST use it consistently for the same unit. The Platform MUST treat an + * unrecognized identifier as opaque. + */ + public val unit: String, + + /** + * Integer count of `10^-scale` units of `unit`. + */ + public val value: Long ) @Serializable @@ -746,17 +1013,14 @@ public data class Message ( public val contentType: ContentType? = null, /** - * RFC 9535 JSONPath to the component the message refers to (e.g., $.items[1]). - * - * JSONPath (RFC 9535) to related field (e.g., $.line_items[0]). - * - * RFC 9535 JSONPath to the component the message refers to. + * RFC 9535 JSONPath to the component the message refers to (e.g., $.line_items[0]). */ public val path: String? = null, /** * Reflects the resource state and recommended action. 'recoverable': platform can resolve - * by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires + * the condition in band, for example by modifying inputs or processing a related Action, + * and submit a new operation when needed. 'requires_buyer_input': merchant requires * information their API doesn't support collecting programmatically (checkout incomplete). * 'requires_buyer_review': buyer must authorize before order placement due to policy, * regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -800,7 +1064,8 @@ public enum class ContentType(public val value: String) { /** * Reflects the resource state and recommended action. 'recoverable': platform can resolve - * by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires + * the condition in band, for example by modifying inputs or processing a related Action, + * and submit a new operation when needed. 'requires_buyer_input': merchant requires * information their API doesn't support collecting programmatically (checkout incomplete). * 'requires_buyer_review': buyer must authorize before order placement due to policy, * regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -889,7 +1154,11 @@ public data class SelectedPaymentInstrument ( public val handlerID: String, /** - * A unique identifier for this instrument instance, assigned by the platform. + * A unique identifier for this instrument instance. Typically assigned by the platform for + * instruments it collects. For a business-owned saved instrument returned on an + * identity-linked response, this identifier is assigned by the business; the platform MUST + * treat it as an opaque, business-scoped reference, and the business resolves it + * server-side when the buyer selects it. */ public val id: String, @@ -921,6 +1190,54 @@ public data class PaymentCredential ( public val additionalProperties: Map = emptyMap() ) +/** + * A durable business rule about the items in a response — return/refund terms, warranty, + * and the like — at the time of purchase. Every policy carries a `type` (an open + * reverse-DNS vocabulary) and a `description` so a platform can present it without + * understanding its type-specific fields; type-specific fields (gated by `type`) add + * structured context for platforms that model that type. Policies are reference data; the + * obligation to display a term to the buyer is carried by a `messages[]` warning whose + * `code` equals the policy `type` — see the Policies section of the specification. + */ +@Serializable(with = PolicySerializer::class) +public data class Policy ( + /** + * RFC 9535 JSONPath expressions identifying the nodes this policy applies to, relative to + * the embedding response root (e.g., `$.line_items[0]` in cart/checkout, `$.products[2]` in + * catalog). Each target covers the node it names and everything nested under it, so a + * target on a product also covers its variants. A singular query (RFC 9535 Section 2.3.5.1; + * name and index selectors only) names a single node; filters, wildcards, and slices match + * a set. When omitted, the policy applies to the entire response. When policies of the same + * `type` contest a node, the narrowest target wins and overrides the rest. See the Policies + * section for how specificity resolves. + */ + @SerialName("applies_to") + public val appliesTo: List? = null, + + /** + * Human-readable policy summary in one or more formats (plain, markdown, html). Required on + * every policy so a platform can present it without understanding any type-specific fields. + * This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning + * (see the Policies section). + */ + public val description: Description, + + /** + * Policy type discriminator. Open reverse-DNS vocabulary. Well-known values: + * `dev.ucp.shopping.policy.return` (return terms), `dev.ucp.shopping.policy.warranty` + * (warranty terms). Businesses MAY define custom types in their own domain (e.g., + * `com.example.policy.price_match`). Platforms MUST tolerate unknown values. + */ + public val type: String, + + /** + * Optional link to the full policy document. + */ + public val url: String? = null, + + public val additionalProperties: Map = emptyMap() +) + /** * Environment data provided by the platform to support authorization and abuse prevention. * Values MUST NOT be buyer-asserted claims — platforms provide signals based on direct @@ -930,7 +1247,7 @@ public data class PaymentCredential ( */ /** - * Checkout state indicating the current phase and required action. See Checkout Status + * Checkout state indicating the current phase and required processing. See Checkout Status * lifecycle documentation for state transition details. */ @Serializable @@ -1002,6 +1319,13 @@ public data class UCPCheckoutResponseSchema ( */ public val capabilities: Map>? = null, + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + @SerialName("map_order") + public val mapOrder: Map>? = null, + /** * Payment handler registry keyed by reverse-domain name. */ @@ -1120,10 +1444,12 @@ public data class PaymentHandlerResponseSchema ( @Serializable public data class PaymentHandlerResponseSchemaAvailableInstrument ( /** - * Constraints on this instrument type. Structure depends on instrument type and active - * capabilities. + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. */ - public val constraints: JsonObject? = null, + public val constraints: ConstraintExpression? = null, /** * The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument @@ -1132,6 +1458,77 @@ public data class PaymentHandlerResponseSchemaAvailableInstrument ( public val type: String ) +/** + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. + * + * A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint + * positions. + * + * A Value Constraint containing `enum`, `const`, or both. + */ +@Serializable +public data class ConstraintProperty ( + /** + * Alternative Object Constraints. The constrained object must satisfy at least one. A + * branch must be non-empty: an empty branch is satisfied by every object and neutralizes + * the alternation. + */ + public val anyOf: List? = null, + + /** + * Constraints keyed by property name. Must be non-empty: an empty object applies no + * constraint. + */ + public val properties: Map? = null, + + /** + * Property names required by the constrained object. Must be non-empty: an empty array + * applies no constraint. + */ + public val required: List? = null, + + public val const: JsonElement? = null, + + /** + * A non-empty array of unique JSON values. + */ + public val enum: JsonArray? = null +) + +/** + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. + * + * A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint + * positions. + */ +@Serializable +public data class ConstraintExpression ( + /** + * Alternative Object Constraints. The constrained object must satisfy at least one. A + * branch must be non-empty: an empty branch is satisfied by every object and neutralizes + * the alternation. + */ + public val anyOf: List? = null, + + /** + * Constraints keyed by property name. Must be non-empty: an empty object applies no + * constraint. + */ + public val properties: Map? = null, + + /** + * Property names required by the constrained object. Must be non-empty: an empty array + * applies no constraint. + */ + public val required: List? = null +) + /** * Service binding in API responses. Includes per-resource transport configuration via typed * config. @@ -1286,6 +1683,12 @@ public data class Order ( @SerialName("permalink_url") public val permalinkURL: String, + /** + * Snapshot of the policies that applied to the items at checkout, captured on the order as + * a durable record. `applies_to` targets are relative to the response root. + */ + public val policies: List? = null, + /** * Different totals for the order. */ @@ -1350,8 +1753,18 @@ public data class AdjustmentLineItem ( public val id: String, /** - * Signed quantity affected by this adjustment. Negative values represent reductions (e.g. - * returns); positive values represent additions (e.g. exchanges). + * The settled measurement this adjustment reconciles (for example, actual picked weight), + * present when the line's price settles by measurement. Its unit identity MUST match the + * line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A + * pure price settlement uses `quantity: 0` together with `measure` and a totals delta. + */ + public val measure: Measure? = null, + + /** + * Signed integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` + * × `unit`); when `quantity_unit` is absent, it counts whole items (`each`). Negative + * values represent reductions (e.g. returns); positive values represent additions (e.g. + * exchanges). */ public val quantity: Long ) @@ -1446,7 +1859,8 @@ public data class EventLineItem ( public val id: String, /** - * Quantity fulfilled in this event. + * Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + * `unit`); when `quantity_unit` is absent, it counts whole items (`each`). */ public val quantity: Long ) @@ -1487,10 +1901,11 @@ public data class Expectation ( public val lineItems: List, /** - * Delivery method type (shipping, pickup, digital). + * Delivery method type. Well-known values: `shipping`, `pickup`, `digital`; additional + * values MAY be used. */ @SerialName("method_type") - public val methodType: MethodType + public val methodType: String ) @Serializable @@ -1501,21 +1916,12 @@ public data class ExpectationLineItem ( public val id: String, /** - * Quantity of this item in this expectation. + * Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + * `unit`); when `quantity_unit` is absent, it counts whole items (`each`). */ public val quantity: Long ) -/** - * Delivery method type (shipping, pickup, digital). - */ -@Serializable -public enum class MethodType(public val value: String) { - @SerialName("digital") Digital("digital"), - @SerialName("pickup") Pickup("pickup"), - @SerialName("shipping") Shipping("shipping"); -} - @Serializable public data class OrderLineItem ( /** @@ -1524,7 +1930,7 @@ public data class OrderLineItem ( public val id: String, /** - * Product data (id, title, price, image_url). + * Purchased item data, including identity, price, and sale basis. */ public val item: Item, @@ -1535,7 +1941,10 @@ public data class OrderLineItem ( public val parentID: String? = null, /** - * Quantity tracking for the line item. + * Tracks the line item's original, current active, and fulfilled quantities. All three + * values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent + * on an authoritative order response, each step is one whole item (`each`) under the shared + * default. */ public val quantity: LineItemQuantity, @@ -1553,23 +1962,26 @@ public data class OrderLineItem ( ) /** - * Quantity tracking for the line item. + * Tracks the line item's original, current active, and fulfilled quantities. All three + * values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent + * on an authoritative order response, each step is one whole item (`each`) under the shared + * default. */ @Serializable public data class LineItemQuantity ( /** - * Quantity fulfilled so far. + * Quantity fulfilled so far, expressed as an integer step count. */ public val fulfilled: Long, /** - * Quantity from the original checkout. + * Quantity from the original checkout, expressed as an integer step count. */ public val original: Long? = null, /** - * Current total active quantity. May differ from original due to post-order modifications - * (e.g., returns or cancellations). + * Current active quantity after returns, cancellations, or other order changes, expressed + * as an integer step count. */ public val total: Long ) @@ -1599,6 +2011,13 @@ public data class UCPOrderResponseSchema ( */ public val capabilities: Map>? = null, + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + @SerialName("map_order") + public val mapOrder: Map>? = null, + /** * Payment handler registry keyed by reverse-domain name. */ @@ -1698,6 +2117,13 @@ public data class ErrorResponseUcp ( */ public val capabilities: Map>? = null, + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + @SerialName("map_order") + public val mapOrder: Map>? = null, + /** * Payment handler registry keyed by reverse-domain name. */ @@ -1804,6 +2230,13 @@ public data class InstrumentsChangeResultUcp ( */ public val capabilities: Map>? = null, + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + @SerialName("map_order") + public val mapOrder: Map>? = null, + /** * Payment handler registry keyed by reverse-domain name. */ @@ -1912,10 +2345,12 @@ public data class PaymentHandlerElement ( @Serializable public data class PaymentHandlerAvailableInstrument ( /** - * Constraints on this instrument type. Structure depends on instrument type and active - * capabilities. + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. */ - public val constraints: JsonObject? = null, + public val constraints: ConstraintExpression? = null, /** * The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument @@ -2242,8 +2677,9 @@ public object CheckoutSerializer : KSerializer { ?: throw SerializationException("Checkout can only be deserialized from JSON") val obj = input.decodeJsonElement().jsonObject val json = input.json - val known = setOf("attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "signals", "status", "totals", "ucp") + val known = setOf("actions", "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "policies", "signals", "status", "totals", "ucp") return Checkout( + actions = obj["actions"]?.let { json.decodeFromJsonElement(serializer>>(), it) }, attribution = obj["attribution"]?.let { json.decodeFromJsonElement(serializer>(), it) }, buyer = obj["buyer"]?.let { json.decodeFromJsonElement(serializer(), it) }, context = obj["context"]?.let { json.decodeFromJsonElement(serializer(), it) }, @@ -2258,6 +2694,7 @@ public object CheckoutSerializer : KSerializer { messages = obj["messages"]?.let { json.decodeFromJsonElement(serializer>(), it) }, order = obj["order"]?.let { json.decodeFromJsonElement(serializer(), it) }, payment = obj["payment"]?.let { json.decodeFromJsonElement(serializer(), it) }, + policies = obj["policies"]?.let { json.decodeFromJsonElement(serializer>(), it) }, signals = obj["signals"]?.let { json.decodeFromJsonElement(serializer(), it) }, status = json.decodeFromJsonElement(serializer(), obj["status"] ?: throw SerializationException("Missing status for Checkout")), totals = json.decodeFromJsonElement(serializer>(), obj["totals"] ?: throw SerializationException("Missing totals for Checkout")), @@ -2269,8 +2706,9 @@ public object CheckoutSerializer : KSerializer { val output = encoder as? JsonEncoder ?: throw SerializationException("Checkout can only be serialized to JSON") val json = output.json - val known = setOf("attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "signals", "status", "totals", "ucp") + val known = setOf("actions", "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "policies", "signals", "status", "totals", "ucp") val map = linkedMapOf() + value.actions?.let { map["actions"] = json.encodeToJsonElement(serializer>>(), it) } value.attribution?.let { map["attribution"] = json.encodeToJsonElement(serializer>(), it) } value.buyer?.let { map["buyer"] = json.encodeToJsonElement(serializer(), it) } value.context?.let { map["context"] = json.encodeToJsonElement(serializer(), it) } @@ -2285,6 +2723,7 @@ public object CheckoutSerializer : KSerializer { value.messages?.let { map["messages"] = json.encodeToJsonElement(serializer>(), it) } value.order?.let { map["order"] = json.encodeToJsonElement(serializer(), it) } value.payment?.let { map["payment"] = json.encodeToJsonElement(serializer(), it) } + value.policies?.let { map["policies"] = json.encodeToJsonElement(serializer>(), it) } value.signals?.let { map["signals"] = json.encodeToJsonElement(serializer(), it) } map["status"] = json.encodeToJsonElement(serializer(), value.status) map["totals"] = json.encodeToJsonElement(serializer>(), value.totals) @@ -2336,15 +2775,17 @@ public object ContextSerializer : KSerializer { ?: throw SerializationException("Context can only be deserialized from JSON") val obj = input.decodeJsonElement().jsonObject val json = input.json - val known = setOf("address_country", "address_region", "currency", "eligibility", "intent", "language", "postal_code") + val known = setOf("address_country", "address_region", "postal_code", "currency", "eligibility", "intent", "language", "location", "payment") return Context( addressCountry = obj["address_country"]?.let { json.decodeFromJsonElement(serializer(), it) }, addressRegion = obj["address_region"]?.let { json.decodeFromJsonElement(serializer(), it) }, + postalCode = obj["postal_code"]?.let { json.decodeFromJsonElement(serializer(), it) }, currency = obj["currency"]?.let { json.decodeFromJsonElement(serializer(), it) }, eligibility = obj["eligibility"]?.let { json.decodeFromJsonElement(serializer>(), it) }, intent = obj["intent"]?.let { json.decodeFromJsonElement(serializer(), it) }, language = obj["language"]?.let { json.decodeFromJsonElement(serializer(), it) }, - postalCode = obj["postal_code"]?.let { json.decodeFromJsonElement(serializer(), it) }, + location = obj["location"]?.let { json.decodeFromJsonElement(serializer(), it) }, + payment = obj["payment"]?.let { json.decodeFromJsonElement(serializer>(), it) }, additionalProperties = obj.filterKeys { it !in known } ) } @@ -2352,15 +2793,17 @@ public object ContextSerializer : KSerializer { val output = encoder as? JsonEncoder ?: throw SerializationException("Context can only be serialized to JSON") val json = output.json - val known = setOf("address_country", "address_region", "currency", "eligibility", "intent", "language", "postal_code") + val known = setOf("address_country", "address_region", "postal_code", "currency", "eligibility", "intent", "language", "location", "payment") val map = linkedMapOf() value.addressCountry?.let { map["address_country"] = json.encodeToJsonElement(serializer(), it) } value.addressRegion?.let { map["address_region"] = json.encodeToJsonElement(serializer(), it) } + value.postalCode?.let { map["postal_code"] = json.encodeToJsonElement(serializer(), it) } value.currency?.let { map["currency"] = json.encodeToJsonElement(serializer(), it) } value.eligibility?.let { map["eligibility"] = json.encodeToJsonElement(serializer>(), it) } value.intent?.let { map["intent"] = json.encodeToJsonElement(serializer(), it) } value.language?.let { map["language"] = json.encodeToJsonElement(serializer(), it) } - value.postalCode?.let { map["postal_code"] = json.encodeToJsonElement(serializer(), it) } + value.location?.let { map["location"] = json.encodeToJsonElement(serializer(), it) } + value.payment?.let { map["payment"] = json.encodeToJsonElement(serializer>(), it) } value.additionalProperties .filterKeys { it !in known } .forEach { (key, element) -> map[key] = element } @@ -2380,7 +2823,7 @@ public object FulfillmentAvailableMethodSerializer : KSerializer(), it) }, fulfillableOn = obj["fulfillable_on"]?.let { json.decodeFromJsonElement(serializer(), it) }, lineItemIDS = json.decodeFromJsonElement(serializer>(), obj["line_item_ids"] ?: throw SerializationException("Missing line_item_ids for FulfillmentAvailableMethod")), - type = json.decodeFromJsonElement(serializer(), obj["type"] ?: throw SerializationException("Missing type for FulfillmentAvailableMethod")), + type = json.decodeFromJsonElement(serializer(), obj["type"] ?: throw SerializationException("Missing type for FulfillmentAvailableMethod")), additionalProperties = obj.filterKeys { it !in known } ) } @@ -2393,7 +2836,7 @@ public object FulfillmentAvailableMethodSerializer : KSerializer(), it) } value.fulfillableOn?.let { map["fulfillable_on"] = json.encodeToJsonElement(serializer(), it) } map["line_item_ids"] = json.encodeToJsonElement(serializer>(), value.lineItemIDS) - map["type"] = json.encodeToJsonElement(serializer(), value.type) + map["type"] = json.encodeToJsonElement(serializer(), value.type) value.additionalProperties .filterKeys { it !in known } .forEach { (key, element) -> map[key] = element } @@ -2415,7 +2858,7 @@ public object FulfillmentMethodSerializer : KSerializer { id = json.decodeFromJsonElement(serializer(), obj["id"] ?: throw SerializationException("Missing id for FulfillmentMethod")), lineItemIDS = json.decodeFromJsonElement(serializer>(), obj["line_item_ids"] ?: throw SerializationException("Missing line_item_ids for FulfillmentMethod")), selectedDestinationID = obj["selected_destination_id"]?.let { json.decodeFromJsonElement(serializer(), it) }, - type = json.decodeFromJsonElement(serializer(), obj["type"] ?: throw SerializationException("Missing type for FulfillmentMethod")), + type = json.decodeFromJsonElement(serializer(), obj["type"] ?: throw SerializationException("Missing type for FulfillmentMethod")), additionalProperties = obj.filterKeys { it !in known } ) } @@ -2430,7 +2873,7 @@ public object FulfillmentMethodSerializer : KSerializer { map["id"] = json.encodeToJsonElement(serializer(), value.id) map["line_item_ids"] = json.encodeToJsonElement(serializer>(), value.lineItemIDS) value.selectedDestinationID?.let { map["selected_destination_id"] = json.encodeToJsonElement(serializer(), it) } - map["type"] = json.encodeToJsonElement(serializer(), value.type) + map["type"] = json.encodeToJsonElement(serializer(), value.type) value.additionalProperties .filterKeys { it !in known } .forEach { (key, element) -> map[key] = element } @@ -2478,14 +2921,20 @@ public object FulfillmentOptionSerializer : KSerializer { ?: throw SerializationException("FulfillmentOption can only be deserialized from JSON") val obj = input.decodeJsonElement().jsonObject val json = input.json - val known = setOf("carrier", "description", "earliest_fulfillment_time", "id", "latest_fulfillment_time", "title", "totals") + val known = setOf("description", "id", "title", "carrier", "earliest_fulfillment_time", "latest_fulfillment_time", "totals") return FulfillmentOption( + description = obj["description"]?.let { element -> + if (element is JsonPrimitive && element.isString) { + Description(plain = element.content) + } else { + json.decodeFromJsonElement(serializer(), element) + } + }, + id = json.decodeFromJsonElement(serializer(), obj["id"] ?: throw SerializationException("Missing id for FulfillmentOption")), + title = json.decodeFromJsonElement(serializer(), obj["title"] ?: throw SerializationException("Missing title for FulfillmentOption")), carrier = obj["carrier"]?.let { json.decodeFromJsonElement(serializer(), it) }, - description = obj["description"]?.let { json.decodeFromJsonElement(serializer(), it) }, earliestFulfillmentTime = obj["earliest_fulfillment_time"]?.let { json.decodeFromJsonElement(serializer(), it) }, - id = json.decodeFromJsonElement(serializer(), obj["id"] ?: throw SerializationException("Missing id for FulfillmentOption")), latestFulfillmentTime = obj["latest_fulfillment_time"]?.let { json.decodeFromJsonElement(serializer(), it) }, - title = json.decodeFromJsonElement(serializer(), obj["title"] ?: throw SerializationException("Missing title for FulfillmentOption")), totals = json.decodeFromJsonElement(serializer>(), obj["totals"] ?: throw SerializationException("Missing totals for FulfillmentOption")), additionalProperties = obj.filterKeys { it !in known } ) @@ -2494,14 +2943,14 @@ public object FulfillmentOptionSerializer : KSerializer { val output = encoder as? JsonEncoder ?: throw SerializationException("FulfillmentOption can only be serialized to JSON") val json = output.json - val known = setOf("carrier", "description", "earliest_fulfillment_time", "id", "latest_fulfillment_time", "title", "totals") + val known = setOf("description", "id", "title", "carrier", "earliest_fulfillment_time", "latest_fulfillment_time", "totals") val map = linkedMapOf() + value.description?.let { map["description"] = json.encodeToJsonElement(serializer(), it) } + map["id"] = json.encodeToJsonElement(serializer(), value.id) + map["title"] = json.encodeToJsonElement(serializer(), value.title) value.carrier?.let { map["carrier"] = json.encodeToJsonElement(serializer(), it) } - value.description?.let { map["description"] = json.encodeToJsonElement(serializer(), it) } value.earliestFulfillmentTime?.let { map["earliest_fulfillment_time"] = json.encodeToJsonElement(serializer(), it) } - map["id"] = json.encodeToJsonElement(serializer(), value.id) value.latestFulfillmentTime?.let { map["latest_fulfillment_time"] = json.encodeToJsonElement(serializer(), it) } - map["title"] = json.encodeToJsonElement(serializer(), value.title) map["totals"] = json.encodeToJsonElement(serializer>(), value.totals) value.additionalProperties .filterKeys { it !in known } @@ -2575,3 +3024,36 @@ public object PaymentCredentialSerializer : KSerializer { output.encodeJsonElement(JsonObject(map)) } } +public object PolicySerializer : KSerializer { + override val descriptor: SerialDescriptor = + buildClassSerialDescriptor("com.shopify.ucp.embedded.checkout.Policy") + override fun deserialize(decoder: Decoder): Policy { + val input = decoder as? JsonDecoder + ?: throw SerializationException("Policy can only be deserialized from JSON") + val obj = input.decodeJsonElement().jsonObject + val json = input.json + val known = setOf("applies_to", "description", "type", "url") + return Policy( + appliesTo = obj["applies_to"]?.let { json.decodeFromJsonElement(serializer>(), it) }, + description = json.decodeFromJsonElement(serializer(), obj["description"] ?: throw SerializationException("Missing description for Policy")), + type = json.decodeFromJsonElement(serializer(), obj["type"] ?: throw SerializationException("Missing type for Policy")), + url = obj["url"]?.let { json.decodeFromJsonElement(serializer(), it) }, + additionalProperties = obj.filterKeys { it !in known } + ) + } + override fun serialize(encoder: Encoder, value: Policy) { + val output = encoder as? JsonEncoder + ?: throw SerializationException("Policy can only be serialized to JSON") + val json = output.json + val known = setOf("applies_to", "description", "type", "url") + val map = linkedMapOf() + value.appliesTo?.let { map["applies_to"] = json.encodeToJsonElement(serializer>(), it) } + map["description"] = json.encodeToJsonElement(serializer(), value.description) + map["type"] = json.encodeToJsonElement(serializer(), value.type) + value.url?.let { map["url"] = json.encodeToJsonElement(serializer(), it) } + value.additionalProperties + .filterKeys { it !in known } + .forEach { (key, element) -> map[key] = element } + output.encodeJsonElement(JsonObject(map)) + } +} diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt index f8d482963..7e8a231c0 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt @@ -14,8 +14,8 @@ import java.nio.charset.StandardCharsets class EmbeddedCheckoutProtocolTest { @Test - fun `SPEC_VERSION is non-empty`() { - assertThat(EmbeddedCheckoutProtocol.SPEC_VERSION).isNotEmpty() + fun `SPEC_VERSION is the current negotiated revision`() { + assertThat(EmbeddedCheckoutProtocol.SPEC_VERSION).isEqualTo("2026-08-25") } @Test @@ -122,7 +122,7 @@ class EmbeddedCheckoutProtocolTest { @Test fun `url replaces caller supplied protocol parameters and is idempotent`() { - val callerSupplied = "$BASE_URL?ec_version=override&ec_delegate=custom&ec_auth=stale&ec_color_scheme=light" + val callerSupplied = "$BASE_URL?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom&ec_auth=stale&ec_color_scheme=light" val options = EmbeddedCheckoutProtocol.Options( delegations = listOf(EmbeddedCheckoutProtocol.Delegation.windowOpen), auth = "token", diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt index da85b9d6d..769cb22f0 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt @@ -7,6 +7,7 @@ import kotlinx.serialization.json.jsonPrimitive import org.assertj.core.api.Assertions.assertThat import org.junit.Test +// April wire payloads are retained here as older-version compatibility coverage. class ExtensionPreservationTest { private val json = Json { ignoreUnknownKeys = true } diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt new file mode 100644 index 000000000..0e16f4333 --- /dev/null +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt @@ -0,0 +1,93 @@ +package com.shopify.ucp.embedded.checkout + +import kotlinx.serialization.json.Json +import kotlinx.serialization.json.JsonArray +import kotlinx.serialization.json.JsonObject +import kotlinx.serialization.json.JsonPrimitive +import kotlinx.serialization.json.jsonArray +import kotlinx.serialization.json.jsonObject +import org.assertj.core.api.Assertions.assertThat +import org.junit.Test + +class VersionCompatibilityTest { + private val json = Json { ignoreUnknownKeys = true } + + @Test + fun `decodes August checkout preserving extensions`() { + assertCheckoutRoundTrips("2026-08-25") + } + + @Test + fun `decodes April checkout preserving extensions`() { + assertCheckoutRoundTrips("2026-04-08") + } + + private fun assertCheckoutRoundTrips(version: String) { + val wire = fixture("checkout-$version")["params"]!!.jsonObject["checkout"]!!.jsonObject + val checkout = json.decodeFromJsonElement(Checkout.serializer(), wire) + assertThat(checkout.ucp.version).isEqualTo(version) + assertThat(checkout.fulfillment?.methods?.first()?.type) + .isEqualTo(if (version == "2026-08-25") "drone_delivery" else "shipping") + val option = requireNotNull(checkout.fulfillment?.methods?.first()?.groups?.first()?.options?.first()) + assertThat(option.description?.plain).isEqualTo("Arrives in 3-5 business days") + assertThat(option.description?.markdown) + .isEqualTo(if (version == "2026-08-25") "Arrives in **3-5 business days**" else null) + assertThat(option.description?.html) + .isEqualTo(if (version == "2026-08-25") "

Arrives in 3-5 business days

" else null) + val location = requireNotNull(checkout.fulfillment?.methods?.get(1)?.destinations?.first()) + assertThat(location.id).isEqualTo("location-1") + assertThat(location.name).isEqualTo("Example Pickup Store") + // April retail locations predate the August destination discriminator. + assertThat(location.type).isEqualTo(if (version == "2026-08-25") "business_location" else null) + val address = requireNotNull(location.address) + assertThat(address.streetAddress).isEqualTo("456 Example Avenue") + assertThat(address.extendedAddress).isEqualTo("Suite 2") + assertThat(address.addressLocality).isEqualTo("Example City") + assertThat(address.addressRegion).isEqualTo("NY") + assertThat(address.addressCountry).isEqualTo("US") + assertThat(address.postalCode).isEqualTo("10002") + if (version == "2026-08-25") { + assertThat(checkout.ucp.mapOrder).isEqualTo(mapOf("payment_handlers" to listOf("com.example.wallet"))) + assertThat(checkout.fulfillment?.availableMethods?.first()?.type).isEqualTo("drone_delivery") + } + val encoded = json.encodeToJsonElement(Checkout.serializer(), checkout) + // Native UCP metadata ignores unknown members; Checkout and signals + // retain the extension fields promised by their serializers. + val withoutUnknownMetadata = JsonObject( + wire + ("ucp" to JsonObject(wire["ucp"]!!.jsonObject - "future_metadata")), + ) + val expected = canonicalizedLegacyDescription(withoutUnknownMetadata) + assertThat(encoded).isEqualTo(expected) + } + + @Test + fun `retains April error payload compatibility`() { + val wire = fixture("error-2026-04-08")["params"]!!.jsonObject["error"]!! + val error = json.decodeFromJsonElement(ErrorResponse.serializer(), wire) + assertThat(error.ucp.version).isEqualTo("2026-04-08") + assertThat(error.messages.first().content).isEqualTo("Try again.") + } + + private fun fixture(name: String) = json.parseToJsonElement( + requireNotNull(javaClass.getResource("/$name.json")).readText(), + ).jsonObject + + private fun canonicalizedLegacyDescription(checkout: JsonObject): JsonObject { + val fulfillment = checkout["fulfillment"]!!.jsonObject + val methods = fulfillment["methods"]!!.jsonArray.toMutableList() + val method = methods.first().jsonObject + val groups = method["groups"]!!.jsonArray.toMutableList() + val group = groups.first().jsonObject + val options = group["options"]!!.jsonArray.toMutableList() + val option = options.first().jsonObject + val description = option["description"] + if (description !is JsonPrimitive || !description.isString) return checkout + + options[0] = JsonObject(option + ("description" to JsonObject(mapOf("plain" to description)))) + groups[0] = JsonObject(group + ("options" to JsonArray(options))) + methods[0] = JsonObject(method + ("groups" to JsonArray(groups))) + return JsonObject( + checkout + ("fulfillment" to JsonObject(fulfillment + ("methods" to JsonArray(methods)))), + ) + } +} diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json new file mode 100644 index 000000000..25a5fee60 --- /dev/null +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json @@ -0,0 +1,90 @@ +{ + "jsonrpc": "2.0", + "method": "ec.start", + "params": { + "checkout": { + "id": "checkout-compatibility", + "currency": "USD", + "line_items": [], + "links": [], + "status": "incomplete", + "totals": [], + "ucp": { + "version": "2026-04-08", + "payment_handlers": {} + }, + "fulfillment": { + "available_methods": [ + { + "type": "shipping", + "line_item_ids": [] + } + ], + "methods": [ + { + "id": "drone-1", + "type": "shipping", + "line_item_ids": [], + "destinations": [ + { + "id": "address-1", + "street_address": "123 Example Street", + "address_locality": "Example City", + "address_country": "US", + "postal_code": "10001" + } + ], + "groups": [ + { + "id": "group-1", + "line_item_ids": [], + "options": [ + { + "id": "option-standard", + "title": "Standard Shipping", + "description": "Arrives in 3-5 business days", + "totals": [ + { + "type": "fulfillment", + "amount": 500 + } + ] + } + ], + "selected_option_id": "option-standard" + } + ], + "com.example.method_extension": { + "nested_value": "preserved" + } + }, + { + "id": "pickup-1", + "type": "pickup", + "line_item_ids": [], + "destinations": [ + { + "id": "location-1", + "name": "Example Pickup Store", + "address": { + "street_address": "456 Example Avenue", + "extended_address": "Suite 2", + "address_locality": "Example City", + "address_region": "NY", + "address_country": "US", + "postal_code": "10002" + } + } + ] + } + ] + }, + "signals": { + "com.example.device_id": "compatibility-test" + }, + "com.example.extension": { + "nested_value": 42 + } + } + } +} diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json new file mode 100644 index 000000000..d7d3e16e9 --- /dev/null +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json @@ -0,0 +1,145 @@ +{ + "jsonrpc": "2.0", + "method": "ec.start", + "params": { + "checkout": { + "id": "checkout-compatibility", + "currency": "USD", + "line_items": [], + "links": [], + "status": "incomplete", + "totals": [], + "ucp": { + "version": "2026-08-25", + "payment_handlers": { + "com.example.wallet": [ + { + "id": "example-wallet", + "version": "2026-08-25", + "available_instruments": [ + { + "type": "card", + "constraints": { + "required": [ + "credential" + ], + "properties": { + "credential": { + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "token" + ] + } + } + }, + "amount": { + "const": 100 + } + }, + "anyOf": [ + { + "required": [ + "credential" + ] + } + ] + } + } + ] + } + ] + }, + "map_order": { + "payment_handlers": [ + "com.example.wallet" + ] + }, + "future_metadata": { + "enabled": true + } + }, + "fulfillment": { + "available_methods": [ + { + "type": "drone_delivery", + "line_item_ids": [] + } + ], + "methods": [ + { + "id": "drone-1", + "type": "drone_delivery", + "line_item_ids": [], + "destinations": [ + { + "id": "address-1", + "street_address": "123 Example Street", + "address_locality": "Example City", + "address_country": "US", + "postal_code": "10001", + "type": "shipping_address" + } + ], + "groups": [ + { + "id": "group-1", + "line_item_ids": [], + "options": [ + { + "id": "option-standard", + "title": "Standard Shipping", + "description": { + "plain": "Arrives in 3-5 business days", + "markdown": "Arrives in **3-5 business days**", + "html": "

Arrives in 3-5 business days

" + }, + "totals": [ + { + "type": "fulfillment", + "amount": 500 + } + ] + } + ], + "selected_option_id": "option-standard" + } + ], + "com.example.method_extension": { + "nested_value": "preserved" + } + }, + { + "id": "pickup-1", + "type": "pickup", + "line_item_ids": [], + "destinations": [ + { + "id": "location-1", + "name": "Example Pickup Store", + "address": { + "street_address": "456 Example Avenue", + "extended_address": "Suite 2", + "address_locality": "Example City", + "address_region": "NY", + "address_country": "US", + "postal_code": "10002" + }, + "type": "business_location" + } + ] + } + ] + }, + "signals": { + "com.example.device_id": "compatibility-test" + }, + "com.example.extension": { + "nested_value": 42 + } + } + } +} diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json new file mode 100644 index 000000000..1c3f01423 --- /dev/null +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json @@ -0,0 +1,19 @@ +{ + "jsonrpc": "2.0", + "method": "ec.error", + "params": { + "error": { + "ucp": { + "version": "2026-04-08", + "status": "error" + }, + "messages": [ + { + "type": "error", + "code": "checkout_unavailable", + "content": "Try again." + } + ] + } + } +} diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/EmbeddedCheckoutProtocol.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/EmbeddedCheckoutProtocol.swift index b7bc9fca7..f1279f0ea 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/EmbeddedCheckoutProtocol.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/EmbeddedCheckoutProtocol.swift @@ -1,8 +1,6 @@ import Foundation public enum EmbeddedCheckoutProtocol { - public static let specVersion = "2026-04-08" - package static let parseErrorCode = -32700 package static let parseErrorMessage = "Parse error" package static let invalidParamsCode = -32602 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 85f808022..6c14e3c6b 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift @@ -16,6 +16,10 @@ extension EmbeddedCheckoutProtocol.ReadyResult: ResponsePayload {} extension EmbeddedCheckoutProtocol.WindowOpenResult: ResponsePayload {} extension EmbeddedCheckoutProtocol { + /// The UCP spec revision these artifacts were generated from, taken from + /// `protocol/source-lock.json`. Do not edit by hand. + public static let specVersion = "2026-08-25" + /// Every `ec.*` method this protocol owns, resolved to a typed descriptor. /// Notifications become `NotificationDescriptor`s; requests become /// `RequestDescriptor`s. diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift index becf9801c..1573b00c7 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift @@ -20,6 +20,8 @@ import Foundation // MARK: - Checkout extension EmbeddedCheckoutProtocol { public struct Checkout: Codable, Sendable { + /// Outstanding extension-defined [String: JSONAny] for this checkout. + public let actions: [String: [[String: JSONAny]]]? public let attribution: [String: String]? /// Representation of the buyer. public let buyer: Buyer? @@ -47,8 +49,12 @@ extension EmbeddedCheckoutProtocol { /// Details about an order created for this checkout session. public let order: OrderConfirmation? public let payment: Payment? + /// Policies (e.g., return/refund terms) that apply to the items in this checkout. + /// `applies_to` targets are relative to the response root; when absent or empty, refer to + /// the URLs in `links[]`. + public let policies: [Policy]? public let signals: [String: JSONAny]? - /// Checkout state indicating the current phase and required action. See Checkout Status + /// Checkout state indicating the current phase and required processing. See Checkout Status /// lifecycle documentation for state transition details. public let status: CheckoutStatus /// Different cart totals. @@ -56,16 +62,17 @@ extension EmbeddedCheckoutProtocol { public let ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema public enum CodingKeys: String, CodingKey { - case attribution, buyer, context + case actions, 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 + case links, messages, order, payment, policies, signals, status, totals, ucp } - public init(attribution: [String: String]?, buyer: Buyer?, context: Context?, continueURL: String?, currency: String, discounts: CheckoutDiscounts?, expiresAt: Date?, fulfillment: CheckoutFulfillment?, id: String, lineItems: [LineItem], links: [Link], messages: [Message]?, order: OrderConfirmation?, payment: Payment?, signals: [String: JSONAny]?, status: CheckoutStatus, totals: [CheckoutTotal], ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema) { + public init(actions: [String: [[String: JSONAny]]]?, 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?, policies: [Policy]?, signals: [String: JSONAny]?, status: CheckoutStatus, totals: [CheckoutTotal], ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema) { + self.actions = actions self.attribution = attribution self.buyer = buyer self.context = context @@ -80,6 +87,7 @@ extension EmbeddedCheckoutProtocol { self.messages = messages self.order = order self.payment = payment + self.policies = policies self.signals = signals self.status = status self.totals = totals @@ -88,10 +96,11 @@ extension EmbeddedCheckoutProtocol { 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"] + private static let knownAdditionalPropertyKeys: Set = ["actions", "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "policies", "signals", "status", "totals", "ucp"] public init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self) + self.actions = try container.decodeIfPresent([String: [[String: JSONAny]]].self, forKey: .actions) 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) @@ -106,6 +115,7 @@ extension EmbeddedCheckoutProtocol { 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.policies = try container.decodeIfPresent([Policy].self, forKey: .policies) 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) @@ -120,6 +130,7 @@ extension EmbeddedCheckoutProtocol { public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(actions, forKey: .actions) try container.encodeIfPresent(attribution, forKey: .attribution) try container.encodeIfPresent(buyer, forKey: .buyer) try container.encodeIfPresent(context, forKey: .context) @@ -134,6 +145,7 @@ extension EmbeddedCheckoutProtocol { try container.encodeIfPresent(messages, forKey: .messages) try container.encodeIfPresent(order, forKey: .order) try container.encodeIfPresent(payment, forKey: .payment) + try container.encodeIfPresent(policies, forKey: .policies) try container.encodeIfPresent(signals, forKey: .signals) try container.encode(status, forKey: .status) try container.encode(totals, forKey: .totals) @@ -165,6 +177,7 @@ public extension EmbeddedCheckoutProtocol.Checkout { } func with( + actions: [String: [[String: JSONAny]]]?? = nil, attribution: [String: String]?? = nil, buyer: Buyer?? = nil, context: Context?? = nil, @@ -179,12 +192,14 @@ public extension EmbeddedCheckoutProtocol.Checkout { messages: [Message]?? = nil, order: OrderConfirmation?? = nil, payment: Payment?? = nil, + policies: [Policy]?? = nil, signals: [String: JSONAny]?? = nil, status: CheckoutStatus? = nil, totals: [CheckoutTotal]? = nil, ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema? = nil ) -> EmbeddedCheckoutProtocol.Checkout { return EmbeddedCheckoutProtocol.Checkout( + actions: actions ?? self.actions, attribution: attribution ?? self.attribution, buyer: buyer ?? self.buyer, context: context ?? self.context, @@ -199,6 +214,7 @@ public extension EmbeddedCheckoutProtocol.Checkout { messages: messages ?? self.messages, order: order ?? self.order, payment: payment ?? self.payment, + policies: policies ?? self.policies, signals: signals ?? self.signals, status: status ?? self.status, totals: totals ?? self.totals, @@ -215,6 +231,14 @@ public extension EmbeddedCheckoutProtocol.Checkout { } } +/// Non-empty instances of one Action type. JSON preserves array order; the declaring +/// extension defines whether order has processing semantics. +/// +/// Common fields for one outstanding Action instance are id and optional config. The +/// extension declaring the Action type defines type-specific processing data under config. +/// Additional properties are permitted for forward compatibility. + + /// Representation of the buyer. // MARK: - Buyer public struct Buyer: Codable, Sendable { @@ -321,18 +345,19 @@ public extension Buyer { /// data. Context SHOULD be non-identifying and can be disclosed progressively—coarse signals /// early, finer resolution as the session progresses. Higher-resolution data (shipping /// address, billing address) supersedes context. +/// +/// A coarse geographic location — country, region, and postal code. A lightweight +/// alternative to a full postal address. // MARK: - Context public struct Context: Codable, Sendable { - /// The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". - /// For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a - /// full country name such as "Singapore" can also be used. Optional hint for market context - /// (currency, availability, pricing)—higher-resolution data (e.g., shipping address) - /// supersedes this value. + /// The country, as a 2-letter ISO 3166-1 alpha-2 code (e.g. "US"). A 3-letter alpha-3 code + /// or full country name MAY also be used. public let addressCountry: String? - /// The region in which the locality is, and which is in the country. For example, California - /// or another appropriate first-level Administrative division. Optional hint for progressive - /// localization—higher-resolution data (e.g., shipping address) supersedes this value. + /// The first-level administrative region within the country (e.g. a state or province such + /// as California). public let addressRegion: String? + /// The postal code (e.g. "94043"). + public let postalCode: String? /// Preferred currency (ISO 4217, e.g., 'EUR', 'USD'). Businesses determine presentment /// currency from context and authoritative signals; this hint MAY inform selection in /// multi-currency markets. Also serves as the denomination for price filter values — @@ -355,40 +380,52 @@ public struct Context: Codable, Sendable { /// Accept-Language when this field is absent; when provided, overrides Accept-Language. /// Businesses MAY return content in a different language if unavailable. public let language: String? - /// The postal code. For example, 94043. Optional hint for regional - /// refinement—higher-resolution data (e.g., shipping address) supersedes this value. - public let postalCode: String? + /// Stable, opaque identifier for a Location in the Business's namespace. This provisional, + /// non-binding hint is distinct from the Buyer's locality. The operation specification or an + /// active capability/extension defines its effects. A common example in retail shopping is + /// the default home store ID selected and saved by the user when purchasing groceries. + public let location: String? + /// Buyer-preferred payment handlers in priority order (most preferred first). Each entry + /// names a handler advertised in the Business profile's `ucp.payment_handlers`, optionally + /// narrowed to preferred instrument types. The Business SHOULD use it to preselect or + /// prioritize the handler (and type, when given) and MAY ignore unavailable or ineligible + /// entries; unrecognized values MUST be ignored without error. + public let payment: [PreferredPaymentHandler]? public enum CodingKeys: String, CodingKey { case addressCountry = "address_country" case addressRegion = "address_region" - case currency, eligibility, intent, language case postalCode = "postal_code" + case currency, eligibility, intent, language, location, payment } - public init(addressCountry: String?, addressRegion: String?, currency: String?, eligibility: [String]?, intent: String?, language: String?, postalCode: String?) { + public init(addressCountry: String?, addressRegion: String?, postalCode: String?, currency: String?, eligibility: [String]?, intent: String?, language: String?, location: String?, payment: [PreferredPaymentHandler]?) { self.addressCountry = addressCountry self.addressRegion = addressRegion + self.postalCode = postalCode self.currency = currency self.eligibility = eligibility self.intent = intent self.language = language - self.postalCode = postalCode + self.location = location + self.payment = payment } public var additionalProperties: [String: JSONAny] = [:] - private static let knownAdditionalPropertyKeys: Set = ["address_country", "address_region", "currency", "eligibility", "intent", "language", "postal_code"] + private static let knownAdditionalPropertyKeys: Set = ["address_country", "address_region", "postal_code", "currency", "eligibility", "intent", "language", "location", "payment"] public init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self) self.addressCountry = try container.decodeIfPresent(String.self, forKey: .addressCountry) self.addressRegion = try container.decodeIfPresent(String.self, forKey: .addressRegion) + self.postalCode = try container.decodeIfPresent(String.self, forKey: .postalCode) self.currency = try container.decodeIfPresent(String.self, forKey: .currency) self.eligibility = try container.decodeIfPresent([String].self, forKey: .eligibility) self.intent = try container.decodeIfPresent(String.self, forKey: .intent) self.language = try container.decodeIfPresent(String.self, forKey: .language) - self.postalCode = try container.decodeIfPresent(String.self, forKey: .postalCode) + self.location = try container.decodeIfPresent(String.self, forKey: .location) + self.payment = try container.decodeIfPresent([PreferredPaymentHandler].self, forKey: .payment) let additionalContainer = try decoder.container(keyedBy: JSONCodingKey.self) var extras: [String: JSONAny] = [:] for key in additionalContainer.allKeys where !Self.knownAdditionalPropertyKeys.contains(key.stringValue) { @@ -401,11 +438,13 @@ public struct Context: Codable, Sendable { var container = encoder.container(keyedBy: CodingKeys.self) try container.encodeIfPresent(addressCountry, forKey: .addressCountry) try container.encodeIfPresent(addressRegion, forKey: .addressRegion) + try container.encodeIfPresent(postalCode, forKey: .postalCode) try container.encodeIfPresent(currency, forKey: .currency) try container.encodeIfPresent(eligibility, forKey: .eligibility) try container.encodeIfPresent(intent, forKey: .intent) try container.encodeIfPresent(language, forKey: .language) - try container.encodeIfPresent(postalCode, forKey: .postalCode) + try container.encodeIfPresent(location, forKey: .location) + try container.encodeIfPresent(payment, forKey: .payment) 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)!) @@ -434,20 +473,76 @@ public extension Context { func with( addressCountry: String?? = nil, addressRegion: String?? = nil, + postalCode: String?? = nil, currency: String?? = nil, eligibility: [String]?? = nil, intent: String?? = nil, language: String?? = nil, - postalCode: String?? = nil + location: String?? = nil, + payment: [PreferredPaymentHandler]?? = nil ) -> Context { return Context( addressCountry: addressCountry ?? self.addressCountry, addressRegion: addressRegion ?? self.addressRegion, + postalCode: postalCode ?? self.postalCode, currency: currency ?? self.currency, eligibility: eligibility ?? self.eligibility, intent: intent ?? self.intent, language: language ?? self.language, - postalCode: postalCode ?? self.postalCode + location: location ?? self.location, + payment: payment ?? self.payment + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + +// MARK: - PreferredPaymentHandler +public struct PreferredPaymentHandler: Codable, Sendable { + /// Handler registry key advertised in the Business profile's `ucp.payment_handlers`. + public let handler: String + /// Optional preferred instrument types for this handler, in priority order, aligned with the + /// handler's advertised `payment_instrument.type` values (for example `card` or `bank`). + /// Unrecognized values MUST be ignored. + public let types: [String]? + + public init(handler: String, types: [String]?) { + self.handler = handler + self.types = types + } +} + +// MARK: PreferredPaymentHandler convenience initializers and mutators + +public extension PreferredPaymentHandler { + init(data: Data) throws { + self = try newJSONDecoder().decode(PreferredPaymentHandler.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + handler: String? = nil, + types: [String]?? = nil + ) -> PreferredPaymentHandler { + return PreferredPaymentHandler( + handler: handler ?? self.handler, + types: types ?? self.types ) } @@ -606,7 +701,8 @@ public extension AppliedDiscount { public struct DiscountAllocation: Codable, Sendable { /// Amount allocated to this target in ISO 4217 minor units. public let amount: Int - /// JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals.shipping'). + /// RFC 9535 JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals[?@.type == + /// "fulfillment"]'). public let path: String public init(amount: Int, path: String) { @@ -726,8 +822,9 @@ public struct FulfillmentAvailableMethod: Codable, Sendable { public let fulfillableOn: String? /// Line items available for this fulfillment method. public let lineItemIDS: [String] - /// Fulfillment method type this availability applies to. - public let type: FulfillmentMethodType + /// Fulfillment method type this availability applies to. Well-known values: `shipping`, + /// `pickup`; businesses MAY use additional values. + public let type: String public enum CodingKeys: String, CodingKey { case description @@ -736,7 +833,7 @@ public struct FulfillmentAvailableMethod: Codable, Sendable { case type } - public init(description: String?, fulfillableOn: String?, lineItemIDS: [String], type: FulfillmentMethodType) { + public init(description: String?, fulfillableOn: String?, lineItemIDS: [String], type: String) { self.description = description self.fulfillableOn = fulfillableOn self.lineItemIDS = lineItemIDS @@ -752,7 +849,7 @@ public struct FulfillmentAvailableMethod: Codable, Sendable { self.description = try container.decodeIfPresent(String.self, forKey: .description) self.fulfillableOn = try container.decodeIfPresent(String.self, forKey: .fulfillableOn) self.lineItemIDS = try container.decode([String].self, forKey: .lineItemIDS) - self.type = try container.decode(FulfillmentMethodType.self, forKey: .type) + self.type = try container.decode(String.self, forKey: .type) let additionalContainer = try decoder.container(keyedBy: JSONCodingKey.self) var extras: [String: JSONAny] = [:] for key in additionalContainer.allKeys where !Self.knownAdditionalPropertyKeys.contains(key.stringValue) { @@ -796,7 +893,7 @@ public extension FulfillmentAvailableMethod { description: String?? = nil, fulfillableOn: String?? = nil, lineItemIDS: [String]? = nil, - type: FulfillmentMethodType? = nil + type: String? = nil ) -> FulfillmentAvailableMethod { return FulfillmentAvailableMethod( description: description ?? self.description, @@ -815,18 +912,11 @@ public extension FulfillmentAvailableMethod { } } -/// Fulfillment method type this availability applies to. -/// -/// Fulfillment method type. -public enum FulfillmentMethodType: String, Codable, Sendable { - case pickup = "pickup" - case shipping = "shipping" -} - -/// A fulfillment method (shipping or pickup) with destinations and groups. +/// A fulfillment method with destinations and groups. // MARK: - FulfillmentMethod public struct FulfillmentMethod: Codable, Sendable { - /// Available destinations. For shipping: addresses. For pickup: retail locations. + /// Available destinations for this method. In Business responses, each destination carries a + /// `type` and `id`. public let destinations: [FulfillmentDestination]? /// Fulfillment groups for selecting options. Agent sets selected_option_id on groups to /// choose shipping method. @@ -835,10 +925,12 @@ public struct FulfillmentMethod: Codable, Sendable { public let id: String /// Line item IDs fulfilled via this method. public let lineItemIDS: [String] - /// ID of the selected destination. + /// ID of the selected destination. Accepts any stable, Business-scoped ID the Business + /// recognizes for this method, including Location IDs not yet enumerated in `destinations`. public let selectedDestinationID: String? - /// Fulfillment method type. - public let type: FulfillmentMethodType + /// Fulfillment method type. Well-known values: `shipping`, `pickup`. Businesses MAY use + /// additional values. + public let type: String public enum CodingKeys: String, CodingKey { case destinations, groups, id @@ -847,7 +939,7 @@ public struct FulfillmentMethod: Codable, Sendable { case type } - public init(destinations: [FulfillmentDestination]?, groups: [FulfillmentGroup]?, id: String, lineItemIDS: [String], selectedDestinationID: String?, type: FulfillmentMethodType) { + public init(destinations: [FulfillmentDestination]?, groups: [FulfillmentGroup]?, id: String, lineItemIDS: [String], selectedDestinationID: String?, type: String) { self.destinations = destinations self.groups = groups self.id = id @@ -867,7 +959,7 @@ public struct FulfillmentMethod: Codable, Sendable { self.id = try container.decode(String.self, forKey: .id) self.lineItemIDS = try container.decode([String].self, forKey: .lineItemIDS) self.selectedDestinationID = try container.decodeIfPresent(String.self, forKey: .selectedDestinationID) - self.type = try container.decode(FulfillmentMethodType.self, forKey: .type) + self.type = try container.decode(String.self, forKey: .type) let additionalContainer = try decoder.container(keyedBy: JSONCodingKey.self) var extras: [String: JSONAny] = [:] for key in additionalContainer.allKeys where !Self.knownAdditionalPropertyKeys.contains(key.stringValue) { @@ -915,7 +1007,7 @@ public extension FulfillmentMethod { id: String? = nil, lineItemIDS: [String]? = nil, selectedDestinationID: String?? = nil, - type: FulfillmentMethodType? = nil + type: String? = nil ) -> FulfillmentMethod { return FulfillmentMethod( destinations: destinations ?? self.destinations, @@ -937,18 +1029,10 @@ public extension FulfillmentMethod { } /// A destination for fulfillment. -/// -/// Shipping destination. -/// -/// Physical address of the location. -/// -/// The billing address associated with this payment method. -/// -/// Delivery destination address. -/// -/// A pickup location (retail store, locker, etc.). // MARK: - FulfillmentDestination public struct FulfillmentDestination: Codable, Sendable { + /// Physical address of the location. + public let address: PostalAddress? /// The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". /// For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a /// full country name such as "Singapore" can also be used. @@ -964,49 +1048,54 @@ public struct FulfillmentDestination: Codable, Sendable { public let extendedAddress: String? /// Optional. First name of the contact associated with the address. public let firstName: String? + /// Fulfillment destination identifier. + public let id: String /// Optional. Last name of the contact associated with the address. public let lastName: String? + /// Buyer-facing, Business-owned display name. + public let name: String? /// Optional. Phone number of the contact associated with the address. public let phoneNumber: String? /// The postal code. For example, 94043. public let postalCode: String? /// The street address. public let streetAddress: String? - /// ID specific to this shipping destination. - /// - /// Unique location identifier. - public let id: String - /// Physical address of the location. - public let address: PostalAddress? - /// Location name (e.g., store name). - public let name: String? + /// Destination contract discriminator. Required in Business responses and optional in + /// Platform requests. Well-known values: `shipping_address`, `business_location`. The + /// enclosing method contract defines request defaults and which fields the Platform may + /// write; negotiated extensions define additional values. + public let type: String? public enum CodingKeys: String, CodingKey { + case address case addressCountry = "address_country" case addressLocality = "address_locality" case addressRegion = "address_region" case extendedAddress = "extended_address" case firstName = "first_name" + case id case lastName = "last_name" + case name case phoneNumber = "phone_number" case postalCode = "postal_code" case streetAddress = "street_address" - case id, address, name + case type } - public init(addressCountry: String?, addressLocality: String?, addressRegion: String?, extendedAddress: String?, firstName: String?, lastName: String?, phoneNumber: String?, postalCode: String?, streetAddress: String?, id: String, address: PostalAddress?, name: String?) { + public init(address: PostalAddress?, addressCountry: String?, addressLocality: String?, addressRegion: String?, extendedAddress: String?, firstName: String?, id: String, lastName: String?, name: String?, phoneNumber: String?, postalCode: String?, streetAddress: String?, type: String?) { + self.address = address self.addressCountry = addressCountry self.addressLocality = addressLocality self.addressRegion = addressRegion self.extendedAddress = extendedAddress self.firstName = firstName + self.id = id self.lastName = lastName + self.name = name self.phoneNumber = phoneNumber self.postalCode = postalCode self.streetAddress = streetAddress - self.id = id - self.address = address - self.name = name + self.type = type } } @@ -1029,32 +1118,34 @@ public extension FulfillmentDestination { } func with( + address: PostalAddress?? = nil, addressCountry: String?? = nil, addressLocality: String?? = nil, addressRegion: String?? = nil, extendedAddress: String?? = nil, firstName: String?? = nil, + id: String? = nil, lastName: String?? = nil, + name: String?? = nil, phoneNumber: String?? = nil, postalCode: String?? = nil, streetAddress: String?? = nil, - id: String? = nil, - address: PostalAddress?? = nil, - name: String?? = nil + type: String?? = nil ) -> FulfillmentDestination { return FulfillmentDestination( + address: address ?? self.address, addressCountry: addressCountry ?? self.addressCountry, addressLocality: addressLocality ?? self.addressLocality, addressRegion: addressRegion ?? self.addressRegion, extendedAddress: extendedAddress ?? self.extendedAddress, firstName: firstName ?? self.firstName, + id: id ?? self.id, lastName: lastName ?? self.lastName, + name: name ?? self.name, phoneNumber: phoneNumber ?? self.phoneNumber, postalCode: postalCode ?? self.postalCode, streetAddress: streetAddress ?? self.streetAddress, - id: id ?? self.id, - address: address ?? self.address, - name: name ?? self.name + type: type ?? self.type ) } @@ -1272,54 +1363,63 @@ public extension FulfillmentGroup { } } -/// A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). +/// A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). Extends +/// the fulfillment option base with cost and timing. +/// +/// Common base for a fulfillment option: an addressable, renderable choice (e.g. Standard, +/// Express). Catalog uses this base directly; checkout composes it with cost and timing. // MARK: - FulfillmentOption public struct FulfillmentOption: Codable, Sendable { + /// Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec + /// 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. + public let description: Description? + /// Unique identifier for this fulfillment option. + public let id: String + /// Short label that distinguishes this option from its siblings (e.g. 'Standard', 'Express + /// Shipping', 'Curbside Pickup'). + public let title: String /// Carrier name (for shipping). public let carrier: String? - /// Complete context for buyer decision (e.g., 'Arrives Dec 12-15 via FedEx'). - public let description: String? /// Earliest fulfillment date. public let earliestFulfillmentTime: Date? - /// Unique fulfillment option identifier. - public let id: String /// Latest fulfillment date. public let latestFulfillmentTime: Date? - /// Short label (e.g., 'Express Shipping', 'Curbside Pickup'). - public let title: String /// Fulfillment option totals breakdown. public let totals: [LineItemTotal] public enum CodingKeys: String, CodingKey { - case carrier, description + case description, id, title, carrier case earliestFulfillmentTime = "earliest_fulfillment_time" - case id case latestFulfillmentTime = "latest_fulfillment_time" - case title, totals + case totals } - public init(carrier: String?, description: String?, earliestFulfillmentTime: Date?, id: String, latestFulfillmentTime: Date?, title: String, totals: [LineItemTotal]) { - self.carrier = carrier + public init(description: Description?, id: String, title: String, carrier: String?, earliestFulfillmentTime: Date?, latestFulfillmentTime: Date?, totals: [LineItemTotal]) { self.description = description - self.earliestFulfillmentTime = earliestFulfillmentTime self.id = id - self.latestFulfillmentTime = latestFulfillmentTime self.title = title + self.carrier = carrier + self.earliestFulfillmentTime = earliestFulfillmentTime + self.latestFulfillmentTime = latestFulfillmentTime self.totals = totals } public var additionalProperties: [String: JSONAny] = [:] - private static let knownAdditionalPropertyKeys: Set = ["carrier", "description", "earliest_fulfillment_time", "id", "latest_fulfillment_time", "title", "totals"] + private static let knownAdditionalPropertyKeys: Set = ["description", "id", "title", "carrier", "earliest_fulfillment_time", "latest_fulfillment_time", "totals"] public init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self) + if let legacyDescription = try? container.decode(String.self, forKey: .description) { + self.description = Description(html: nil, markdown: nil, plain: legacyDescription) + } else { + self.description = try container.decodeIfPresent(Description.self, forKey: .description) + } + self.id = try container.decode(String.self, forKey: .id) + self.title = try container.decode(String.self, forKey: .title) self.carrier = try container.decodeIfPresent(String.self, forKey: .carrier) - self.description = try container.decodeIfPresent(String.self, forKey: .description) self.earliestFulfillmentTime = try container.decodeIfPresent(Date.self, forKey: .earliestFulfillmentTime) - self.id = try container.decode(String.self, forKey: .id) self.latestFulfillmentTime = try container.decodeIfPresent(Date.self, forKey: .latestFulfillmentTime) - self.title = try container.decode(String.self, forKey: .title) self.totals = try container.decode([LineItemTotal].self, forKey: .totals) let additionalContainer = try decoder.container(keyedBy: JSONCodingKey.self) var extras: [String: JSONAny] = [:] @@ -1331,12 +1431,12 @@ public struct FulfillmentOption: Codable, Sendable { public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(carrier, forKey: .carrier) try container.encodeIfPresent(description, forKey: .description) - try container.encodeIfPresent(earliestFulfillmentTime, forKey: .earliestFulfillmentTime) try container.encode(id, forKey: .id) - try container.encodeIfPresent(latestFulfillmentTime, forKey: .latestFulfillmentTime) try container.encode(title, forKey: .title) + try container.encodeIfPresent(carrier, forKey: .carrier) + try container.encodeIfPresent(earliestFulfillmentTime, forKey: .earliestFulfillmentTime) + try container.encodeIfPresent(latestFulfillmentTime, forKey: .latestFulfillmentTime) try container.encode(totals, forKey: .totals) var additionalContainer = encoder.container(keyedBy: JSONCodingKey.self) for key in additionalProperties.keys.sorted() where !Self.knownAdditionalPropertyKeys.contains(key) { @@ -1364,21 +1464,21 @@ public extension FulfillmentOption { } func with( + description: Description?? = nil, + id: String? = nil, + title: String? = nil, carrier: String?? = nil, - description: String?? = nil, earliestFulfillmentTime: Date?? = nil, - id: String? = nil, latestFulfillmentTime: Date?? = nil, - title: String? = nil, totals: [LineItemTotal]? = nil ) -> FulfillmentOption { return FulfillmentOption( - carrier: carrier ?? self.carrier, description: description ?? self.description, - earliestFulfillmentTime: earliestFulfillmentTime ?? self.earliestFulfillmentTime, id: id ?? self.id, - latestFulfillmentTime: latestFulfillmentTime ?? self.latestFulfillmentTime, title: title ?? self.title, + carrier: carrier ?? self.carrier, + earliestFulfillmentTime: earliestFulfillmentTime ?? self.earliestFulfillmentTime, + latestFulfillmentTime: latestFulfillmentTime ?? self.latestFulfillmentTime, totals: totals ?? self.totals ) } @@ -1392,6 +1492,71 @@ public extension FulfillmentOption { } } +/// Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec +/// 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. +/// +/// Description content in one or more formats. At least one format must be provided. +/// +/// Human-readable policy summary in one or more formats (plain, markdown, html). Required on +/// every policy so a platform can present it without understanding any type-specific fields. +/// This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning +/// (see the Policies section). +// MARK: - Description +public struct Description: Codable, Sendable { + /// HTML-formatted content. Security: Platforms MUST sanitize before rendering—strip scripts, + /// event handlers, and untrusted elements. Treat all rich text as untrusted input. + public let html: String? + /// Markdown-formatted content. + public let markdown: String? + /// Plain text content. + public let plain: String? + + public init(html: String?, markdown: String?, plain: String?) { + self.html = html + self.markdown = markdown + self.plain = plain + } +} + +// MARK: Description convenience initializers and mutators + +public extension Description { + init(data: Data) throws { + self = try newJSONDecoder().decode(Description.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + html: String?? = nil, + markdown: String?? = nil, + plain: String?? = nil + ) -> Description { + return Description( + html: html ?? self.html, + markdown: markdown ?? self.markdown, + plain: plain ?? self.plain + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + /// A cost breakdown entry with a category, amount, and optional display text. // MARK: - LineItemTotal public struct LineItemTotal: Codable, Sendable { @@ -1462,7 +1627,11 @@ public struct LineItem: Codable, Sendable { public let item: Item /// Parent line item identifier for any nested structures. public let parentID: String? - /// Quantity of the item being purchased. + /// Always an integer step count. On Platform requests, steps use the item's + /// Business-authoritative sale basis; omitting `item.quantity_unit` makes no assertion and + /// does not imply `each`. On Business responses, `item.quantity_unit` describes the basis; + /// if absent, it encodes the `each` machine identity (`C62`, 0) and `quantity` counts whole + /// items. public let quantity: Int /// Line item totals breakdown. public let totals: [LineItemTotal] @@ -1525,7 +1694,7 @@ public extension LineItem { } } -/// Product data (id, title, price, image_url). +/// Purchased item data, including identity, price, and sale basis. // MARK: - Item public struct Item: Codable, Sendable { /// The product identifier, often the SKU, required to resolve the product details associated @@ -1533,22 +1702,47 @@ public struct Item: Codable, Sendable { public let id: String /// Product image URI. public let imageURL: String? - /// Unit price in ISO 4217 minor units. + /// Unit price in ISO 4217 minor units. Price is the amount per one whole + /// `quantity_unit.unit` (for example, per lb or per hour); when `quantity_unit` is absent, + /// it is per `each`. public let price: Int + /// Sale basis this item's `quantity` is denominated in. On an authoritative Business + /// response, absence encodes the default `each` machine identity (`C62`, 0); the Business + /// MUST include this descriptor for every non-`each` response. On Platform requests, + /// omission makes no assertion: the Business interprets `quantity` using the item's + /// authoritative sale basis. If the Platform includes this descriptor, it asserts the + /// unit-descriptor machine identity. The Business MUST compare that machine identity + /// (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a + /// mismatch by conversion surfaced as a visible line revision with a warning, or by + /// rejection with a recoverable business outcome; silent reinterpretation is forbidden. An + /// explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented + /// by an absent descriptor. + public let quantityUnit: QuantityUnit? /// Product title. public let title: String + /// Pricing basis for this item. On an authoritative Business response, the Business MUST + /// include `unit_price` on every line whose pricing basis differs from its sale basis (for + /// example, priced per pound but sold per `each`); presence on a line marks the rate as + /// transactional rather than display-only. When the pricing basis is the sale basis, + /// `item.price` fully denominates the charge and this field MAY be omitted. + public let unitPrice: UnitPrice? public enum CodingKeys: String, CodingKey { case id case imageURL = "image_url" - case price, title + case price + case quantityUnit = "quantity_unit" + case title + case unitPrice = "unit_price" } - public init(id: String, imageURL: String?, price: Int, title: String) { + public init(id: String, imageURL: String?, price: Int, quantityUnit: QuantityUnit?, title: String, unitPrice: UnitPrice?) { self.id = id self.imageURL = imageURL self.price = price + self.quantityUnit = quantityUnit self.title = title + self.unitPrice = unitPrice } } @@ -1574,13 +1768,287 @@ public extension Item { id: String? = nil, imageURL: String?? = nil, price: Int? = nil, - title: String? = nil + quantityUnit: QuantityUnit?? = nil, + title: String? = nil, + unitPrice: UnitPrice?? = nil ) -> Item { return Item( id: id ?? self.id, imageURL: imageURL ?? self.imageURL, price: price ?? self.price, - title: title ?? self.title + quantityUnit: quantityUnit ?? self.quantityUnit, + title: title ?? self.title, + unitPrice: unitPrice ?? self.unitPrice + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + +/// Sale basis this item's `quantity` is denominated in. On an authoritative Business +/// response, absence encodes the default `each` machine identity (`C62`, 0); the Business +/// MUST include this descriptor for every non-`each` response. On Platform requests, +/// omission makes no assertion: the Business interprets `quantity` using the item's +/// authoritative sale basis. If the Platform includes this descriptor, it asserts the +/// unit-descriptor machine identity. The Business MUST compare that machine identity +/// (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a +/// mismatch by conversion surfaced as a visible line revision with a warning, or by +/// rejection with a recoverable business outcome; silent reinterpretation is forbidden. An +/// explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented +/// by an absent descriptor. +/// +/// Sale-basis descriptor for quantities: the shared unit descriptor plus the Business's +/// ordering policy. Its unit-descriptor machine identity remains (`unit`, effective +/// `scale`); `display_text` and `increment` are excluded from identity and mismatch +/// comparison. +/// +/// A reusable unit descriptor for quantities and measures. Its unit-descriptor machine +/// identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` +/// or 0; `display_text` is excluded. +// MARK: - QuantityUnit +public struct QuantityUnit: Codable, Sendable { + /// Required printable unit label provided by the Business. The Platform MUST use it when it + /// does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + /// MAY substitute its own localized label. It does not participate in unit identity or + /// mismatch comparison. + public let displayText: String + /// One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + /// 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + /// single whole unit (10^16 steps) is no longer representable, so larger scales cannot + /// denominate one unit of their own basis. Businesses needing finer granularity use a + /// smaller unit. + public let scale: Int? + /// Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + /// when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + /// identifier and MUST use it consistently for the same unit. The Platform MUST treat an + /// unrecognized identifier as opaque. + public let unit: String + /// Ordering granularity, denominated in steps: the Business sells this item in integer + /// multiples of `increment` steps. Its effective value is the provided value or 1. Advisory + /// merchandising policy, not a representational bound: Platform-authored quantities SHOULD + /// be integer multiples of the effective increment; the Business MAY accept, revise, or + /// reject an off-increment request with a recoverable business outcome and MUST NOT silently + /// reinterpret it. Business-authored quantities (checkout revisions, fulfillment events, + /// adjustments) are bounded only by `scale`. + public let increment: Int? + + public enum CodingKeys: String, CodingKey { + case displayText = "display_text" + case scale, unit, increment + } + + public init(displayText: String, scale: Int?, unit: String, increment: Int?) { + self.displayText = displayText + self.scale = scale + self.unit = unit + self.increment = increment + } +} + +// MARK: QuantityUnit convenience initializers and mutators + +public extension QuantityUnit { + init(data: Data) throws { + self = try newJSONDecoder().decode(QuantityUnit.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + displayText: String? = nil, + scale: Int?? = nil, + unit: String? = nil, + increment: Int?? = nil + ) -> QuantityUnit { + return QuantityUnit( + displayText: displayText ?? self.displayText, + scale: scale ?? self.scale, + unit: unit ?? self.unit, + increment: increment ?? self.increment + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + +/// Pricing basis for this item. On an authoritative Business response, the Business MUST +/// include `unit_price` on every line whose pricing basis differs from its sale basis (for +/// example, priced per pound but sold per `each`); presence on a line marks the rate as +/// transactional rather than display-only. When the pricing basis is the sale basis, +/// `item.price` fully denominates the charge and this field MAY be omitted. +/// +/// Price per standard unit of measurement. MAY be omitted when unit pricing does not apply. +/// `unit_price.currency` MUST equal `price.currency`; the comparator MUST NOT perform +/// currency conversion. `measure.unit` and `reference.unit` MUST be identical; cross-unit +/// conversion is not permitted. Their scales MAY differ; each value represents `value × +/// 10^-scale`. +// MARK: - UnitPrice +public struct UnitPrice: Codable, Sendable { + /// Unit price in ISO 4217 minor units. After satisfying the same-unit invariant, the + /// Business MUST compute the comparator as `(price.amount / (measure.value × + /// 10^-measure.scale)) × (reference.value × 10^-reference.scale)` and round it once to ISO + /// 4217 minor units according to its pricing rules. The returned `unit_price.amount` is + /// authoritative; the Platform MUST NOT recompute or substitute its own result. + public let amount: Int + /// ISO 4217 currency code. + public let currency: String + /// Product quantity in packaging/content (for example, a 750 mL bottle), distinct from + /// `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. + public let measure: Measure + /// Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer + /// `value` MUST be at least 1. + public let reference: Measure + + public init(amount: Int, currency: String, measure: Measure, reference: Measure) { + self.amount = amount + self.currency = currency + self.measure = measure + self.reference = reference + } +} + +// MARK: UnitPrice convenience initializers and mutators + +public extension UnitPrice { + init(data: Data) throws { + self = try newJSONDecoder().decode(UnitPrice.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + amount: Int? = nil, + currency: String? = nil, + measure: Measure? = nil, + reference: Measure? = nil + ) -> UnitPrice { + return UnitPrice( + amount: amount ?? self.amount, + currency: currency ?? self.currency, + measure: measure ?? self.measure, + reference: reference ?? self.reference + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + +/// Product quantity in packaging/content (for example, a 750 mL bottle), distinct from +/// `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. +/// +/// Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer +/// `value` MUST be at least 1. +/// +/// The settled measurement this adjustment reconciles (for example, actual picked weight), +/// present when the line's price settles by measurement. Its unit identity MUST match the +/// line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A +/// pure price settlement uses `quantity: 0` together with `measure` and a totals delta. +/// +/// A measure composed of an integer value and a unit descriptor. Its value is the integer +/// count of `10^-scale` units of `unit`. +/// +/// A reusable unit descriptor for quantities and measures. Its unit-descriptor machine +/// identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` +/// or 0; `display_text` is excluded. +// MARK: - Measure +public struct Measure: Codable, Sendable { + /// Required printable unit label provided by the Business. The Platform MUST use it when it + /// does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + /// MAY substitute its own localized label. It does not participate in unit identity or + /// mismatch comparison. + public let displayText: String + /// One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + /// 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + /// single whole unit (10^16 steps) is no longer representable, so larger scales cannot + /// denominate one unit of their own basis. Businesses needing finer granularity use a + /// smaller unit. + public let scale: Int? + /// Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + /// when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + /// identifier and MUST use it consistently for the same unit. The Platform MUST treat an + /// unrecognized identifier as opaque. + public let unit: String + /// Integer count of `10^-scale` units of `unit`. + public let value: Int + + public enum CodingKeys: String, CodingKey { + case displayText = "display_text" + case scale, unit, value + } + + public init(displayText: String, scale: Int?, unit: String, value: Int) { + self.displayText = displayText + self.scale = scale + self.unit = unit + self.value = value + } +} + +// MARK: Measure convenience initializers and mutators + +public extension Measure { + init(data: Data) throws { + self = try newJSONDecoder().decode(Measure.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + displayText: String? = nil, + scale: Int?? = nil, + unit: String? = nil, + value: Int? = nil + ) -> Measure { + return Measure( + displayText: displayText ?? self.displayText, + scale: scale ?? self.scale, + unit: unit ?? self.unit, + value: value ?? self.value ) } @@ -1661,14 +2129,11 @@ public struct Message: Codable, Sendable { public let content: String /// Content format, default = plain. public let contentType: ContentType? - /// RFC 9535 JSONPath to the component the message refers to (e.g., $.items[1]). - /// - /// JSONPath (RFC 9535) to related field (e.g., $.line_items[0]). - /// - /// RFC 9535 JSONPath to the component the message refers to. + /// RFC 9535 JSONPath to the component the message refers to (e.g., $.line_items[0]). public let path: String? /// Reflects the resource state and recommended action. 'recoverable': platform can resolve - /// by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires + /// the condition in band, for example by modifying inputs or processing a related Action, + /// and submit a new operation when needed. 'requires_buyer_input': merchant requires /// information their API doesn't support collecting programmatically (checkout incomplete). /// 'requires_buyer_review': buyer must authorize before order placement due to policy, /// regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -1765,7 +2230,8 @@ public enum ContentType: String, Codable, Sendable { } /// Reflects the resource state and recommended action. 'recoverable': platform can resolve -/// by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires +/// the condition in band, for example by modifying inputs or processing a related Action, +/// and submit a new operation when needed. 'requires_buyer_input': merchant requires /// information their API doesn't support collecting programmatically (checkout incomplete). /// 'requires_buyer_review': buyer must authorize before order placement due to policy, /// regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -1910,7 +2376,11 @@ public struct SelectedPaymentInstrument: Codable, Sendable { /// The unique identifier for the handler instance that produced this instrument. This /// corresponds to the 'id' field in the Payment Handler definition. public let handlerID: String - /// A unique identifier for this instrument instance, assigned by the platform. + /// A unique identifier for this instrument instance. Typically assigned by the platform for + /// instruments it collects. For a business-owned saved instrument returned on an + /// identity-linked response, this identifier is assigned by the business; the platform MUST + /// treat it as an opaque, business-scoped reference, and the business resolves it + /// server-side when the buyer selects it. public let id: String /// The broad category of the instrument (e.g., 'card', 'tokenized_card'). Specific schemas /// will constrain this to a constant value. @@ -2094,6 +2564,121 @@ public extension PaymentCredential { } } +/// A durable business rule about the items in a response — return/refund terms, warranty, +/// and the like — at the time of purchase. Every policy carries a `type` (an open +/// reverse-DNS vocabulary) and a `description` so a platform can present it without +/// understanding its type-specific fields; type-specific fields (gated by `type`) add +/// structured context for platforms that model that type. Policies are reference data; the +/// obligation to display a term to the buyer is carried by a `messages[]` warning whose +/// `code` equals the policy `type` — see the Policies section of the specification. +// MARK: - Policy +public struct Policy: Codable, Sendable { + /// RFC 9535 JSONPath expressions identifying the nodes this policy applies to, relative to + /// the embedding response root (e.g., `$.line_items[0]` in cart/checkout, `$.products[2]` in + /// catalog). Each target covers the node it names and everything nested under it, so a + /// target on a product also covers its variants. A singular query (RFC 9535 Section 2.3.5.1; + /// name and index selectors only) names a single node; filters, wildcards, and slices match + /// a set. When omitted, the policy applies to the entire response. When policies of the same + /// `type` contest a node, the narrowest target wins and overrides the rest. See the Policies + /// section for how specificity resolves. + public let appliesTo: [String]? + /// Human-readable policy summary in one or more formats (plain, markdown, html). Required on + /// every policy so a platform can present it without understanding any type-specific fields. + /// This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning + /// (see the Policies section). + public let description: Description + /// Policy type discriminator. Open reverse-DNS vocabulary. Well-known values: + /// `dev.ucp.shopping.policy.return` (return terms), `dev.ucp.shopping.policy.warranty` + /// (warranty terms). Businesses MAY define custom types in their own domain (e.g., + /// `com.example.policy.price_match`). Platforms MUST tolerate unknown values. + public let type: String + /// Optional link to the full policy document. + public let url: String? + + public enum CodingKeys: String, CodingKey { + case appliesTo = "applies_to" + case description, type, url + } + + public init(appliesTo: [String]?, description: Description, type: String, url: String?) { + self.appliesTo = appliesTo + self.description = description + self.type = type + self.url = url + } + + public var additionalProperties: [String: JSONAny] = [:] + + private static let knownAdditionalPropertyKeys: Set = ["applies_to", "description", "type", "url"] + + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: CodingKeys.self) + self.appliesTo = try container.decodeIfPresent([String].self, forKey: .appliesTo) + self.description = try container.decode(Description.self, forKey: .description) + self.type = try container.decode(String.self, forKey: .type) + self.url = try container.decodeIfPresent(String.self, forKey: .url) + 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 + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(appliesTo, forKey: .appliesTo) + try container.encode(description, forKey: .description) + try container.encode(type, forKey: .type) + try container.encodeIfPresent(url, forKey: .url) + 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: Policy convenience initializers and mutators + +public extension Policy { + init(data: Data) throws { + self = try newJSONDecoder().decode(Policy.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + appliesTo: [String]?? = nil, + description: Description? = nil, + type: String? = nil, + url: String?? = nil + ) -> Policy { + return Policy( + appliesTo: appliesTo ?? self.appliesTo, + description: description ?? self.description, + type: type ?? self.type, + url: url ?? self.url + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + /// Environment data provided by the platform to support authorization and abuse prevention. /// Values MUST NOT be buyer-asserted claims — platforms provide signals based on direct /// observation or independently verifiable third-party attestations. All signal keys MUST @@ -2101,7 +2686,7 @@ public extension PaymentCredential { /// extensions contribute to the shared namespace. -/// Checkout state indicating the current phase and required action. See Checkout Status +/// Checkout state indicating the current phase and required processing. See Checkout Status /// lifecycle documentation for state transition details. public enum CheckoutStatus: String, Codable, Sendable { case canceled = "canceled" @@ -2250,6 +2835,9 @@ extension EmbeddedCheckoutProtocol { public struct UCPCheckoutResponseSchema: Codable, Sendable { /// Capability registry keyed by reverse-domain name. public let capabilities: [String: [CapabilityResponseSchema]]? + /// Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + /// (`services`, `capabilities`, and `payment_handlers`). + public let mapOrder: [String: [String]]? /// Payment handler registry keyed by reverse-domain name. public let paymentHandlers: [String: [PaymentHandlerResponseSchema]] /// Service registry keyed by reverse-domain name. @@ -2260,12 +2848,14 @@ extension EmbeddedCheckoutProtocol { public enum CodingKeys: String, CodingKey { case capabilities + case mapOrder = "map_order" case paymentHandlers = "payment_handlers" case services, status, version } - public init(capabilities: [String: [CapabilityResponseSchema]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]], services: [String: [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?, status: UCPCheckoutResponseSchemaStatus?, version: String) { + public init(capabilities: [String: [CapabilityResponseSchema]]?, mapOrder: [String: [String]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]], services: [String: [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?, status: UCPCheckoutResponseSchemaStatus?, version: String) { self.capabilities = capabilities + self.mapOrder = mapOrder self.paymentHandlers = paymentHandlers self.services = services self.status = status @@ -2294,6 +2884,7 @@ public extension EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema { func with( capabilities: [String: [CapabilityResponseSchema]]?? = nil, + mapOrder: [String: [String]]?? = nil, paymentHandlers: [String: [PaymentHandlerResponseSchema]]? = nil, services: [String: [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?? = nil, status: UCPCheckoutResponseSchemaStatus?? = nil, @@ -2301,6 +2892,7 @@ public extension EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema { ) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema { return EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema( capabilities: capabilities ?? self.capabilities, + mapOrder: mapOrder ?? self.mapOrder, paymentHandlers: paymentHandlers ?? self.paymentHandlers, services: services ?? self.services, status: status ?? self.status, @@ -2507,14 +3099,16 @@ public extension PaymentHandlerResponseSchema { /// An instrument type available from a payment handler with optional constraints. // MARK: - PaymentHandlerResponseSchemaAvailableInstrument public struct PaymentHandlerResponseSchemaAvailableInstrument: Codable, Sendable { - /// Constraints on this instrument type. Structure depends on instrument type and active - /// capabilities. - public let constraints: [String: JSONAny]? + /// A Constraint Expression describing the instrument this entry makes available. Keys in + /// `properties` name members of the `constraint_target` declared by the instrument schema + /// for this `type`. Requirements on submitted request data belong in + /// `ucp.request_constraints` instead. + public let constraints: ConstraintExpression? /// 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) { + public init(constraints: ConstraintExpression?, type: String) { self.constraints = constraints self.type = type } @@ -2539,7 +3133,7 @@ public extension PaymentHandlerResponseSchemaAvailableInstrument { } func with( - constraints: [String: JSONAny]?? = nil, + constraints: ConstraintExpression?? = nil, type: String? = nil ) -> PaymentHandlerResponseSchemaAvailableInstrument { return PaymentHandlerResponseSchemaAvailableInstrument( @@ -2557,6 +3151,161 @@ public extension PaymentHandlerResponseSchemaAvailableInstrument { } } +/// A Constraint Expression describing the instrument this entry makes available. Keys in +/// `properties` name members of the `constraint_target` declared by the instrument schema +/// for this `type`. Requirements on submitted request data belong in +/// `ucp.request_constraints` instead. +/// +/// A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint +/// positions. +/// +/// A Value Constraint containing `enum`, `const`, or both. +// MARK: - ConstraintProperty +public struct ConstraintProperty: Codable, Sendable { + /// Alternative Object Constraints. The constrained object must satisfy at least one. A + /// branch must be non-empty: an empty branch is satisfied by every object and neutralizes + /// the alternation. + public let anyOf: [ConstraintExpression]? + /// Constraints keyed by property name. Must be non-empty: an empty object applies no + /// constraint. + public let properties: [String: ConstraintProperty]? + /// Property names required by the constrained object. Must be non-empty: an empty array + /// applies no constraint. + public let constraintPropertyRequired: [String]? + public let const: JSONAny? + /// A non-empty array of unique JSON values. + public let constraintPropertyEnum: [JSONAny]? + + public enum CodingKeys: String, CodingKey { + case anyOf, properties + case constraintPropertyRequired = "required" + case const + case constraintPropertyEnum = "enum" + } + + public init(anyOf: [ConstraintExpression]?, properties: [String: ConstraintProperty]?, constraintPropertyRequired: [String]?, const: JSONAny?, constraintPropertyEnum: [JSONAny]?) { + self.anyOf = anyOf + self.properties = properties + self.constraintPropertyRequired = constraintPropertyRequired + self.const = const + self.constraintPropertyEnum = constraintPropertyEnum + } +} + +// MARK: ConstraintProperty convenience initializers and mutators + +public extension ConstraintProperty { + init(data: Data) throws { + self = try newJSONDecoder().decode(ConstraintProperty.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + anyOf: [ConstraintExpression]?? = nil, + properties: [String: ConstraintProperty]?? = nil, + constraintPropertyRequired: [String]?? = nil, + const: JSONAny?? = nil, + constraintPropertyEnum: [JSONAny]?? = nil + ) -> ConstraintProperty { + return ConstraintProperty( + anyOf: anyOf ?? self.anyOf, + properties: properties ?? self.properties, + constraintPropertyRequired: constraintPropertyRequired ?? self.constraintPropertyRequired, + const: const ?? self.const, + constraintPropertyEnum: constraintPropertyEnum ?? self.constraintPropertyEnum + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + +/// A Constraint Expression describing the instrument this entry makes available. Keys in +/// `properties` name members of the `constraint_target` declared by the instrument schema +/// for this `type`. Requirements on submitted request data belong in +/// `ucp.request_constraints` instead. +/// +/// A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint +/// positions. +// MARK: - ConstraintExpression +public struct ConstraintExpression: Codable, Sendable { + /// Alternative Object Constraints. The constrained object must satisfy at least one. A + /// branch must be non-empty: an empty branch is satisfied by every object and neutralizes + /// the alternation. + public let anyOf: [ConstraintExpression]? + /// Constraints keyed by property name. Must be non-empty: an empty object applies no + /// constraint. + public let properties: [String: ConstraintProperty]? + /// Property names required by the constrained object. Must be non-empty: an empty array + /// applies no constraint. + public let constraintExpressionRequired: [String]? + + public enum CodingKeys: String, CodingKey { + case anyOf, properties + case constraintExpressionRequired = "required" + } + + public init(anyOf: [ConstraintExpression]?, properties: [String: ConstraintProperty]?, constraintExpressionRequired: [String]?) { + self.anyOf = anyOf + self.properties = properties + self.constraintExpressionRequired = constraintExpressionRequired + } +} + +// MARK: ConstraintExpression convenience initializers and mutators + +public extension ConstraintExpression { + init(data: Data) throws { + self = try newJSONDecoder().decode(ConstraintExpression.self, from: data) + } + + init(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { + throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil) + } + try self.init(data: data) + } + + init(fromURL url: URL) throws { + try self.init(data: try Data(contentsOf: url)) + } + + func with( + anyOf: [ConstraintExpression]?? = nil, + properties: [String: ConstraintProperty]?? = nil, + constraintExpressionRequired: [String]?? = nil + ) -> ConstraintExpression { + return ConstraintExpression( + anyOf: anyOf ?? self.anyOf, + properties: properties ?? self.properties, + constraintExpressionRequired: constraintExpressionRequired ?? self.constraintExpressionRequired + ) + } + + func jsonData() throws -> Data { + return try newJSONEncoder().encode(self) + } + + func jsonString(encoding: String.Encoding = .utf8) throws -> String? { + return String(data: try self.jsonData(), encoding: encoding) + } +} + /// Service binding in API responses. Includes per-resource transport configuration via typed /// config. /// @@ -2749,6 +3498,9 @@ public struct Order: Codable, Sendable { public let messages: [Message]? /// Permalink to access the order on merchant site. public let permalinkURL: String + /// Snapshot of the policies that applied to the items at checkout, captured on the order as + /// a durable record. `applies_to` targets are relative to the response root. + public let policies: [Policy]? /// Different totals for the order. public let totals: [CheckoutTotal] public let ucp: UCPOrderResponseSchema @@ -2760,10 +3512,10 @@ public struct Order: Codable, Sendable { case lineItems = "line_items" case messages case permalinkURL = "permalink_url" - case totals, ucp + case policies, totals, ucp } - public init(adjustments: [Adjustment]?, attribution: [String: String]?, checkoutID: String, currency: String, fulfillment: Fulfillment, id: String, label: String?, lineItems: [OrderLineItem], messages: [Message]?, permalinkURL: String, totals: [CheckoutTotal], ucp: UCPOrderResponseSchema) { + public init(adjustments: [Adjustment]?, attribution: [String: String]?, checkoutID: String, currency: String, fulfillment: Fulfillment, id: String, label: String?, lineItems: [OrderLineItem], messages: [Message]?, permalinkURL: String, policies: [Policy]?, totals: [CheckoutTotal], ucp: UCPOrderResponseSchema) { self.adjustments = adjustments self.attribution = attribution self.checkoutID = checkoutID @@ -2774,6 +3526,7 @@ public struct Order: Codable, Sendable { self.lineItems = lineItems self.messages = messages self.permalinkURL = permalinkURL + self.policies = policies self.totals = totals self.ucp = ucp } @@ -2808,6 +3561,7 @@ public extension Order { lineItems: [OrderLineItem]? = nil, messages: [Message]?? = nil, permalinkURL: String? = nil, + policies: [Policy]?? = nil, totals: [CheckoutTotal]? = nil, ucp: UCPOrderResponseSchema? = nil ) -> Order { @@ -2822,6 +3576,7 @@ public extension Order { lineItems: lineItems ?? self.lineItems, messages: messages ?? self.messages, permalinkURL: permalinkURL ?? self.permalinkURL, + policies: policies ?? self.policies, totals: totals ?? self.totals, ucp: ucp ?? self.ucp ) @@ -2928,12 +3683,20 @@ public extension Adjustment { public struct AdjustmentLineItem: Codable, Sendable { /// Line item ID reference. public let id: String - /// Signed quantity affected by this adjustment. Negative values represent reductions (e.g. - /// returns); positive values represent additions (e.g. exchanges). + /// The settled measurement this adjustment reconciles (for example, actual picked weight), + /// present when the line's price settles by measurement. Its unit identity MUST match the + /// line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A + /// pure price settlement uses `quantity: 0` together with `measure` and a totals delta. + public let measure: Measure? + /// Signed integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` + /// × `unit`); when `quantity_unit` is absent, it counts whole items (`each`). Negative + /// values represent reductions (e.g. returns); positive values represent additions (e.g. + /// exchanges). public let quantity: Int - public init(id: String, quantity: Int) { + public init(id: String, measure: Measure?, quantity: Int) { self.id = id + self.measure = measure self.quantity = quantity } } @@ -2958,10 +3721,12 @@ public extension AdjustmentLineItem { func with( id: String? = nil, + measure: Measure?? = nil, quantity: Int? = nil ) -> AdjustmentLineItem { return AdjustmentLineItem( id: id ?? self.id, + measure: measure ?? self.measure, quantity: quantity ?? self.quantity ) } @@ -3133,7 +3898,8 @@ public extension FulfillmentEvent { public struct EventLineItem: Codable, Sendable { /// Line item ID reference. public let id: String - /// Quantity fulfilled in this event. + /// Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + /// `unit`); when `quantity_unit` is absent, it counts whole items (`each`). public let quantity: Int public init(id: String, quantity: Int) { @@ -3195,8 +3961,9 @@ public struct Expectation: Codable, Sendable { public let id: String /// Which line items and quantities are in this expectation. public let lineItems: [ExpectationLineItem] - /// Delivery method type (shipping, pickup, digital). - public let methodType: MethodType + /// Delivery method type. Well-known values: `shipping`, `pickup`, `digital`; additional + /// values MAY be used. + public let methodType: String public enum CodingKeys: String, CodingKey { case description, destination @@ -3206,7 +3973,7 @@ public struct Expectation: Codable, Sendable { case methodType = "method_type" } - public init(description: String?, destination: PostalAddress, fulfillableOn: String?, id: String, lineItems: [ExpectationLineItem], methodType: MethodType) { + public init(description: String?, destination: PostalAddress, fulfillableOn: String?, id: String, lineItems: [ExpectationLineItem], methodType: String) { self.description = description self.destination = destination self.fulfillableOn = fulfillableOn @@ -3240,7 +4007,7 @@ public extension Expectation { fulfillableOn: String?? = nil, id: String? = nil, lineItems: [ExpectationLineItem]? = nil, - methodType: MethodType? = nil + methodType: String? = nil ) -> Expectation { return Expectation( description: description ?? self.description, @@ -3265,7 +4032,8 @@ public extension Expectation { public struct ExpectationLineItem: Codable, Sendable { /// Line item ID reference. public let id: String - /// Quantity of this item in this expectation. + /// Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + /// `unit`); when `quantity_unit` is absent, it counts whole items (`each`). public let quantity: Int public init(id: String, quantity: Int) { @@ -3311,22 +4079,18 @@ public extension ExpectationLineItem { } } -/// Delivery method type (shipping, pickup, digital). -public enum MethodType: String, Codable, Sendable { - case digital = "digital" - case pickup = "pickup" - case shipping = "shipping" -} - // MARK: - OrderLineItem public struct OrderLineItem: Codable, Sendable { /// Line item identifier. public let id: String - /// Product data (id, title, price, image_url). + /// Purchased item data, including identity, price, and sale basis. public let item: Item /// Parent line item identifier for any nested structures. public let parentID: String? - /// Quantity tracking for the line item. + /// Tracks the line item's original, current active, and fulfilled quantities. All three + /// values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent + /// on an authoritative order response, each step is one whole item (`each`) under the shared + /// default. public let quantity: LineItemQuantity /// Derived status: removed if quantity.total == 0, fulfilled if quantity.total > 0 and /// quantity.fulfilled == quantity.total, partial if quantity.total > 0 and @@ -3396,15 +4160,18 @@ public extension OrderLineItem { } } -/// Quantity tracking for the line item. +/// Tracks the line item's original, current active, and fulfilled quantities. All three +/// values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent +/// on an authoritative order response, each step is one whole item (`each`) under the shared +/// default. // MARK: - LineItemQuantity public struct LineItemQuantity: Codable, Sendable { - /// Quantity fulfilled so far. + /// Quantity fulfilled so far, expressed as an integer step count. public let fulfilled: Int - /// Quantity from the original checkout. + /// Quantity from the original checkout, expressed as an integer step count. public let original: Int? - /// Current total active quantity. May differ from original due to post-order modifications - /// (e.g., returns or cancellations). + /// Current active quantity after returns, cancellations, or other order changes, expressed + /// as an integer step count. public let total: Int public init(fulfilled: Int, original: Int?, total: Int) { @@ -3470,6 +4237,9 @@ public enum LineItemStatus: String, Codable, Sendable { public struct UCPOrderResponseSchema: Codable, Sendable { /// Capability registry keyed by reverse-domain name. public let capabilities: [String: [CapabilityResponseSchema]]? + /// Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + /// (`services`, `capabilities`, and `payment_handlers`). + public let mapOrder: [String: [String]]? /// Payment handler registry keyed by reverse-domain name. public let paymentHandlers: [String: [PaymentHandlerResponseSchema]]? /// Service registry keyed by reverse-domain name. @@ -3480,12 +4250,14 @@ public struct UCPOrderResponseSchema: Codable, Sendable { public enum CodingKeys: String, CodingKey { case capabilities + case mapOrder = "map_order" case paymentHandlers = "payment_handlers" case services, status, version } - public init(capabilities: [String: [CapabilityResponseSchema]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?, services: [String: [Service]]?, status: UCPCheckoutResponseSchemaStatus?, version: String) { + public init(capabilities: [String: [CapabilityResponseSchema]]?, mapOrder: [String: [String]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?, services: [String: [Service]]?, status: UCPCheckoutResponseSchemaStatus?, version: String) { self.capabilities = capabilities + self.mapOrder = mapOrder self.paymentHandlers = paymentHandlers self.services = services self.status = status @@ -3513,6 +4285,7 @@ public extension UCPOrderResponseSchema { func with( capabilities: [String: [CapabilityResponseSchema]]?? = nil, + mapOrder: [String: [String]]?? = nil, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?? = nil, services: [String: [Service]]?? = nil, status: UCPCheckoutResponseSchemaStatus?? = nil, @@ -3520,6 +4293,7 @@ public extension UCPOrderResponseSchema { ) -> UCPOrderResponseSchema { return UCPOrderResponseSchema( capabilities: capabilities ?? self.capabilities, + mapOrder: mapOrder ?? self.mapOrder, paymentHandlers: paymentHandlers ?? self.paymentHandlers, services: services ?? self.services, status: status ?? self.status, @@ -3688,6 +4462,9 @@ extension EmbeddedCheckoutProtocol { public struct ErrorResponseUcp: Codable, Sendable { /// Capability registry keyed by reverse-domain name. public let capabilities: [String: [CapabilityResponseSchema]]? + /// Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + /// (`services`, `capabilities`, and `payment_handlers`). + public let mapOrder: [String: [String]]? /// Payment handler registry keyed by reverse-domain name. public let paymentHandlers: [String: [PaymentHandlerResponseSchema]]? /// Service registry keyed by reverse-domain name. @@ -3698,12 +4475,14 @@ extension EmbeddedCheckoutProtocol { public enum CodingKeys: String, CodingKey { case capabilities + case mapOrder = "map_order" case paymentHandlers = "payment_handlers" case services, status, version } - public init(capabilities: [String: [CapabilityResponseSchema]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?, services: [String: [Service]]?, status: EmbeddedCheckoutProtocol.ErrorStatus, version: String) { + public init(capabilities: [String: [CapabilityResponseSchema]]?, mapOrder: [String: [String]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?, services: [String: [Service]]?, status: EmbeddedCheckoutProtocol.ErrorStatus, version: String) { self.capabilities = capabilities + self.mapOrder = mapOrder self.paymentHandlers = paymentHandlers self.services = services self.status = status @@ -3732,6 +4511,7 @@ public extension EmbeddedCheckoutProtocol.ErrorResponseUcp { func with( capabilities: [String: [CapabilityResponseSchema]]?? = nil, + mapOrder: [String: [String]]?? = nil, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?? = nil, services: [String: [Service]]?? = nil, status: EmbeddedCheckoutProtocol.ErrorStatus? = nil, @@ -3739,6 +4519,7 @@ public extension EmbeddedCheckoutProtocol.ErrorResponseUcp { ) -> EmbeddedCheckoutProtocol.ErrorResponseUcp { return EmbeddedCheckoutProtocol.ErrorResponseUcp( capabilities: capabilities ?? self.capabilities, + mapOrder: mapOrder ?? self.mapOrder, paymentHandlers: paymentHandlers ?? self.paymentHandlers, services: services ?? self.services, status: status ?? self.status, @@ -3957,6 +4738,9 @@ extension EmbeddedCheckoutProtocol { public struct InstrumentsChangeResultUcp: Codable, Sendable { /// Capability registry keyed by reverse-domain name. public let capabilities: [String: [EmbeddedCheckoutProtocol.CapabilityElement]]? + /// Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + /// (`services`, `capabilities`, and `payment_handlers`). + public let mapOrder: [String: [String]]? /// Payment handler registry keyed by reverse-domain name. public let paymentHandlers: [String: [EmbeddedCheckoutProtocol.PaymentHandlerElement]]? /// Service registry keyed by reverse-domain name. @@ -3967,12 +4751,14 @@ extension EmbeddedCheckoutProtocol { public enum CodingKeys: String, CodingKey { case capabilities + case mapOrder = "map_order" case paymentHandlers = "payment_handlers" case services, status, version } - public init(capabilities: [String: [EmbeddedCheckoutProtocol.CapabilityElement]]?, paymentHandlers: [String: [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?, services: [String: [EmbeddedCheckoutProtocol.EmbeddedService]]?, status: UCPCheckoutResponseSchemaStatus, version: String) { + public init(capabilities: [String: [EmbeddedCheckoutProtocol.CapabilityElement]]?, mapOrder: [String: [String]]?, paymentHandlers: [String: [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?, services: [String: [EmbeddedCheckoutProtocol.EmbeddedService]]?, status: UCPCheckoutResponseSchemaStatus, version: String) { self.capabilities = capabilities + self.mapOrder = mapOrder self.paymentHandlers = paymentHandlers self.services = services self.status = status @@ -4001,6 +4787,7 @@ public extension EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp { func with( capabilities: [String: [EmbeddedCheckoutProtocol.CapabilityElement]]?? = nil, + mapOrder: [String: [String]]?? = nil, paymentHandlers: [String: [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?? = nil, services: [String: [EmbeddedCheckoutProtocol.EmbeddedService]]?? = nil, status: UCPCheckoutResponseSchemaStatus? = nil, @@ -4008,6 +4795,7 @@ public extension EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp { ) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp { return EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: capabilities ?? self.capabilities, + mapOrder: mapOrder ?? self.mapOrder, paymentHandlers: paymentHandlers ?? self.paymentHandlers, services: services ?? self.services, status: status ?? self.status, @@ -4189,14 +4977,16 @@ public extension EmbeddedCheckoutProtocol.PaymentHandlerElement { // MARK: - PaymentHandlerAvailableInstrument 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]? + /// A Constraint Expression describing the instrument this entry makes available. Keys in + /// `properties` name members of the `constraint_target` declared by the instrument schema + /// for this `type`. Requirements on submitted request data belong in + /// `ucp.request_constraints` instead. + public let constraints: ConstraintExpression? /// 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) { + public init(constraints: ConstraintExpression?, type: String) { self.constraints = constraints self.type = type } @@ -4222,7 +5012,7 @@ public extension EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument { } func with( - constraints: [String: JSONAny]?? = nil, + constraints: ConstraintExpression?? = nil, type: String? = nil ) -> EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument { return EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument( diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift index 0ddf18c02..d6687e415 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift @@ -4,6 +4,7 @@ extension EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp { public static func success(version: String = EmbeddedCheckoutProtocol.specVersion) -> Self { EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, + mapOrder: nil, paymentHandlers: nil, services: nil, status: .success, diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift index f870c8b69..763b636be 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift @@ -18,6 +18,7 @@ extension EmbeddedCheckoutProtocol.WindowOpenResult { EmbeddedCheckoutProtocol.WindowOpenResult( ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, + mapOrder: nil, paymentHandlers: nil, services: nil, status: .error, diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift index 2f884b109..6bc16f0ce 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift @@ -422,6 +422,7 @@ struct ClientTests { checkout: nil, ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, + mapOrder: nil, paymentHandlers: nil, services: nil, status: .success, diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift index b89f91f1f..f2e1d18e6 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift @@ -11,6 +11,7 @@ struct CodecEncodeTests { ), ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, + mapOrder: nil, paymentHandlers: nil, services: nil, status: .success, diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift index 4e9639cee..7ac6c4ca7 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift @@ -6,8 +6,8 @@ import Testing struct DescriptorTests { @Suite("Spec Version") struct SpecVersion { - @Test func matchesOpenRPCInfoVersion() { - #expect(EmbeddedCheckoutProtocol.specVersion == "2026-04-08") + @Test func advertisesAugustRevision() { + #expect(EmbeddedCheckoutProtocol.specVersion == "2026-08-25") } } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift index 6e50bcdb3..3bd838012 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift @@ -48,10 +48,10 @@ struct CheckoutProtocolURLTests { } @Test func replacesCallerSuppliedProtocolQueryItems() throws { - let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=stale&ec_delegate=custom")) + let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom")) let items = queryItems(EmbeddedCheckoutProtocol.url(for: url, options: .init(delegations: ["window.open"]))) - #expect(items.filter { $0.name == "ec_version" }.map(\.value) == [EmbeddedCheckoutProtocol.specVersion]) + #expect(items.filter { $0.name == "ec_version" }.map(\.value) == ["2026-08-25"]) #expect(items.filter { $0.name == "ec_delegate" }.map(\.value) == ["window.open"]) } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json new file mode 100644 index 000000000..25a5fee60 --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json @@ -0,0 +1,90 @@ +{ + "jsonrpc": "2.0", + "method": "ec.start", + "params": { + "checkout": { + "id": "checkout-compatibility", + "currency": "USD", + "line_items": [], + "links": [], + "status": "incomplete", + "totals": [], + "ucp": { + "version": "2026-04-08", + "payment_handlers": {} + }, + "fulfillment": { + "available_methods": [ + { + "type": "shipping", + "line_item_ids": [] + } + ], + "methods": [ + { + "id": "drone-1", + "type": "shipping", + "line_item_ids": [], + "destinations": [ + { + "id": "address-1", + "street_address": "123 Example Street", + "address_locality": "Example City", + "address_country": "US", + "postal_code": "10001" + } + ], + "groups": [ + { + "id": "group-1", + "line_item_ids": [], + "options": [ + { + "id": "option-standard", + "title": "Standard Shipping", + "description": "Arrives in 3-5 business days", + "totals": [ + { + "type": "fulfillment", + "amount": 500 + } + ] + } + ], + "selected_option_id": "option-standard" + } + ], + "com.example.method_extension": { + "nested_value": "preserved" + } + }, + { + "id": "pickup-1", + "type": "pickup", + "line_item_ids": [], + "destinations": [ + { + "id": "location-1", + "name": "Example Pickup Store", + "address": { + "street_address": "456 Example Avenue", + "extended_address": "Suite 2", + "address_locality": "Example City", + "address_region": "NY", + "address_country": "US", + "postal_code": "10002" + } + } + ] + } + ] + }, + "signals": { + "com.example.device_id": "compatibility-test" + }, + "com.example.extension": { + "nested_value": 42 + } + } + } +} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json new file mode 100644 index 000000000..d7d3e16e9 --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json @@ -0,0 +1,145 @@ +{ + "jsonrpc": "2.0", + "method": "ec.start", + "params": { + "checkout": { + "id": "checkout-compatibility", + "currency": "USD", + "line_items": [], + "links": [], + "status": "incomplete", + "totals": [], + "ucp": { + "version": "2026-08-25", + "payment_handlers": { + "com.example.wallet": [ + { + "id": "example-wallet", + "version": "2026-08-25", + "available_instruments": [ + { + "type": "card", + "constraints": { + "required": [ + "credential" + ], + "properties": { + "credential": { + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "token" + ] + } + } + }, + "amount": { + "const": 100 + } + }, + "anyOf": [ + { + "required": [ + "credential" + ] + } + ] + } + } + ] + } + ] + }, + "map_order": { + "payment_handlers": [ + "com.example.wallet" + ] + }, + "future_metadata": { + "enabled": true + } + }, + "fulfillment": { + "available_methods": [ + { + "type": "drone_delivery", + "line_item_ids": [] + } + ], + "methods": [ + { + "id": "drone-1", + "type": "drone_delivery", + "line_item_ids": [], + "destinations": [ + { + "id": "address-1", + "street_address": "123 Example Street", + "address_locality": "Example City", + "address_country": "US", + "postal_code": "10001", + "type": "shipping_address" + } + ], + "groups": [ + { + "id": "group-1", + "line_item_ids": [], + "options": [ + { + "id": "option-standard", + "title": "Standard Shipping", + "description": { + "plain": "Arrives in 3-5 business days", + "markdown": "Arrives in **3-5 business days**", + "html": "

Arrives in 3-5 business days

" + }, + "totals": [ + { + "type": "fulfillment", + "amount": 500 + } + ] + } + ], + "selected_option_id": "option-standard" + } + ], + "com.example.method_extension": { + "nested_value": "preserved" + } + }, + { + "id": "pickup-1", + "type": "pickup", + "line_item_ids": [], + "destinations": [ + { + "id": "location-1", + "name": "Example Pickup Store", + "address": { + "street_address": "456 Example Avenue", + "extended_address": "Suite 2", + "address_locality": "Example City", + "address_region": "NY", + "address_country": "US", + "postal_code": "10002" + }, + "type": "business_location" + } + ] + } + ] + }, + "signals": { + "com.example.device_id": "compatibility-test" + }, + "com.example.extension": { + "nested_value": 42 + } + } + } +} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json new file mode 100644 index 000000000..1c3f01423 --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json @@ -0,0 +1,19 @@ +{ + "jsonrpc": "2.0", + "method": "ec.error", + "params": { + "error": { + "ucp": { + "version": "2026-04-08", + "status": "error" + }, + "messages": [ + { + "type": "error", + "code": "checkout_unavailable", + "content": "Try again." + } + ] + } + } +} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift index de4062f5e..f3dc37d47 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift @@ -131,9 +131,9 @@ struct ModelDecodingTests { #expect(checkout.discounts?.codes == ["SUMMER20"]) #expect(checkout.discounts?.applied?.first?.method == .across) #expect(checkout.discounts?.applied?.first?.allocations?.first?.path == "$.line_items[0]") - #expect(checkout.fulfillment?.availableMethods?.first?.type == .shipping) + #expect(checkout.fulfillment?.availableMethods?.first?.type == "shipping") #expect(checkout.fulfillment?.methods?.first?.id == "pickup-main") - #expect(checkout.fulfillment?.methods?.first?.type == .pickup) + #expect(checkout.fulfillment?.methods?.first?.type == "pickup") } @Test func decodesOrderLineItemQuantity() throws { diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift new file mode 100644 index 000000000..683bb0e86 --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift @@ -0,0 +1,84 @@ +import Foundation +@testable import EmbeddedCheckoutProtocol +import Testing + +@Suite("Wire version compatibility") +struct VersionCompatibilityTests { + @Test(arguments: ["2026-08-25", "2026-04-08"]) + func checkoutPayload(version: String) throws { + let data = try fixture("checkout-" + version) + let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) + let checkout = envelope.params.checkout + #expect(checkout.ucp.version == version) + #expect(checkout.fulfillment?.methods?.first?.type == (version == "2026-08-25" ? "drone_delivery" : "shipping")) + let option = try #require(checkout.fulfillment?.methods?.first?.groups?.first?.options?.first) + #expect(option.description?.plain == "Arrives in 3-5 business days") + #expect(option.description?.markdown == (version == "2026-08-25" ? "Arrives in **3-5 business days**" : nil)) + #expect(option.description?.html == (version == "2026-08-25" ? "

Arrives in 3-5 business days

" : nil)) + let pickup = try #require(checkout.fulfillment?.methods?.first { $0.id == "pickup-1" }) + let location = try #require(pickup.destinations?.first) + #expect(location.id == "location-1") + #expect(location.name == "Example Pickup Store") + // April retail locations predate the August destination discriminator. + #expect(location.type == (version == "2026-08-25" ? "business_location" : nil)) + let address = try #require(location.address) + #expect(address.streetAddress == "456 Example Avenue") + #expect(address.extendedAddress == "Suite 2") + #expect(address.addressLocality == "Example City") + #expect(address.addressRegion == "NY") + #expect(address.addressCountry == "US") + #expect(address.postalCode == "10002") + if version == "2026-08-25" { + #expect(checkout.ucp.mapOrder == ["payment_handlers": ["com.example.wallet"]]) + #expect(checkout.fulfillment?.availableMethods?.first?.type == "drone_delivery") + } + let original = try #require(try JSONSerialization.jsonObject(with: data) as? [String: Any]) + let params = try #require(original["params"] as? [String: Any]) + var expected = try canonicalizedLegacyDescription(try #require(params["checkout"] as? [String: Any])) + // Native UCP metadata ignores unknown members; Checkout and signals + // are the existing extension-preservation surfaces. + var metadata = try #require(expected["ucp"] as? [String: Any]) + metadata.removeValue(forKey: "future_metadata") + expected["ucp"] = metadata + let encoded = try JSONEncoder().encode(checkout) + let actual = try #require(try JSONSerialization.jsonObject(with: encoded) as? NSDictionary) + #expect(actual == expected as NSDictionary) + } + + @Test func aprilErrorPayload() throws { + let data = try fixture("error-2026-04-08") + let object = try #require(try JSONSerialization.jsonObject(with: data) as? [String: Any]) + let params = try #require(object["params"] as? [String: Any]) + let wire = try #require(params["error"] as? [String: Any]) + let error = try JSONDecoder().decode(ErrorResponse.self, from: JSONSerialization.data(withJSONObject: wire)) + #expect(error.ucp.version == "2026-04-08") + #expect(error.messages.first?.content == "Try again.") + } + + private func fixture(_ name: String) throws -> Data { + let url = try #require(Bundle.module.url(forResource: name, withExtension: "json", subdirectory: "Fixtures")) + return try Data(contentsOf: url) + } + + private func canonicalizedLegacyDescription(_ checkout: [String: Any]) throws -> [String: Any] { + var checkout = checkout + var fulfillment = try #require(checkout["fulfillment"] as? [String: Any]) + var methods = try #require(fulfillment["methods"] as? [[String: Any]]) + var method = try #require(methods.first) + var groups = try #require(method["groups"] as? [[String: Any]]) + var group = try #require(groups.first) + var options = try #require(group["options"] as? [[String: Any]]) + var option = try #require(options.first) + if let description = option["description"] as? String { + option["description"] = ["plain": description] + } + options[0] = option + group["options"] = options + groups[0] = group + method["groups"] = groups + methods[0] = method + fulfillment["methods"] = methods + checkout["fulfillment"] = fulfillment + return checkout + } +} diff --git a/protocol/languages/typescript/src/client.d.ts b/protocol/languages/typescript/src/client.d.ts index fd1264237..4176e629e 100644 --- a/protocol/languages/typescript/src/client.d.ts +++ b/protocol/languages/typescript/src/client.d.ts @@ -1,7 +1,14 @@ import type { NotificationDescriptor, RequestDescriptor } from './descriptors'; +export interface DecodeErrorContext { + method: string; + error: unknown; + params: unknown; +} export declare class Client { private readonly notifications; private readonly requests; + private decodeErrorHandler?; + onDecodeError(handler: (context: DecodeErrorContext) => void): this; on(descriptor: RequestDescriptor, handler: (message: Message) => Result | Promise): this; diff --git a/protocol/languages/typescript/src/embedded_checkout_protocol.d.ts b/protocol/languages/typescript/src/embedded_checkout_protocol.d.ts index 44c9a32f1..cff44c031 100644 --- a/protocol/languages/typescript/src/embedded_checkout_protocol.d.ts +++ b/protocol/languages/typescript/src/embedded_checkout_protocol.d.ts @@ -3,7 +3,7 @@ import type { DecodedMessage, JSONRPCID } from './codec'; import { type Delegation as DelegationType } from './generated/ProtocolNotifications'; import { url, type ProtocolURLOptions } from './url'; export declare const EmbeddedCheckoutProtocol: { - readonly specVersion: "2026-04-08"; + readonly specVersion: "2026-08-25"; readonly Delegations: { readonly paymentInstrumentsChange: "payment.instruments_change"; readonly paymentCredential: "payment.credential"; diff --git a/protocol/languages/typescript/src/generated/Models.d.ts b/protocol/languages/typescript/src/generated/Models.d.ts index 90672cf15..b07886eb6 100644 --- a/protocol/languages/typescript/src/generated/Models.d.ts +++ b/protocol/languages/typescript/src/generated/Models.d.ts @@ -2,6 +2,14 @@ * Base checkout schema. Extensions compose onto this using allOf. */ export interface Checkout { + /** + * Outstanding extension-defined { [key: string]: any } for this checkout. + */ + actions?: { + [key: string]: { + [key: string]: any; + }[]; + }; attribution?: { [key: string]: string; }; @@ -51,11 +59,17 @@ export interface Checkout { */ order?: OrderConfirmation; payment?: Payment; + /** + * Policies (e.g., return/refund terms) that apply to the items in this checkout. + * `applies_to` targets are relative to the response root; when absent or empty, refer to + * the URLs in `links[]`. + */ + policies?: Policy[]; signals?: { [key: string]: any; }; /** - * Checkout state indicating the current phase and required action. See Checkout Status + * Checkout state indicating the current phase and required processing. See Checkout Status * lifecycle documentation for state transition details. */ status: CheckoutStatus; @@ -66,6 +80,14 @@ export interface Checkout { ucp: UcpCheckoutResponseSchema; [property: string]: any; } +/** + * Non-empty instances of one Action type. JSON preserves array order; the declaring + * extension defines whether order has processing semantics. + * + * Common fields for one outstanding Action instance are id and optional config. The + * extension declaring the Action type defines type-specific processing data under config. + * Additional properties are permitted for forward compatibility. + */ /** * Representation of the buyer. */ @@ -97,22 +119,25 @@ export interface Buyer { * data. Context SHOULD be non-identifying and can be disclosed progressively—coarse signals * early, finer resolution as the session progresses. Higher-resolution data (shipping * address, billing address) supersedes context. + * + * A coarse geographic location — country, region, and postal code. A lightweight + * alternative to a full postal address. */ export interface Context { /** - * The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". - * For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a - * full country name such as "Singapore" can also be used. Optional hint for market context - * (currency, availability, pricing)—higher-resolution data (e.g., shipping address) - * supersedes this value. + * The country, as a 2-letter ISO 3166-1 alpha-2 code (e.g. "US"). A 3-letter alpha-3 code + * or full country name MAY also be used. */ addressCountry?: string; /** - * The region in which the locality is, and which is in the country. For example, California - * or another appropriate first-level Administrative division. Optional hint for progressive - * localization—higher-resolution data (e.g., shipping address) supersedes this value. + * The first-level administrative region within the country (e.g. a state or province such + * as California). */ addressRegion?: string; + /** + * The postal code (e.g. "94043"). + */ + postalCode?: string; /** * Preferred currency (ISO 4217, e.g., 'EUR', 'USD'). Businesses determine presentment * currency from context and authoritative signals; this hint MAY inform selection in @@ -144,10 +169,33 @@ export interface Context { */ language?: string; /** - * The postal code. For example, 94043. Optional hint for regional - * refinement—higher-resolution data (e.g., shipping address) supersedes this value. + * Stable, opaque identifier for a Location in the Business's namespace. This provisional, + * non-binding hint is distinct from the Buyer's locality. The operation specification or an + * active capability/extension defines its effects. A common example in retail shopping is + * the default home store ID selected and saved by the user when purchasing groceries. */ - postalCode?: string; + location?: string; + /** + * Buyer-preferred payment handlers in priority order (most preferred first). Each entry + * names a handler advertised in the Business profile's `ucp.payment_handlers`, optionally + * narrowed to preferred instrument types. The Business SHOULD use it to preselect or + * prioritize the handler (and type, when given) and MAY ignore unavailable or ineligible + * entries; unrecognized values MUST be ignored without error. + */ + payment?: PreferredPaymentHandler[]; + [property: string]: any; +} +export interface PreferredPaymentHandler { + /** + * Handler registry key advertised in the Business profile's `ucp.payment_handlers`. + */ + handler: string; + /** + * Optional preferred instrument types for this handler, in priority order, aligned with the + * handler's advertised `payment_instrument.type` values (for example `card` or `bank`). + * Unrecognized values MUST be ignored. + */ + types?: string[]; [property: string]: any; } /** @@ -219,7 +267,8 @@ export interface DiscountAllocation { */ amount: number; /** - * JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals.shipping'). + * RFC 9535 JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals[?@.type == + * "fulfillment"]'). */ path: string; [property: string]: any; @@ -262,23 +311,19 @@ export interface FulfillmentAvailableMethod { */ lineItemIds: string[]; /** - * Fulfillment method type this availability applies to. + * Fulfillment method type this availability applies to. Well-known values: `shipping`, + * `pickup`; businesses MAY use additional values. */ - type: FulfillmentMethodType; + type: string; [property: string]: any; } /** - * Fulfillment method type this availability applies to. - * - * Fulfillment method type. - */ -export type FulfillmentMethodType = "shipping" | "pickup"; -/** - * A fulfillment method (shipping or pickup) with destinations and groups. + * A fulfillment method with destinations and groups. */ export interface FulfillmentMethod { /** - * Available destinations. For shipping: addresses. For pickup: retail locations. + * Available destinations for this method. In Business responses, each destination carries a + * `type` and `id`. */ destinations?: FulfillmentDestination[]; /** @@ -295,29 +340,25 @@ export interface FulfillmentMethod { */ lineItemIds: string[]; /** - * ID of the selected destination. + * ID of the selected destination. Accepts any stable, Business-scoped ID the Business + * recognizes for this method, including Location IDs not yet enumerated in `destinations`. */ selectedDestinationId?: null | string; /** - * Fulfillment method type. + * Fulfillment method type. Well-known values: `shipping`, `pickup`. Businesses MAY use + * additional values. */ - type: FulfillmentMethodType; + type: string; [property: string]: any; } /** * A destination for fulfillment. - * - * Shipping destination. - * - * Physical address of the location. - * - * The billing address associated with this payment method. - * - * Delivery destination address. - * - * A pickup location (retail store, locker, etc.). */ export interface FulfillmentDestination { + /** + * Physical address of the location. + */ + address?: PostalAddress; /** * The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". * For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a @@ -343,10 +384,18 @@ export interface FulfillmentDestination { * Optional. First name of the contact associated with the address. */ firstName?: string; + /** + * Fulfillment destination identifier. + */ + id: string; /** * Optional. Last name of the contact associated with the address. */ lastName?: string; + /** + * Buyer-facing, Business-owned display name. + */ + name?: string; /** * Optional. Phone number of the contact associated with the address. */ @@ -360,19 +409,12 @@ export interface FulfillmentDestination { */ streetAddress?: string; /** - * ID specific to this shipping destination. - * - * Unique location identifier. - */ - id: string; - /** - * Physical address of the location. - */ - address?: PostalAddress; - /** - * Location name (e.g., store name). + * Destination contract discriminator. Required in Business responses and optional in + * Platform requests. Well-known values: `shipping_address`, `business_location`. The + * enclosing method contract defines request defaults and which fields the Platform may + * write; negotiated extensions define additional values. */ - name?: string; + type?: string; [property: string]: any; } /** @@ -449,39 +491,72 @@ export interface FulfillmentGroup { [property: string]: any; } /** - * A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). + * A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). Extends + * the fulfillment option base with cost and timing. + * + * Common base for a fulfillment option: an addressable, renderable choice (e.g. Standard, + * Express). Catalog uses this base directly; checkout composes it with cost and timing. */ export interface FulfillmentOption { /** - * Carrier name (for shipping). + * Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec + * 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. */ - carrier?: string; + description?: Description; /** - * Complete context for buyer decision (e.g., 'Arrives Dec 12-15 via FedEx'). + * Unique identifier for this fulfillment option. */ - description?: string; + id: string; /** - * Earliest fulfillment date. + * Short label that distinguishes this option from its siblings (e.g. 'Standard', 'Express + * Shipping', 'Curbside Pickup'). */ - earliestFulfillmentTime?: string; + title: string; /** - * Unique fulfillment option identifier. + * Carrier name (for shipping). */ - id: string; + carrier?: string; /** - * Latest fulfillment date. + * Earliest fulfillment date. */ - latestFulfillmentTime?: string; + earliestFulfillmentTime?: string; /** - * Short label (e.g., 'Express Shipping', 'Curbside Pickup'). + * Latest fulfillment date. */ - title: string; + latestFulfillmentTime?: string; /** * Fulfillment option totals breakdown. */ totals: LineItemTotal[]; [property: string]: any; } +/** + * Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec + * 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. + * + * Description content in one or more formats. At least one format must be provided. + * + * Human-readable policy summary in one or more formats (plain, markdown, html). Required on + * every policy so a platform can present it without understanding any type-specific fields. + * This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning + * (see the Policies section). + */ +export interface Description { + /** + * HTML-formatted content. Security: Platforms MUST sanitize before rendering—strip scripts, + * event handlers, and untrusted elements. Treat all rich text as untrusted input. + */ + html?: string; + /** + * Markdown-formatted content. + */ + markdown?: string; + /** + * Plain text content. + */ + plain?: string; + [property: string]: any; +} /** * A cost breakdown entry with a category, amount, and optional display text. */ @@ -510,7 +585,11 @@ export interface LineItem { */ parentId?: string; /** - * Quantity of the item being purchased. + * Always an integer step count. On Platform requests, steps use the item's + * Business-authoritative sale basis; omitting `item.quantity_unit` makes no assertion and + * does not imply `each`. On Business responses, `item.quantity_unit` describes the basis; + * if absent, it encodes the `each` machine identity (`C62`, 0) and `quantity` counts whole + * items. */ quantity: number; /** @@ -520,7 +599,7 @@ export interface LineItem { [property: string]: any; } /** - * Product data (id, title, price, image_url). + * Purchased item data, including identity, price, and sale basis. */ export interface Item { /** @@ -533,13 +612,180 @@ export interface Item { */ imageUrl?: string; /** - * Unit price in ISO 4217 minor units. + * Unit price in ISO 4217 minor units. Price is the amount per one whole + * `quantity_unit.unit` (for example, per lb or per hour); when `quantity_unit` is absent, + * it is per `each`. */ price: number; + /** + * Sale basis this item's `quantity` is denominated in. On an authoritative Business + * response, absence encodes the default `each` machine identity (`C62`, 0); the Business + * MUST include this descriptor for every non-`each` response. On Platform requests, + * omission makes no assertion: the Business interprets `quantity` using the item's + * authoritative sale basis. If the Platform includes this descriptor, it asserts the + * unit-descriptor machine identity. The Business MUST compare that machine identity + * (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a + * mismatch by conversion surfaced as a visible line revision with a warning, or by + * rejection with a recoverable business outcome; silent reinterpretation is forbidden. An + * explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented + * by an absent descriptor. + */ + quantityUnit?: QuantityUnit; /** * Product title. */ title: string; + /** + * Pricing basis for this item. On an authoritative Business response, the Business MUST + * include `unit_price` on every line whose pricing basis differs from its sale basis (for + * example, priced per pound but sold per `each`); presence on a line marks the rate as + * transactional rather than display-only. When the pricing basis is the sale basis, + * `item.price` fully denominates the charge and this field MAY be omitted. + */ + unitPrice?: UnitPrice; + [property: string]: any; +} +/** + * Sale basis this item's `quantity` is denominated in. On an authoritative Business + * response, absence encodes the default `each` machine identity (`C62`, 0); the Business + * MUST include this descriptor for every non-`each` response. On Platform requests, + * omission makes no assertion: the Business interprets `quantity` using the item's + * authoritative sale basis. If the Platform includes this descriptor, it asserts the + * unit-descriptor machine identity. The Business MUST compare that machine identity + * (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a + * mismatch by conversion surfaced as a visible line revision with a warning, or by + * rejection with a recoverable business outcome; silent reinterpretation is forbidden. An + * explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented + * by an absent descriptor. + * + * Sale-basis descriptor for quantities: the shared unit descriptor plus the Business's + * ordering policy. Its unit-descriptor machine identity remains (`unit`, effective + * `scale`); `display_text` and `increment` are excluded from identity and mismatch + * comparison. + * + * A reusable unit descriptor for quantities and measures. Its unit-descriptor machine + * identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` + * or 0; `display_text` is excluded. + */ +export interface QuantityUnit { + /** + * Required printable unit label provided by the Business. The Platform MUST use it when it + * does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + * MAY substitute its own localized label. It does not participate in unit identity or + * mismatch comparison. + */ + displayText: string; + /** + * One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + * 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + * single whole unit (10^16 steps) is no longer representable, so larger scales cannot + * denominate one unit of their own basis. Businesses needing finer granularity use a + * smaller unit. + */ + scale?: number; + /** + * Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + * when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + * identifier and MUST use it consistently for the same unit. The Platform MUST treat an + * unrecognized identifier as opaque. + */ + unit: string; + /** + * Ordering granularity, denominated in steps: the Business sells this item in integer + * multiples of `increment` steps. Its effective value is the provided value or 1. Advisory + * merchandising policy, not a representational bound: Platform-authored quantities SHOULD + * be integer multiples of the effective increment; the Business MAY accept, revise, or + * reject an off-increment request with a recoverable business outcome and MUST NOT silently + * reinterpret it. Business-authored quantities (checkout revisions, fulfillment events, + * adjustments) are bounded only by `scale`. + */ + increment?: number; + [property: string]: any; +} +/** + * Pricing basis for this item. On an authoritative Business response, the Business MUST + * include `unit_price` on every line whose pricing basis differs from its sale basis (for + * example, priced per pound but sold per `each`); presence on a line marks the rate as + * transactional rather than display-only. When the pricing basis is the sale basis, + * `item.price` fully denominates the charge and this field MAY be omitted. + * + * Price per standard unit of measurement. MAY be omitted when unit pricing does not apply. + * `unit_price.currency` MUST equal `price.currency`; the comparator MUST NOT perform + * currency conversion. `measure.unit` and `reference.unit` MUST be identical; cross-unit + * conversion is not permitted. Their scales MAY differ; each value represents `value × + * 10^-scale`. + */ +export interface UnitPrice { + /** + * Unit price in ISO 4217 minor units. After satisfying the same-unit invariant, the + * Business MUST compute the comparator as `(price.amount / (measure.value × + * 10^-measure.scale)) × (reference.value × 10^-reference.scale)` and round it once to ISO + * 4217 minor units according to its pricing rules. The returned `unit_price.amount` is + * authoritative; the Platform MUST NOT recompute or substitute its own result. + */ + amount: number; + /** + * ISO 4217 currency code. + */ + currency: string; + /** + * Product quantity in packaging/content (for example, a 750 mL bottle), distinct from + * `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. + */ + measure: Measure; + /** + * Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer + * `value` MUST be at least 1. + */ + reference: Measure; + [property: string]: any; +} +/** + * Product quantity in packaging/content (for example, a 750 mL bottle), distinct from + * `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. + * + * Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer + * `value` MUST be at least 1. + * + * The settled measurement this adjustment reconciles (for example, actual picked weight), + * present when the line's price settles by measurement. Its unit identity MUST match the + * line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A + * pure price settlement uses `quantity: 0` together with `measure` and a totals delta. + * + * A measure composed of an integer value and a unit descriptor. Its value is the integer + * count of `10^-scale` units of `unit`. + * + * A reusable unit descriptor for quantities and measures. Its unit-descriptor machine + * identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` + * or 0; `display_text` is excluded. + */ +export interface Measure { + /** + * Required printable unit label provided by the Business. The Platform MUST use it when it + * does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + * MAY substitute its own localized label. It does not participate in unit identity or + * mismatch comparison. + */ + displayText: string; + /** + * One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + * 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + * single whole unit (10^16 steps) is no longer representable, so larger scales cannot + * denominate one unit of their own basis. Businesses needing finer granularity use a + * smaller unit. + */ + scale?: number; + /** + * Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + * when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + * identifier and MUST use it consistently for the same unit. The Platform MUST treat an + * unrecognized identifier as opaque. + */ + unit: string; + /** + * Integer count of `10^-scale` units of `unit`. + */ + value: number; [property: string]: any; } export interface Link { @@ -576,16 +822,13 @@ export interface Message { */ contentType?: ContentType; /** - * RFC 9535 JSONPath to the component the message refers to (e.g., $.items[1]). - * - * JSONPath (RFC 9535) to related field (e.g., $.line_items[0]). - * - * RFC 9535 JSONPath to the component the message refers to. + * RFC 9535 JSONPath to the component the message refers to (e.g., $.line_items[0]). */ path?: string; /** * Reflects the resource state and recommended action. 'recoverable': platform can resolve - * by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires + * the condition in band, for example by modifying inputs or processing a related Action, + * and submit a new operation when needed. 'requires_buyer_input': merchant requires * information their API doesn't support collecting programmatically (checkout incomplete). * 'requires_buyer_review': buyer must authorize before order placement due to policy, * regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -619,7 +862,8 @@ export interface Message { export type ContentType = "plain" | "markdown"; /** * Reflects the resource state and recommended action. 'recoverable': platform can resolve - * by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires + * the condition in band, for example by modifying inputs or processing a related Action, + * and submit a new operation when needed. 'requires_buyer_input': merchant requires * information their API doesn't support collecting programmatically (checkout incomplete). * 'requires_buyer_review': buyer must authorize before order placement due to policy, * regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -685,7 +929,11 @@ export interface SelectedPaymentInstrument { */ handlerId: string; /** - * A unique identifier for this instrument instance, assigned by the platform. + * A unique identifier for this instrument instance. Typically assigned by the platform for + * instruments it collects. For a business-owned saved instrument returned on an + * identity-linked response, this identifier is assigned by the business; the platform MUST + * treat it as an opaque, business-scoped reference, and the business resolves it + * server-side when the buyer selects it. */ id: string; /** @@ -710,6 +958,47 @@ export interface PaymentCredential { type: string; [property: string]: any; } +/** + * A durable business rule about the items in a response — return/refund terms, warranty, + * and the like — at the time of purchase. Every policy carries a `type` (an open + * reverse-DNS vocabulary) and a `description` so a platform can present it without + * understanding its type-specific fields; type-specific fields (gated by `type`) add + * structured context for platforms that model that type. Policies are reference data; the + * obligation to display a term to the buyer is carried by a `messages[]` warning whose + * `code` equals the policy `type` — see the Policies section of the specification. + */ +export interface Policy { + /** + * RFC 9535 JSONPath expressions identifying the nodes this policy applies to, relative to + * the embedding response root (e.g., `$.line_items[0]` in cart/checkout, `$.products[2]` in + * catalog). Each target covers the node it names and everything nested under it, so a + * target on a product also covers its variants. A singular query (RFC 9535 Section 2.3.5.1; + * name and index selectors only) names a single node; filters, wildcards, and slices match + * a set. When omitted, the policy applies to the entire response. When policies of the same + * `type` contest a node, the narrowest target wins and overrides the rest. See the Policies + * section for how specificity resolves. + */ + appliesTo?: string[]; + /** + * Human-readable policy summary in one or more formats (plain, markdown, html). Required on + * every policy so a platform can present it without understanding any type-specific fields. + * This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning + * (see the Policies section). + */ + description: Description; + /** + * Policy type discriminator. Open reverse-DNS vocabulary. Well-known values: + * `dev.ucp.shopping.policy.return` (return terms), `dev.ucp.shopping.policy.warranty` + * (warranty terms). Businesses MAY define custom types in their own domain (e.g., + * `com.example.policy.price_match`). Platforms MUST tolerate unknown values. + */ + type: string; + /** + * Optional link to the full policy document. + */ + url?: string; + [property: string]: any; +} /** * Environment data provided by the platform to support authorization and abuse prevention. * Values MUST NOT be buyer-asserted claims — platforms provide signals based on direct @@ -718,7 +1007,7 @@ export interface PaymentCredential { * extensions contribute to the shared namespace. */ /** - * Checkout state indicating the current phase and required action. See Checkout Status + * Checkout state indicating the current phase and required processing. See Checkout Status * lifecycle documentation for state transition details. */ export type CheckoutStatus = "incomplete" | "requires_escalation" | "ready_for_complete" | "complete_in_progress" | "completed" | "canceled"; @@ -773,6 +1062,13 @@ export interface UcpCheckoutResponseSchema { capabilities?: { [key: string]: CapabilityResponseSchema[]; }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { + [key: string]: string[]; + }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -871,12 +1167,12 @@ export interface PaymentHandlerResponseSchema { */ export interface PaymentHandlerResponseSchemaAvailableInstrument { /** - * Constraints on this instrument type. Structure depends on instrument type and active - * capabilities. + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. */ - constraints?: { - [key: string]: any; - }; + constraints?: ConstraintExpression; /** * The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument * schema's type constant. @@ -884,6 +1180,71 @@ export interface PaymentHandlerResponseSchemaAvailableInstrument { type: string; [property: string]: any; } +/** + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. + * + * A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint + * positions. + * + * A Value Constraint containing `enum`, `const`, or both. + */ +export interface ConstraintProperty { + /** + * Alternative Object Constraints. The constrained object must satisfy at least one. A + * branch must be non-empty: an empty branch is satisfied by every object and neutralizes + * the alternation. + */ + anyOf?: ConstraintExpression[]; + /** + * Constraints keyed by property name. Must be non-empty: an empty object applies no + * constraint. + */ + properties?: { + [key: string]: ConstraintProperty; + }; + /** + * Property names required by the constrained object. Must be non-empty: an empty array + * applies no constraint. + */ + required?: string[]; + const?: any; + /** + * A non-empty array of unique JSON values. + */ + enum?: any[]; +} +/** + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. + * + * A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint + * positions. + */ +export interface ConstraintExpression { + /** + * Alternative Object Constraints. The constrained object must satisfy at least one. A + * branch must be non-empty: an empty branch is satisfied by every object and neutralizes + * the alternation. + */ + anyOf?: ConstraintExpression[]; + /** + * Constraints keyed by property name. Must be non-empty: an empty object applies no + * constraint. + */ + properties?: { + [key: string]: ConstraintProperty; + }; + /** + * Property names required by the constrained object. Must be non-empty: an empty array + * applies no constraint. + */ + required?: string[]; +} /** * Service binding in API responses. Includes per-resource transport configuration via typed * config. @@ -999,6 +1360,11 @@ export interface Order { * Permalink to access the order on merchant site. */ permalinkUrl: string; + /** + * Snapshot of the policies that applied to the items at checkout, captured on the order as + * a durable record. `applies_to` targets are relative to the response root. + */ + policies?: Policy[]; /** * Different totals for the order. */ @@ -1051,8 +1417,17 @@ export interface AdjustmentLineItem { */ id: string; /** - * Signed quantity affected by this adjustment. Negative values represent reductions (e.g. - * returns); positive values represent additions (e.g. exchanges). + * The settled measurement this adjustment reconciles (for example, actual picked weight), + * present when the line's price settles by measurement. Its unit identity MUST match the + * line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A + * pure price settlement uses `quantity: 0` together with `measure` and a totals delta. + */ + measure?: Measure; + /** + * Signed integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` + * × `unit`); when `quantity_unit` is absent, it counts whole items (`each`). Negative + * values represent reductions (e.g. returns); positive values represent additions (e.g. + * exchanges). */ quantity: number; [property: string]: any; @@ -1125,7 +1500,8 @@ export interface EventLineItem { */ id: string; /** - * Quantity fulfilled in this event. + * Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + * `unit`); when `quantity_unit` is absent, it counts whole items (`each`). */ quantity: number; [property: string]: any; @@ -1158,9 +1534,10 @@ export interface Expectation { */ lineItems: ExpectationLineItem[]; /** - * Delivery method type (shipping, pickup, digital). + * Delivery method type. Well-known values: `shipping`, `pickup`, `digital`; additional + * values MAY be used. */ - methodType: MethodType; + methodType: string; [property: string]: any; } export interface ExpectationLineItem { @@ -1169,22 +1546,19 @@ export interface ExpectationLineItem { */ id: string; /** - * Quantity of this item in this expectation. + * Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + * `unit`); when `quantity_unit` is absent, it counts whole items (`each`). */ quantity: number; [property: string]: any; } -/** - * Delivery method type (shipping, pickup, digital). - */ -export type MethodType = "shipping" | "pickup" | "digital"; export interface OrderLineItem { /** * Line item identifier. */ id: string; /** - * Product data (id, title, price, image_url). + * Purchased item data, including identity, price, and sale basis. */ item: Item; /** @@ -1192,7 +1566,10 @@ export interface OrderLineItem { */ parentId?: string; /** - * Quantity tracking for the line item. + * Tracks the line item's original, current active, and fulfilled quantities. All three + * values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent + * on an authoritative order response, each step is one whole item (`each`) under the shared + * default. */ quantity: LineItemQuantity; /** @@ -1208,20 +1585,23 @@ export interface OrderLineItem { [property: string]: any; } /** - * Quantity tracking for the line item. + * Tracks the line item's original, current active, and fulfilled quantities. All three + * values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent + * on an authoritative order response, each step is one whole item (`each`) under the shared + * default. */ export interface LineItemQuantity { /** - * Quantity fulfilled so far. + * Quantity fulfilled so far, expressed as an integer step count. */ fulfilled: number; /** - * Quantity from the original checkout. + * Quantity from the original checkout, expressed as an integer step count. */ original?: number; /** - * Current total active quantity. May differ from original due to post-order modifications - * (e.g., returns or cancellations). + * Current active quantity after returns, cancellations, or other order changes, expressed + * as an integer step count. */ total: number; [property: string]: any; @@ -1244,6 +1624,13 @@ export interface UcpOrderResponseSchema { capabilities?: { [key: string]: CapabilityResponseSchema[]; }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { + [key: string]: string[]; + }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -1333,6 +1720,13 @@ export interface ErrorResponseUcp { capabilities?: { [key: string]: CapabilityResponseSchema[]; }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { + [key: string]: string[]; + }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -1426,6 +1820,13 @@ export interface InstrumentsChangeResultUcp { capabilities?: { [key: string]: CapabilityElement[]; }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { + [key: string]: string[]; + }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -1524,12 +1925,12 @@ export interface PaymentHandlerElement { */ export interface PaymentHandlerAvailableInstrument { /** - * Constraints on this instrument type. Structure depends on instrument type and active - * capabilities. + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. */ - constraints?: { - [key: string]: any; - }; + constraints?: ConstraintExpression; /** * The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument * schema's type constant. diff --git a/protocol/languages/typescript/src/generated/Models.ts b/protocol/languages/typescript/src/generated/Models.ts index 42d469098..c63384ed4 100644 --- a/protocol/languages/typescript/src/generated/Models.ts +++ b/protocol/languages/typescript/src/generated/Models.ts @@ -22,6 +22,10 @@ * Base checkout schema. Extensions compose onto this using allOf. */ export interface Checkout { + /** + * Outstanding extension-defined { [key: string]: any } for this checkout. + */ + actions?: { [key: string]: { [key: string]: any }[] }; attribution?: { [key: string]: string }; /** * Representation of the buyer. @@ -69,9 +73,15 @@ export interface Checkout { */ order?: OrderConfirmation; payment?: Payment; - signals?: { [key: string]: any }; /** - * Checkout state indicating the current phase and required action. See Checkout Status + * Policies (e.g., return/refund terms) that apply to the items in this checkout. + * `applies_to` targets are relative to the response root; when absent or empty, refer to + * the URLs in `links[]`. + */ + policies?: Policy[]; + signals?: { [key: string]: any }; + /** + * Checkout state indicating the current phase and required processing. See Checkout Status * lifecycle documentation for state transition details. */ status: CheckoutStatus; @@ -83,6 +93,15 @@ export interface Checkout { [property: string]: any; } +/** + * Non-empty instances of one Action type. JSON preserves array order; the declaring + * extension defines whether order has processing semantics. + * + * Common fields for one outstanding Action instance are id and optional config. The + * extension declaring the Action type defines type-specific processing data under config. + * Additional properties are permitted for forward compatibility. + */ + /** * Representation of the buyer. */ @@ -115,22 +134,25 @@ export interface Buyer { * data. Context SHOULD be non-identifying and can be disclosed progressively—coarse signals * early, finer resolution as the session progresses. Higher-resolution data (shipping * address, billing address) supersedes context. + * + * A coarse geographic location — country, region, and postal code. A lightweight + * alternative to a full postal address. */ export interface Context { /** - * The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". - * For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a - * full country name such as "Singapore" can also be used. Optional hint for market context - * (currency, availability, pricing)—higher-resolution data (e.g., shipping address) - * supersedes this value. + * The country, as a 2-letter ISO 3166-1 alpha-2 code (e.g. "US"). A 3-letter alpha-3 code + * or full country name MAY also be used. */ addressCountry?: string; /** - * The region in which the locality is, and which is in the country. For example, California - * or another appropriate first-level Administrative division. Optional hint for progressive - * localization—higher-resolution data (e.g., shipping address) supersedes this value. + * The first-level administrative region within the country (e.g. a state or province such + * as California). */ addressRegion?: string; + /** + * The postal code (e.g. "94043"). + */ + postalCode?: string; /** * Preferred currency (ISO 4217, e.g., 'EUR', 'USD'). Businesses determine presentment * currency from context and authoritative signals; this hint MAY inform selection in @@ -162,10 +184,34 @@ export interface Context { */ language?: string; /** - * The postal code. For example, 94043. Optional hint for regional - * refinement—higher-resolution data (e.g., shipping address) supersedes this value. + * Stable, opaque identifier for a Location in the Business's namespace. This provisional, + * non-binding hint is distinct from the Buyer's locality. The operation specification or an + * active capability/extension defines its effects. A common example in retail shopping is + * the default home store ID selected and saved by the user when purchasing groceries. */ - postalCode?: string; + location?: string; + /** + * Buyer-preferred payment handlers in priority order (most preferred first). Each entry + * names a handler advertised in the Business profile's `ucp.payment_handlers`, optionally + * narrowed to preferred instrument types. The Business SHOULD use it to preselect or + * prioritize the handler (and type, when given) and MAY ignore unavailable or ineligible + * entries; unrecognized values MUST be ignored without error. + */ + payment?: PreferredPaymentHandler[]; + [property: string]: any; +} + +export interface PreferredPaymentHandler { + /** + * Handler registry key advertised in the Business profile's `ucp.payment_handlers`. + */ + handler: string; + /** + * Optional preferred instrument types for this handler, in priority order, aligned with the + * handler's advertised `payment_instrument.type` values (for example `card` or `bank`). + * Unrecognized values MUST be ignored. + */ + types?: string[]; [property: string]: any; } @@ -240,7 +286,8 @@ export interface DiscountAllocation { */ amount: number; /** - * JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals.shipping'). + * RFC 9535 JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals[?@.type == + * "fulfillment"]'). */ path: string; [property: string]: any; @@ -286,25 +333,20 @@ export interface FulfillmentAvailableMethod { */ lineItemIds: string[]; /** - * Fulfillment method type this availability applies to. + * Fulfillment method type this availability applies to. Well-known values: `shipping`, + * `pickup`; businesses MAY use additional values. */ - type: FulfillmentMethodType; + type: string; [property: string]: any; } /** - * Fulfillment method type this availability applies to. - * - * Fulfillment method type. - */ -export type FulfillmentMethodType = "shipping" | "pickup"; - -/** - * A fulfillment method (shipping or pickup) with destinations and groups. + * A fulfillment method with destinations and groups. */ export interface FulfillmentMethod { /** - * Available destinations. For shipping: addresses. For pickup: retail locations. + * Available destinations for this method. In Business responses, each destination carries a + * `type` and `id`. */ destinations?: FulfillmentDestination[]; /** @@ -321,30 +363,26 @@ export interface FulfillmentMethod { */ lineItemIds: string[]; /** - * ID of the selected destination. + * ID of the selected destination. Accepts any stable, Business-scoped ID the Business + * recognizes for this method, including Location IDs not yet enumerated in `destinations`. */ selectedDestinationId?: null | string; /** - * Fulfillment method type. + * Fulfillment method type. Well-known values: `shipping`, `pickup`. Businesses MAY use + * additional values. */ - type: FulfillmentMethodType; + type: string; [property: string]: any; } /** * A destination for fulfillment. - * - * Shipping destination. - * - * Physical address of the location. - * - * The billing address associated with this payment method. - * - * Delivery destination address. - * - * A pickup location (retail store, locker, etc.). */ export interface FulfillmentDestination { + /** + * Physical address of the location. + */ + address?: PostalAddress; /** * The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". * For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a @@ -370,10 +408,18 @@ export interface FulfillmentDestination { * Optional. First name of the contact associated with the address. */ firstName?: string; + /** + * Fulfillment destination identifier. + */ + id: string; /** * Optional. Last name of the contact associated with the address. */ lastName?: string; + /** + * Buyer-facing, Business-owned display name. + */ + name?: string; /** * Optional. Phone number of the contact associated with the address. */ @@ -387,19 +433,12 @@ export interface FulfillmentDestination { */ streetAddress?: string; /** - * ID specific to this shipping destination. - * - * Unique location identifier. - */ - id: string; - /** - * Physical address of the location. - */ - address?: PostalAddress; - /** - * Location name (e.g., store name). + * Destination contract discriminator. Required in Business responses and optional in + * Platform requests. Well-known values: `shipping_address`, `business_location`. The + * enclosing method contract defines request defaults and which fields the Platform may + * write; negotiated extensions define additional values. */ - name?: string; + type?: string; [property: string]: any; } @@ -479,33 +518,39 @@ export interface FulfillmentGroup { } /** - * A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). + * A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). Extends + * the fulfillment option base with cost and timing. + * + * Common base for a fulfillment option: an addressable, renderable choice (e.g. Standard, + * Express). Catalog uses this base directly; checkout composes it with cost and timing. */ export interface FulfillmentOption { /** - * Carrier name (for shipping). + * Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec + * 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. */ - carrier?: string; + description?: Description; /** - * Complete context for buyer decision (e.g., 'Arrives Dec 12-15 via FedEx'). + * Unique identifier for this fulfillment option. */ - description?: string; + id: string; /** - * Earliest fulfillment date. + * Short label that distinguishes this option from its siblings (e.g. 'Standard', 'Express + * Shipping', 'Curbside Pickup'). */ - earliestFulfillmentTime?: string; + title: string; /** - * Unique fulfillment option identifier. + * Carrier name (for shipping). */ - id: string; + carrier?: string; /** - * Latest fulfillment date. + * Earliest fulfillment date. */ - latestFulfillmentTime?: string; + earliestFulfillmentTime?: string; /** - * Short label (e.g., 'Express Shipping', 'Curbside Pickup'). + * Latest fulfillment date. */ - title: string; + latestFulfillmentTime?: string; /** * Fulfillment option totals breakdown. */ @@ -513,6 +558,34 @@ export interface FulfillmentOption { [property: string]: any; } +/** + * Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec + * 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title. + * + * Description content in one or more formats. At least one format must be provided. + * + * Human-readable policy summary in one or more formats (plain, markdown, html). Required on + * every policy so a platform can present it without understanding any type-specific fields. + * This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning + * (see the Policies section). + */ +export interface Description { + /** + * HTML-formatted content. Security: Platforms MUST sanitize before rendering—strip scripts, + * event handlers, and untrusted elements. Treat all rich text as untrusted input. + */ + html?: string; + /** + * Markdown-formatted content. + */ + markdown?: string; + /** + * Plain text content. + */ + plain?: string; + [property: string]: any; +} + /** * A cost breakdown entry with a category, amount, and optional display text. */ @@ -542,7 +615,11 @@ export interface LineItem { */ parentId?: string; /** - * Quantity of the item being purchased. + * Always an integer step count. On Platform requests, steps use the item's + * Business-authoritative sale basis; omitting `item.quantity_unit` makes no assertion and + * does not imply `each`. On Business responses, `item.quantity_unit` describes the basis; + * if absent, it encodes the `each` machine identity (`C62`, 0) and `quantity` counts whole + * items. */ quantity: number; /** @@ -553,7 +630,7 @@ export interface LineItem { } /** - * Product data (id, title, price, image_url). + * Purchased item data, including identity, price, and sale basis. */ export interface Item { /** @@ -566,13 +643,183 @@ export interface Item { */ imageUrl?: string; /** - * Unit price in ISO 4217 minor units. + * Unit price in ISO 4217 minor units. Price is the amount per one whole + * `quantity_unit.unit` (for example, per lb or per hour); when `quantity_unit` is absent, + * it is per `each`. */ price: number; + /** + * Sale basis this item's `quantity` is denominated in. On an authoritative Business + * response, absence encodes the default `each` machine identity (`C62`, 0); the Business + * MUST include this descriptor for every non-`each` response. On Platform requests, + * omission makes no assertion: the Business interprets `quantity` using the item's + * authoritative sale basis. If the Platform includes this descriptor, it asserts the + * unit-descriptor machine identity. The Business MUST compare that machine identity + * (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a + * mismatch by conversion surfaced as a visible line revision with a warning, or by + * rejection with a recoverable business outcome; silent reinterpretation is forbidden. An + * explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented + * by an absent descriptor. + */ + quantityUnit?: QuantityUnit; /** * Product title. */ title: string; + /** + * Pricing basis for this item. On an authoritative Business response, the Business MUST + * include `unit_price` on every line whose pricing basis differs from its sale basis (for + * example, priced per pound but sold per `each`); presence on a line marks the rate as + * transactional rather than display-only. When the pricing basis is the sale basis, + * `item.price` fully denominates the charge and this field MAY be omitted. + */ + unitPrice?: UnitPrice; + [property: string]: any; +} + +/** + * Sale basis this item's `quantity` is denominated in. On an authoritative Business + * response, absence encodes the default `each` machine identity (`C62`, 0); the Business + * MUST include this descriptor for every non-`each` response. On Platform requests, + * omission makes no assertion: the Business interprets `quantity` using the item's + * authoritative sale basis. If the Platform includes this descriptor, it asserts the + * unit-descriptor machine identity. The Business MUST compare that machine identity + * (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a + * mismatch by conversion surfaced as a visible line revision with a warning, or by + * rejection with a recoverable business outcome; silent reinterpretation is forbidden. An + * explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented + * by an absent descriptor. + * + * Sale-basis descriptor for quantities: the shared unit descriptor plus the Business's + * ordering policy. Its unit-descriptor machine identity remains (`unit`, effective + * `scale`); `display_text` and `increment` are excluded from identity and mismatch + * comparison. + * + * A reusable unit descriptor for quantities and measures. Its unit-descriptor machine + * identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` + * or 0; `display_text` is excluded. + */ +export interface QuantityUnit { + /** + * Required printable unit label provided by the Business. The Platform MUST use it when it + * does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + * MAY substitute its own localized label. It does not participate in unit identity or + * mismatch comparison. + */ + displayText: string; + /** + * One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + * 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + * single whole unit (10^16 steps) is no longer representable, so larger scales cannot + * denominate one unit of their own basis. Businesses needing finer granularity use a + * smaller unit. + */ + scale?: number; + /** + * Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + * when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + * identifier and MUST use it consistently for the same unit. The Platform MUST treat an + * unrecognized identifier as opaque. + */ + unit: string; + /** + * Ordering granularity, denominated in steps: the Business sells this item in integer + * multiples of `increment` steps. Its effective value is the provided value or 1. Advisory + * merchandising policy, not a representational bound: Platform-authored quantities SHOULD + * be integer multiples of the effective increment; the Business MAY accept, revise, or + * reject an off-increment request with a recoverable business outcome and MUST NOT silently + * reinterpret it. Business-authored quantities (checkout revisions, fulfillment events, + * adjustments) are bounded only by `scale`. + */ + increment?: number; + [property: string]: any; +} + +/** + * Pricing basis for this item. On an authoritative Business response, the Business MUST + * include `unit_price` on every line whose pricing basis differs from its sale basis (for + * example, priced per pound but sold per `each`); presence on a line marks the rate as + * transactional rather than display-only. When the pricing basis is the sale basis, + * `item.price` fully denominates the charge and this field MAY be omitted. + * + * Price per standard unit of measurement. MAY be omitted when unit pricing does not apply. + * `unit_price.currency` MUST equal `price.currency`; the comparator MUST NOT perform + * currency conversion. `measure.unit` and `reference.unit` MUST be identical; cross-unit + * conversion is not permitted. Their scales MAY differ; each value represents `value × + * 10^-scale`. + */ +export interface UnitPrice { + /** + * Unit price in ISO 4217 minor units. After satisfying the same-unit invariant, the + * Business MUST compute the comparator as `(price.amount / (measure.value × + * 10^-measure.scale)) × (reference.value × 10^-reference.scale)` and round it once to ISO + * 4217 minor units according to its pricing rules. The returned `unit_price.amount` is + * authoritative; the Platform MUST NOT recompute or substitute its own result. + */ + amount: number; + /** + * ISO 4217 currency code. + */ + currency: string; + /** + * Product quantity in packaging/content (for example, a 750 mL bottle), distinct from + * `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. + */ + measure: Measure; + /** + * Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer + * `value` MUST be at least 1. + */ + reference: Measure; + [property: string]: any; +} + +/** + * Product quantity in packaging/content (for example, a 750 mL bottle), distinct from + * `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1. + * + * Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer + * `value` MUST be at least 1. + * + * The settled measurement this adjustment reconciles (for example, actual picked weight), + * present when the line's price settles by measurement. Its unit identity MUST match the + * line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A + * pure price settlement uses `quantity: 0` together with `measure` and a totals delta. + * + * A measure composed of an integer value and a unit descriptor. Its value is the integer + * count of `10^-scale` units of `unit`. + * + * A reusable unit descriptor for quantities and measures. Its unit-descriptor machine + * identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` + * or 0; `display_text` is excluded. + */ +export interface Measure { + /** + * Required printable unit label provided by the Business. The Platform MUST use it when it + * does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform + * MAY substitute its own localized label. It does not participate in unit identity or + * mismatch comparison. + */ + displayText: string; + /** + * One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be + * 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a + * single whole unit (10^16 steps) is no longer representable, so larger scales cannot + * denominate one unit of their own basis. Businesses needing finer granularity use a + * smaller unit. + */ + scale?: number; + /** + * Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code + * when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit + * identifier and MUST use it consistently for the same unit. The Platform MUST treat an + * unrecognized identifier as opaque. + */ + unit: string; + /** + * Integer count of `10^-scale` units of `unit`. + */ + value: number; [property: string]: any; } @@ -611,16 +858,13 @@ export interface Message { */ contentType?: ContentType; /** - * RFC 9535 JSONPath to the component the message refers to (e.g., $.items[1]). - * - * JSONPath (RFC 9535) to related field (e.g., $.line_items[0]). - * - * RFC 9535 JSONPath to the component the message refers to. + * RFC 9535 JSONPath to the component the message refers to (e.g., $.line_items[0]). */ path?: string; /** * Reflects the resource state and recommended action. 'recoverable': platform can resolve - * by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires + * the condition in band, for example by modifying inputs or processing a related Action, + * and submit a new operation when needed. 'requires_buyer_input': merchant requires * information their API doesn't support collecting programmatically (checkout incomplete). * 'requires_buyer_review': buyer must authorize before order placement due to policy, * regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -656,7 +900,8 @@ export type ContentType = "plain" | "markdown"; /** * Reflects the resource state and recommended action. 'recoverable': platform can resolve - * by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires + * the condition in band, for example by modifying inputs or processing a related Action, + * and submit a new operation when needed. 'requires_buyer_input': merchant requires * information their API doesn't support collecting programmatically (checkout incomplete). * 'requires_buyer_review': buyer must authorize before order placement due to policy, * regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, @@ -724,7 +969,11 @@ export interface SelectedPaymentInstrument { */ handlerId: string; /** - * A unique identifier for this instrument instance, assigned by the platform. + * A unique identifier for this instrument instance. Typically assigned by the platform for + * instruments it collects. For a business-owned saved instrument returned on an + * identity-linked response, this identifier is assigned by the business; the platform MUST + * treat it as an opaque, business-scoped reference, and the business resolves it + * server-side when the buyer selects it. */ id: string; /** @@ -751,6 +1000,48 @@ export interface PaymentCredential { [property: string]: any; } +/** + * A durable business rule about the items in a response — return/refund terms, warranty, + * and the like — at the time of purchase. Every policy carries a `type` (an open + * reverse-DNS vocabulary) and a `description` so a platform can present it without + * understanding its type-specific fields; type-specific fields (gated by `type`) add + * structured context for platforms that model that type. Policies are reference data; the + * obligation to display a term to the buyer is carried by a `messages[]` warning whose + * `code` equals the policy `type` — see the Policies section of the specification. + */ +export interface Policy { + /** + * RFC 9535 JSONPath expressions identifying the nodes this policy applies to, relative to + * the embedding response root (e.g., `$.line_items[0]` in cart/checkout, `$.products[2]` in + * catalog). Each target covers the node it names and everything nested under it, so a + * target on a product also covers its variants. A singular query (RFC 9535 Section 2.3.5.1; + * name and index selectors only) names a single node; filters, wildcards, and slices match + * a set. When omitted, the policy applies to the entire response. When policies of the same + * `type` contest a node, the narrowest target wins and overrides the rest. See the Policies + * section for how specificity resolves. + */ + appliesTo?: string[]; + /** + * Human-readable policy summary in one or more formats (plain, markdown, html). Required on + * every policy so a platform can present it without understanding any type-specific fields. + * This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning + * (see the Policies section). + */ + description: Description; + /** + * Policy type discriminator. Open reverse-DNS vocabulary. Well-known values: + * `dev.ucp.shopping.policy.return` (return terms), `dev.ucp.shopping.policy.warranty` + * (warranty terms). Businesses MAY define custom types in their own domain (e.g., + * `com.example.policy.price_match`). Platforms MUST tolerate unknown values. + */ + type: string; + /** + * Optional link to the full policy document. + */ + url?: string; + [property: string]: any; +} + /** * Environment data provided by the platform to support authorization and abuse prevention. * Values MUST NOT be buyer-asserted claims — platforms provide signals based on direct @@ -760,7 +1051,7 @@ export interface PaymentCredential { */ /** - * Checkout state indicating the current phase and required action. See Checkout Status + * Checkout state indicating the current phase and required processing. See Checkout Status * lifecycle documentation for state transition details. */ export type CheckoutStatus = "incomplete" | "requires_escalation" | "ready_for_complete" | "complete_in_progress" | "completed" | "canceled"; @@ -816,6 +1107,11 @@ export interface UcpCheckoutResponseSchema { * Capability registry keyed by reverse-domain name. */ capabilities?: { [key: string]: CapabilityResponseSchema[] }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { [key: string]: string[] }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -909,10 +1205,12 @@ export interface PaymentHandlerResponseSchema { */ export interface PaymentHandlerResponseSchemaAvailableInstrument { /** - * Constraints on this instrument type. Structure depends on instrument type and active - * capabilities. + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. */ - constraints?: { [key: string]: any }; + constraints?: ConstraintExpression; /** * The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument * schema's type constant. @@ -921,6 +1219,69 @@ export interface PaymentHandlerResponseSchemaAvailableInstrument { [property: string]: any; } +/** + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. + * + * A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint + * positions. + * + * A Value Constraint containing `enum`, `const`, or both. + */ +export interface ConstraintProperty { + /** + * Alternative Object Constraints. The constrained object must satisfy at least one. A + * branch must be non-empty: an empty branch is satisfied by every object and neutralizes + * the alternation. + */ + anyOf?: ConstraintExpression[]; + /** + * Constraints keyed by property name. Must be non-empty: an empty object applies no + * constraint. + */ + properties?: { [key: string]: ConstraintProperty }; + /** + * Property names required by the constrained object. Must be non-empty: an empty array + * applies no constraint. + */ + required?: string[]; + const?: any; + /** + * A non-empty array of unique JSON values. + */ + enum?: any[]; +} + +/** + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. + * + * A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint + * positions. + */ +export interface ConstraintExpression { + /** + * Alternative Object Constraints. The constrained object must satisfy at least one. A + * branch must be non-empty: an empty branch is satisfied by every object and neutralizes + * the alternation. + */ + anyOf?: ConstraintExpression[]; + /** + * Constraints keyed by property name. Must be non-empty: an empty object applies no + * constraint. + */ + properties?: { [key: string]: ConstraintProperty }; + /** + * Property names required by the constrained object. Must be non-empty: an empty array + * applies no constraint. + */ + required?: string[]; +} + /** * Service binding in API responses. Includes per-resource transport configuration via typed * config. @@ -1039,6 +1400,11 @@ export interface Order { * Permalink to access the order on merchant site. */ permalinkUrl: string; + /** + * Snapshot of the policies that applied to the items at checkout, captured on the order as + * a durable record. `applies_to` targets are relative to the response root. + */ + policies?: Policy[]; /** * Different totals for the order. */ @@ -1093,8 +1459,17 @@ export interface AdjustmentLineItem { */ id: string; /** - * Signed quantity affected by this adjustment. Negative values represent reductions (e.g. - * returns); positive values represent additions (e.g. exchanges). + * The settled measurement this adjustment reconciles (for example, actual picked weight), + * present when the line's price settles by measurement. Its unit identity MUST match the + * line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A + * pure price settlement uses `quantity: 0` together with `measure` and a totals delta. + */ + measure?: Measure; + /** + * Signed integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` + * × `unit`); when `quantity_unit` is absent, it counts whole items (`each`). Negative + * values represent reductions (e.g. returns); positive values represent additions (e.g. + * exchanges). */ quantity: number; [property: string]: any; @@ -1171,7 +1546,8 @@ export interface EventLineItem { */ id: string; /** - * Quantity fulfilled in this event. + * Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + * `unit`); when `quantity_unit` is absent, it counts whole items (`each`). */ quantity: number; [property: string]: any; @@ -1205,9 +1581,10 @@ export interface Expectation { */ lineItems: ExpectationLineItem[]; /** - * Delivery method type (shipping, pickup, digital). + * Delivery method type. Well-known values: `shipping`, `pickup`, `digital`; additional + * values MAY be used. */ - methodType: MethodType; + methodType: string; [property: string]: any; } @@ -1217,24 +1594,20 @@ export interface ExpectationLineItem { */ id: string; /** - * Quantity of this item in this expectation. + * Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × + * `unit`); when `quantity_unit` is absent, it counts whole items (`each`). */ quantity: number; [property: string]: any; } -/** - * Delivery method type (shipping, pickup, digital). - */ -export type MethodType = "shipping" | "pickup" | "digital"; - export interface OrderLineItem { /** * Line item identifier. */ id: string; /** - * Product data (id, title, price, image_url). + * Purchased item data, including identity, price, and sale basis. */ item: Item; /** @@ -1242,7 +1615,10 @@ export interface OrderLineItem { */ parentId?: string; /** - * Quantity tracking for the line item. + * Tracks the line item's original, current active, and fulfilled quantities. All three + * values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent + * on an authoritative order response, each step is one whole item (`each`) under the shared + * default. */ quantity: LineItemQuantity; /** @@ -1259,20 +1635,23 @@ export interface OrderLineItem { } /** - * Quantity tracking for the line item. + * Tracks the line item's original, current active, and fulfilled quantities. All three + * values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent + * on an authoritative order response, each step is one whole item (`each`) under the shared + * default. */ export interface LineItemQuantity { /** - * Quantity fulfilled so far. + * Quantity fulfilled so far, expressed as an integer step count. */ fulfilled: number; /** - * Quantity from the original checkout. + * Quantity from the original checkout, expressed as an integer step count. */ original?: number; /** - * Current total active quantity. May differ from original due to post-order modifications - * (e.g., returns or cancellations). + * Current active quantity after returns, cancellations, or other order changes, expressed + * as an integer step count. */ total: number; [property: string]: any; @@ -1295,6 +1674,11 @@ export interface UcpOrderResponseSchema { * Capability registry keyed by reverse-domain name. */ capabilities?: { [key: string]: CapabilityResponseSchema[] }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { [key: string]: string[] }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -1379,6 +1763,11 @@ export interface ErrorResponseUcp { * Capability registry keyed by reverse-domain name. */ capabilities?: { [key: string]: CapabilityResponseSchema[] }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { [key: string]: string[] }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -1471,6 +1860,11 @@ export interface InstrumentsChangeResultUcp { * Capability registry keyed by reverse-domain name. */ capabilities?: { [key: string]: CapabilityElement[] }; + /** + * Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope + * (`services`, `capabilities`, and `payment_handlers`). + */ + mapOrder?: { [key: string]: string[] }; /** * Payment handler registry keyed by reverse-domain name. */ @@ -1564,10 +1958,12 @@ export interface PaymentHandlerElement { */ export interface PaymentHandlerAvailableInstrument { /** - * Constraints on this instrument type. Structure depends on instrument type and active - * capabilities. + * A Constraint Expression describing the instrument this entry makes available. Keys in + * `properties` name members of the `constraint_target` declared by the instrument schema + * for this `type`. Requirements on submitted request data belong in + * `ucp.request_constraints` instead. */ - constraints?: { [key: string]: any }; + constraints?: ConstraintExpression; /** * The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument * schema's type constant. @@ -2059,6 +2455,16 @@ function transform(val: any, typ: any, getProps: any, key: any = '', parent: any let ref: any = undefined; while (typeof typ === "object" && typ.ref !== undefined) { ref = typ.ref; + if ( + ref === "FulfillmentOption" && + getProps === jsonToJSProps && + val !== null && + typeof val === "object" && + !Array.isArray(val) && + typeof val.description === "string" + ) { + val = {...val, description: {plain: val.description}}; + } typ = typeMap[typ.ref]; } if (Array.isArray(typ)) return transformEnum(typ, val); @@ -2107,6 +2513,7 @@ function r(name: string) { const typeMap: any = { "Checkout": o([ + { json: "actions", js: "actions", typ: u(undefined, m(a(m("any")))) }, { json: "attribution", js: "attribution", typ: u(undefined, m("")) }, { json: "buyer", js: "buyer", typ: u(undefined, r("Buyer")) }, { json: "context", js: "context", typ: u(undefined, r("Context")) }, @@ -2121,6 +2528,7 @@ const typeMap: any = { { json: "messages", js: "messages", typ: u(undefined, a(r("Message"))) }, { json: "order", js: "order", typ: u(undefined, r("OrderConfirmation")) }, { json: "payment", js: "payment", typ: u(undefined, r("Payment")) }, + { json: "policies", js: "policies", typ: u(undefined, a(r("Policy"))) }, { json: "signals", js: "signals", typ: u(undefined, m("any")) }, { json: "status", js: "status", typ: r("CheckoutStatus") }, { json: "totals", js: "totals", typ: a(r("CheckoutTotal")) }, @@ -2135,11 +2543,17 @@ const typeMap: any = { "Context": o([ { json: "address_country", js: "addressCountry", typ: u(undefined, "") }, { json: "address_region", js: "addressRegion", typ: u(undefined, "") }, + { json: "postal_code", js: "postalCode", typ: u(undefined, "") }, { json: "currency", js: "currency", typ: u(undefined, "") }, { json: "eligibility", js: "eligibility", typ: u(undefined, a("")) }, { json: "intent", js: "intent", typ: u(undefined, "") }, { json: "language", js: "language", typ: u(undefined, "") }, - { json: "postal_code", js: "postalCode", typ: u(undefined, "") }, + { json: "location", js: "location", typ: u(undefined, "") }, + { json: "payment", js: "payment", typ: u(undefined, a(r("PreferredPaymentHandler"))) }, + ], "any"), + "PreferredPaymentHandler": o([ + { json: "handler", js: "handler", typ: "" }, + { json: "types", js: "types", typ: u(undefined, a("")) }, ], "any"), "CheckoutDiscounts": o([ { json: "applied", js: "applied", typ: u(undefined, a(r("AppliedDiscount"))) }, @@ -2168,7 +2582,7 @@ const typeMap: any = { { json: "description", js: "description", typ: u(undefined, "") }, { json: "fulfillable_on", js: "fulfillableOn", typ: u(undefined, u(null, "")) }, { json: "line_item_ids", js: "lineItemIds", typ: a("") }, - { json: "type", js: "type", typ: r("FulfillmentMethodType") }, + { json: "type", js: "type", typ: "" }, ], "any"), "FulfillmentMethod": o([ { json: "destinations", js: "destinations", typ: u(undefined, a(r("FulfillmentDestination"))) }, @@ -2176,21 +2590,22 @@ const typeMap: any = { { json: "id", js: "id", typ: "" }, { json: "line_item_ids", js: "lineItemIds", typ: a("") }, { json: "selected_destination_id", js: "selectedDestinationId", typ: u(undefined, u(null, "")) }, - { json: "type", js: "type", typ: r("FulfillmentMethodType") }, + { json: "type", js: "type", typ: "" }, ], "any"), "FulfillmentDestination": o([ + { json: "address", js: "address", typ: u(undefined, r("PostalAddress")) }, { json: "address_country", js: "addressCountry", typ: u(undefined, "") }, { json: "address_locality", js: "addressLocality", typ: u(undefined, "") }, { json: "address_region", js: "addressRegion", typ: u(undefined, "") }, { json: "extended_address", js: "extendedAddress", typ: u(undefined, "") }, { json: "first_name", js: "firstName", typ: u(undefined, "") }, + { json: "id", js: "id", typ: "" }, { json: "last_name", js: "lastName", typ: u(undefined, "") }, + { json: "name", js: "name", typ: u(undefined, "") }, { json: "phone_number", js: "phoneNumber", typ: u(undefined, "") }, { json: "postal_code", js: "postalCode", typ: u(undefined, "") }, { json: "street_address", js: "streetAddress", typ: u(undefined, "") }, - { json: "id", js: "id", typ: "" }, - { json: "address", js: "address", typ: u(undefined, r("PostalAddress")) }, - { json: "name", js: "name", typ: u(undefined, "") }, + { json: "type", js: "type", typ: u(undefined, "") }, ], "any"), "PostalAddress": o([ { json: "address_country", js: "addressCountry", typ: u(undefined, "") }, @@ -2210,14 +2625,19 @@ const typeMap: any = { { json: "selected_option_id", js: "selectedOptionId", typ: u(undefined, u(null, "")) }, ], "any"), "FulfillmentOption": o([ + { json: "description", js: "description", typ: u(undefined, r("Description")) }, + { json: "id", js: "id", typ: "" }, + { json: "title", js: "title", typ: "" }, { json: "carrier", js: "carrier", typ: u(undefined, "") }, - { json: "description", js: "description", typ: u(undefined, "") }, { json: "earliest_fulfillment_time", js: "earliestFulfillmentTime", typ: u(undefined, "") }, - { json: "id", js: "id", typ: "" }, { json: "latest_fulfillment_time", js: "latestFulfillmentTime", typ: u(undefined, "") }, - { json: "title", js: "title", typ: "" }, { json: "totals", js: "totals", typ: a(r("LineItemTotal")) }, ], "any"), + "Description": o([ + { json: "html", js: "html", typ: u(undefined, "") }, + { json: "markdown", js: "markdown", typ: u(undefined, "") }, + { json: "plain", js: "plain", typ: u(undefined, "") }, + ], "any"), "LineItemTotal": o([ { json: "amount", js: "amount", typ: 0 }, { json: "display_text", js: "displayText", typ: u(undefined, "") }, @@ -2234,7 +2654,27 @@ const typeMap: any = { { json: "id", js: "id", typ: "" }, { json: "image_url", js: "imageUrl", typ: u(undefined, "") }, { json: "price", js: "price", typ: 0 }, + { json: "quantity_unit", js: "quantityUnit", typ: u(undefined, r("QuantityUnit")) }, { json: "title", js: "title", typ: "" }, + { json: "unit_price", js: "unitPrice", typ: u(undefined, r("UnitPrice")) }, + ], "any"), + "QuantityUnit": o([ + { json: "display_text", js: "displayText", typ: "" }, + { json: "scale", js: "scale", typ: u(undefined, 0) }, + { json: "unit", js: "unit", typ: "" }, + { json: "increment", js: "increment", typ: u(undefined, 0) }, + ], "any"), + "UnitPrice": o([ + { json: "amount", js: "amount", typ: 0 }, + { json: "currency", js: "currency", typ: "" }, + { json: "measure", js: "measure", typ: r("Measure") }, + { json: "reference", js: "reference", typ: r("Measure") }, + ], "any"), + "Measure": o([ + { json: "display_text", js: "displayText", typ: "" }, + { json: "scale", js: "scale", typ: u(undefined, 0) }, + { json: "unit", js: "unit", typ: "" }, + { json: "value", js: "value", typ: 0 }, ], "any"), "Link": o([ { json: "title", js: "title", typ: u(undefined, "") }, @@ -2272,6 +2712,12 @@ const typeMap: any = { "PaymentCredential": o([ { json: "type", js: "type", typ: "" }, ], "any"), + "Policy": o([ + { json: "applies_to", js: "appliesTo", typ: u(undefined, a("")) }, + { json: "description", js: "description", typ: r("Description") }, + { json: "type", js: "type", typ: "" }, + { json: "url", js: "url", typ: u(undefined, "") }, + ], "any"), "CheckoutTotal": o([ { json: "amount", js: "amount", typ: 0 }, { json: "display_text", js: "displayText", typ: u(undefined, "") }, @@ -2284,6 +2730,7 @@ const typeMap: any = { ], "any"), "UcpCheckoutResponseSchema": o([ { json: "capabilities", js: "capabilities", typ: u(undefined, m(a(r("CapabilityResponseSchema")))) }, + { json: "map_order", js: "mapOrder", typ: u(undefined, m(a(""))) }, { json: "payment_handlers", js: "paymentHandlers", typ: m(a(r("PaymentHandlerResponseSchema"))) }, { json: "services", js: "services", typ: u(undefined, m(a(r("ServiceResponseSchema")))) }, { json: "status", js: "status", typ: u(undefined, r("UcpCheckoutResponseSchemaStatus")) }, @@ -2306,9 +2753,21 @@ const typeMap: any = { { json: "available_instruments", js: "availableInstruments", typ: u(undefined, a(r("PaymentHandlerResponseSchemaAvailableInstrument"))) }, ], "any"), "PaymentHandlerResponseSchemaAvailableInstrument": o([ - { json: "constraints", js: "constraints", typ: u(undefined, m("any")) }, + { json: "constraints", js: "constraints", typ: u(undefined, r("ConstraintExpression")) }, { json: "type", js: "type", typ: "" }, ], "any"), + "ConstraintProperty": o([ + { json: "anyOf", js: "anyOf", typ: u(undefined, a(r("ConstraintExpression"))) }, + { json: "properties", js: "properties", typ: u(undefined, m(r("ConstraintProperty"))) }, + { json: "required", js: "required", typ: u(undefined, a("")) }, + { json: "const", js: "const", typ: u(undefined, "any") }, + { json: "enum", js: "enum", typ: u(undefined, a("any")) }, + ], false), + "ConstraintExpression": o([ + { json: "anyOf", js: "anyOf", typ: u(undefined, a(r("ConstraintExpression"))) }, + { json: "properties", js: "properties", typ: u(undefined, m(r("ConstraintProperty"))) }, + { json: "required", js: "required", typ: u(undefined, a("")) }, + ], false), "ServiceResponseSchema": o([ { json: "config", js: "config", typ: u(undefined, r("EmbeddedTransportConfig")) }, { json: "id", js: "id", typ: u(undefined, "") }, @@ -2333,6 +2792,7 @@ const typeMap: any = { { json: "line_items", js: "lineItems", typ: a(r("OrderLineItem")) }, { json: "messages", js: "messages", typ: u(undefined, a(r("Message"))) }, { json: "permalink_url", js: "permalinkUrl", typ: "" }, + { json: "policies", js: "policies", typ: u(undefined, a(r("Policy"))) }, { json: "totals", js: "totals", typ: a(r("CheckoutTotal")) }, { json: "ucp", js: "ucp", typ: r("UcpOrderResponseSchema") }, ], "any"), @@ -2347,6 +2807,7 @@ const typeMap: any = { ], "any"), "AdjustmentLineItem": o([ { json: "id", js: "id", typ: "" }, + { json: "measure", js: "measure", typ: u(undefined, r("Measure")) }, { json: "quantity", js: "quantity", typ: 0 }, ], "any"), "Fulfillment": o([ @@ -2373,7 +2834,7 @@ const typeMap: any = { { json: "fulfillable_on", js: "fulfillableOn", typ: u(undefined, "") }, { json: "id", js: "id", typ: "" }, { json: "line_items", js: "lineItems", typ: a(r("ExpectationLineItem")) }, - { json: "method_type", js: "methodType", typ: r("MethodType") }, + { json: "method_type", js: "methodType", typ: "" }, ], "any"), "ExpectationLineItem": o([ { json: "id", js: "id", typ: "" }, @@ -2394,6 +2855,7 @@ const typeMap: any = { ], "any"), "UcpOrderResponseSchema": o([ { json: "capabilities", js: "capabilities", typ: u(undefined, m(a(r("CapabilityResponseSchema")))) }, + { json: "map_order", js: "mapOrder", typ: u(undefined, m(a(""))) }, { json: "payment_handlers", js: "paymentHandlers", typ: u(undefined, m(a(r("PaymentHandlerResponseSchema")))) }, { json: "services", js: "services", typ: u(undefined, m(a(r("Service")))) }, { json: "status", js: "status", typ: u(undefined, r("UcpCheckoutResponseSchemaStatus")) }, @@ -2415,6 +2877,7 @@ const typeMap: any = { ], false), "ErrorResponseUcp": o([ { json: "capabilities", js: "capabilities", typ: u(undefined, m(a(r("CapabilityResponseSchema")))) }, + { json: "map_order", js: "mapOrder", typ: u(undefined, m(a(""))) }, { json: "payment_handlers", js: "paymentHandlers", typ: u(undefined, m(a(r("PaymentHandlerResponseSchema")))) }, { json: "services", js: "services", typ: u(undefined, m(a(r("Service")))) }, { json: "status", js: "status", typ: r("ErrorStatus") }, @@ -2435,6 +2898,7 @@ const typeMap: any = { ], "any"), "InstrumentsChangeResultUcp": o([ { json: "capabilities", js: "capabilities", typ: u(undefined, m(a(r("CapabilityElement")))) }, + { json: "map_order", js: "mapOrder", typ: u(undefined, m(a(""))) }, { json: "payment_handlers", js: "paymentHandlers", typ: u(undefined, m(a(r("PaymentHandlerElement")))) }, { json: "services", js: "services", typ: u(undefined, m(a(r("EmbeddedService")))) }, { json: "status", js: "status", typ: r("UcpCheckoutResponseSchemaStatus") }, @@ -2457,7 +2921,7 @@ const typeMap: any = { { json: "available_instruments", js: "availableInstruments", typ: u(undefined, a(r("PaymentHandlerAvailableInstrument"))) }, ], "any"), "PaymentHandlerAvailableInstrument": o([ - { json: "constraints", js: "constraints", typ: u(undefined, m("any")) }, + { json: "constraints", js: "constraints", typ: u(undefined, r("ConstraintExpression")) }, { json: "type", js: "type", typ: "" }, ], "any"), "EmbeddedService": o([ @@ -2538,10 +3002,6 @@ const typeMap: any = { "across", "each", ], - "FulfillmentMethodType": [ - "pickup", - "shipping", - ], "ContentType": [ "markdown", "plain", @@ -2584,11 +3044,6 @@ const typeMap: any = { "failed", "pending", ], - "MethodType": [ - "digital", - "pickup", - "shipping", - ], "LineItemStatus": [ "fulfilled", "partial", diff --git a/protocol/languages/typescript/src/generated/ProtocolNotifications.d.ts b/protocol/languages/typescript/src/generated/ProtocolNotifications.d.ts index fea0ee536..1158645ac 100644 --- a/protocol/languages/typescript/src/generated/ProtocolNotifications.d.ts +++ b/protocol/languages/typescript/src/generated/ProtocolNotifications.d.ts @@ -11,7 +11,7 @@ type ReadyRequest = import('./Models').ReadyRequest; type ReadyResult = import('./Models').ReadyResult; type WindowOpenRequest = import('./Models').WindowOpenRequest; type WindowOpenResult = import('./Models').WindowOpenResult; -export declare const SPEC_VERSION = "2026-04-08"; +export declare const SPEC_VERSION = "2026-08-25"; export declare const Delegations: { readonly paymentInstrumentsChange: "payment.instruments_change"; readonly paymentCredential: "payment.credential"; diff --git a/protocol/languages/typescript/src/generated/ProtocolNotifications.ts b/protocol/languages/typescript/src/generated/ProtocolNotifications.ts index 5e1f4d0c1..e1f16202e 100644 --- a/protocol/languages/typescript/src/generated/ProtocolNotifications.ts +++ b/protocol/languages/typescript/src/generated/ProtocolNotifications.ts @@ -16,7 +16,7 @@ type ReadyResult = import('./Models').ReadyResult; type WindowOpenRequest = import('./Models').WindowOpenRequest; type WindowOpenResult = import('./Models').WindowOpenResult; -export const SPEC_VERSION = '2026-04-08'; +export const SPEC_VERSION = '2026-08-25'; export const Delegations = { paymentInstrumentsChange: 'payment.instruments_change', diff --git a/protocol/languages/typescript/src/generated/ProtocolRenameMap.ts b/protocol/languages/typescript/src/generated/ProtocolRenameMap.ts index d1fb8e0bc..968cdbcbd 100644 --- a/protocol/languages/typescript/src/generated/ProtocolRenameMap.ts +++ b/protocol/languages/typescript/src/generated/ProtocolRenameMap.ts @@ -14,4 +14,4 @@ export type RenameChild = export type RenameEntry = [string, string] | [string, string, RenameChild]; -export const renameMap: Record = {"AddressChangeCheckout":[["fulfillment","fulfillment",["r","CheckoutFulfillmentObject"]]],"AddressChangeResult":[["checkout","checkout",["r","AddressChangeCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"Adjustment":[["line_items","lineItems"],["occurred_at","occurredAt"],["totals","totals",["a",["r","LineItemTotal"]]]],"AuthResult":[["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"Buyer":[["first_name","firstName"],["last_name","lastName"],["phone_number","phoneNumber"]],"Checkout":[["buyer","buyer",["r","Buyer"]],["context","context",["r","Context"]],["continue_url","continueUrl"],["expires_at","expiresAt"],["fulfillment","fulfillment",["r","CheckoutFulfillment"]],["line_items","lineItems",["a",["r","LineItem"]]],["messages","messages",["a",["r","Message"]]],["order","order",["r","OrderConfirmation"]],["payment","payment",["r","Payment"]],["totals","totals",["a",["r","CheckoutTotal"]]],["ucp","ucp",["r","UcpCheckoutResponseSchema"]]],"CheckoutFulfillment":[["available_methods","availableMethods",["a",["r","FulfillmentAvailableMethod"]]],["methods","methods",["a",["r","FulfillmentMethod"]]]],"CheckoutFulfillmentObject":[["available_methods","availableMethods",["a",["r","FulfillmentAvailableMethod"]]],["methods","methods",["a",["r","FulfillmentMethod"]]]],"CheckoutTotal":[["display_text","displayText"],["lines","lines",["a",["r","Line"]]]],"Context":[["address_country","addressCountry"],["address_region","addressRegion"],["postal_code","postalCode"]],"CredentialCheckout":[["payment","payment",["r","Payment"]]],"CredentialResult":[["checkout","checkout",["r","CredentialCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"EmbeddedTransportConfig":[["color_scheme","colorScheme"]],"ErrorResponse":[["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]],["ucp","ucp",["r","ErrorResponseUcp"]]],"ErrorResponseUcp":[["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerResponseSchema"]]]]],"Expectation":[["destination","destination",["r","PostalAddress"]],["fulfillable_on","fulfillableOn"],["line_items","lineItems"],["method_type","methodType"]],"Fulfillment":[["events","events",["a",["r","FulfillmentEvent"]]],["expectations","expectations",["a",["r","Expectation"]]]],"FulfillmentAvailableMethod":[["fulfillable_on","fulfillableOn"],["line_item_ids","lineItemIds"]],"FulfillmentDestination":[["address_country","addressCountry"],["address_locality","addressLocality"],["address_region","addressRegion"],["extended_address","extendedAddress"],["first_name","firstName"],["last_name","lastName"],["phone_number","phoneNumber"],["postal_code","postalCode"],["street_address","streetAddress"],["address","address",["r","PostalAddress"]]],"FulfillmentEvent":[["line_items","lineItems"],["occurred_at","occurredAt"],["tracking_number","trackingNumber"],["tracking_url","trackingUrl"]],"FulfillmentGroup":[["line_item_ids","lineItemIds"],["options","options",["a",["r","FulfillmentOption"]]],["selected_option_id","selectedOptionId"]],"FulfillmentMethod":[["destinations","destinations",["a",["r","FulfillmentDestination"]]],["groups","groups",["a",["r","FulfillmentGroup"]]],["line_item_ids","lineItemIds"],["selected_destination_id","selectedDestinationId"]],"FulfillmentOption":[["earliest_fulfillment_time","earliestFulfillmentTime"],["latest_fulfillment_time","latestFulfillmentTime"],["totals","totals",["a",["r","LineItemTotal"]]]],"InstrumentsChangeCheckout":[["payment","payment",["r","InstrumentsChangePayment"]]],"InstrumentsChangePayment":[["instruments","instruments",["a",["r","SelectedPaymentInstrument"]]],["selected_instrument_id","selectedInstrumentId"]],"InstrumentsChangeResult":[["checkout","checkout",["r","InstrumentsChangeCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"InstrumentsChangeResultUcp":[["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerElement"]]]]],"Item":[["image_url","imageUrl"]],"Line":[["display_text","displayText"]],"LineItem":[["item","item",["r","Item"]],["parent_id","parentId"],["totals","totals",["a",["r","LineItemTotal"]]]],"LineItemTotal":[["display_text","displayText"]],"Message":[["content_type","contentType"],["image_url","imageUrl"]],"Order":[["adjustments","adjustments",["a",["r","Adjustment"]]],["checkout_id","checkoutId"],["fulfillment","fulfillment",["r","Fulfillment"]],["line_items","lineItems",["a",["r","OrderLineItem"]]],["messages","messages",["a",["r","Message"]]],["permalink_url","permalinkUrl"],["totals","totals",["a",["r","CheckoutTotal"]]],["ucp","ucp",["r","UcpOrderResponseSchema"]]],"OrderConfirmation":[["permalink_url","permalinkUrl"]],"OrderLineItem":[["item","item",["r","Item"]],["parent_id","parentId"],["totals","totals",["a",["r","LineItemTotal"]]]],"Payment":[["instruments","instruments",["a",["r","SelectedPaymentInstrument"]]]],"PaymentHandlerElement":[["available_instruments","availableInstruments"]],"PaymentHandlerResponseSchema":[["available_instruments","availableInstruments"]],"PostalAddress":[["address_country","addressCountry"],["address_locality","addressLocality"],["address_region","addressRegion"],["extended_address","extendedAddress"],["first_name","firstName"],["last_name","lastName"],["phone_number","phoneNumber"],["postal_code","postalCode"],["street_address","streetAddress"]],"ReadyCheckout":[["fulfillment","fulfillment",["r","CheckoutFulfillmentObject"]],["payment","payment",["r","ReadyPayment"]]],"ReadyPayment":[["instruments","instruments",["a",["r","SelectedPaymentInstrument"]]],["selected_instrument_id","selectedInstrumentId"]],"ReadyResult":[["checkout","checkout",["r","ReadyCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"SelectedPaymentInstrument":[["billing_address","billingAddress",["r","PostalAddress"]],["handler_id","handlerId"]],"ServiceResponseSchema":[["config","config",["r","EmbeddedTransportConfig"]]],"UcpCheckoutResponseSchema":[["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerResponseSchema"]]]],["services","services",["m",["a",["r","ServiceResponseSchema"]]]]],"UcpOrderResponseSchema":[["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerResponseSchema"]]]]],"WindowOpenResult":[["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]]}; +export const renameMap: Record = {"AddressChangeCheckout":[["fulfillment","fulfillment",["r","CheckoutFulfillmentObject"]]],"AddressChangeResult":[["checkout","checkout",["r","AddressChangeCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"Adjustment":[["line_items","lineItems",["a",["r","AdjustmentLineItem"]]],["occurred_at","occurredAt"],["totals","totals",["a",["r","LineItemTotal"]]]],"AdjustmentLineItem":[["measure","measure",["r","Measure"]]],"AuthResult":[["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"Buyer":[["first_name","firstName"],["last_name","lastName"],["phone_number","phoneNumber"]],"Checkout":[["buyer","buyer",["r","Buyer"]],["context","context",["r","Context"]],["continue_url","continueUrl"],["expires_at","expiresAt"],["fulfillment","fulfillment",["r","CheckoutFulfillment"]],["line_items","lineItems",["a",["r","LineItem"]]],["messages","messages",["a",["r","Message"]]],["order","order",["r","OrderConfirmation"]],["payment","payment",["r","Payment"]],["policies","policies",["a",["r","Policy"]]],["totals","totals",["a",["r","CheckoutTotal"]]],["ucp","ucp",["r","UcpCheckoutResponseSchema"]]],"CheckoutFulfillment":[["available_methods","availableMethods",["a",["r","FulfillmentAvailableMethod"]]],["methods","methods",["a",["r","FulfillmentMethod"]]]],"CheckoutFulfillmentObject":[["available_methods","availableMethods",["a",["r","FulfillmentAvailableMethod"]]],["methods","methods",["a",["r","FulfillmentMethod"]]]],"CheckoutTotal":[["display_text","displayText"],["lines","lines",["a",["r","Line"]]]],"Context":[["address_country","addressCountry"],["address_region","addressRegion"],["postal_code","postalCode"]],"CredentialCheckout":[["payment","payment",["r","Payment"]]],"CredentialResult":[["checkout","checkout",["r","CredentialCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"EmbeddedTransportConfig":[["color_scheme","colorScheme"]],"ErrorResponse":[["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]],["ucp","ucp",["r","ErrorResponseUcp"]]],"ErrorResponseUcp":[["map_order","mapOrder"],["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerResponseSchema"]]]]],"Expectation":[["destination","destination",["r","PostalAddress"]],["fulfillable_on","fulfillableOn"],["line_items","lineItems"],["method_type","methodType"]],"Fulfillment":[["events","events",["a",["r","FulfillmentEvent"]]],["expectations","expectations",["a",["r","Expectation"]]]],"FulfillmentAvailableMethod":[["fulfillable_on","fulfillableOn"],["line_item_ids","lineItemIds"]],"FulfillmentDestination":[["address","address",["r","PostalAddress"]],["address_country","addressCountry"],["address_locality","addressLocality"],["address_region","addressRegion"],["extended_address","extendedAddress"],["first_name","firstName"],["last_name","lastName"],["phone_number","phoneNumber"],["postal_code","postalCode"],["street_address","streetAddress"]],"FulfillmentEvent":[["line_items","lineItems"],["occurred_at","occurredAt"],["tracking_number","trackingNumber"],["tracking_url","trackingUrl"]],"FulfillmentGroup":[["line_item_ids","lineItemIds"],["options","options",["a",["r","FulfillmentOption"]]],["selected_option_id","selectedOptionId"]],"FulfillmentMethod":[["destinations","destinations",["a",["r","FulfillmentDestination"]]],["groups","groups",["a",["r","FulfillmentGroup"]]],["line_item_ids","lineItemIds"],["selected_destination_id","selectedDestinationId"]],"FulfillmentOption":[["earliest_fulfillment_time","earliestFulfillmentTime"],["latest_fulfillment_time","latestFulfillmentTime"],["totals","totals",["a",["r","LineItemTotal"]]]],"InstrumentsChangeCheckout":[["payment","payment",["r","InstrumentsChangePayment"]]],"InstrumentsChangePayment":[["instruments","instruments",["a",["r","SelectedPaymentInstrument"]]],["selected_instrument_id","selectedInstrumentId"]],"InstrumentsChangeResult":[["checkout","checkout",["r","InstrumentsChangeCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"InstrumentsChangeResultUcp":[["map_order","mapOrder"],["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerElement"]]]]],"Item":[["image_url","imageUrl"],["quantity_unit","quantityUnit",["r","QuantityUnit"]],["unit_price","unitPrice",["r","UnitPrice"]]],"Line":[["display_text","displayText"]],"LineItem":[["item","item",["r","Item"]],["parent_id","parentId"],["totals","totals",["a",["r","LineItemTotal"]]]],"LineItemTotal":[["display_text","displayText"]],"Measure":[["display_text","displayText"]],"Message":[["content_type","contentType"],["image_url","imageUrl"]],"Order":[["adjustments","adjustments",["a",["r","Adjustment"]]],["checkout_id","checkoutId"],["fulfillment","fulfillment",["r","Fulfillment"]],["line_items","lineItems",["a",["r","OrderLineItem"]]],["messages","messages",["a",["r","Message"]]],["permalink_url","permalinkUrl"],["policies","policies",["a",["r","Policy"]]],["totals","totals",["a",["r","CheckoutTotal"]]],["ucp","ucp",["r","UcpOrderResponseSchema"]]],"OrderConfirmation":[["permalink_url","permalinkUrl"]],"OrderLineItem":[["item","item",["r","Item"]],["parent_id","parentId"],["totals","totals",["a",["r","LineItemTotal"]]]],"Payment":[["instruments","instruments",["a",["r","SelectedPaymentInstrument"]]]],"PaymentHandlerElement":[["available_instruments","availableInstruments"]],"PaymentHandlerResponseSchema":[["available_instruments","availableInstruments"]],"Policy":[["applies_to","appliesTo"]],"PostalAddress":[["address_country","addressCountry"],["address_locality","addressLocality"],["address_region","addressRegion"],["extended_address","extendedAddress"],["first_name","firstName"],["last_name","lastName"],["phone_number","phoneNumber"],["postal_code","postalCode"],["street_address","streetAddress"]],"QuantityUnit":[["display_text","displayText"]],"ReadyCheckout":[["fulfillment","fulfillment",["r","CheckoutFulfillmentObject"]],["payment","payment",["r","ReadyPayment"]]],"ReadyPayment":[["instruments","instruments",["a",["r","SelectedPaymentInstrument"]]],["selected_instrument_id","selectedInstrumentId"]],"ReadyResult":[["checkout","checkout",["r","ReadyCheckout"]],["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]],"SelectedPaymentInstrument":[["billing_address","billingAddress",["r","PostalAddress"]],["handler_id","handlerId"]],"ServiceResponseSchema":[["config","config",["r","EmbeddedTransportConfig"]]],"UcpCheckoutResponseSchema":[["map_order","mapOrder"],["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerResponseSchema"]]]],["services","services",["m",["a",["r","ServiceResponseSchema"]]]]],"UcpOrderResponseSchema":[["map_order","mapOrder"],["payment_handlers","paymentHandlers",["m",["a",["r","PaymentHandlerResponseSchema"]]]]],"UnitPrice":[["measure","measure",["r","Measure"]],["reference","reference",["r","Measure"]]],"WindowOpenResult":[["ucp","ucp",["r","InstrumentsChangeResultUcp"]],["continue_url","continueUrl"],["messages","messages",["a",["r","Message"]]]]}; diff --git a/protocol/languages/typescript/src/index.d.ts b/protocol/languages/typescript/src/index.d.ts index 885e7783e..e0a43388a 100644 --- a/protocol/languages/typescript/src/index.d.ts +++ b/protocol/languages/typescript/src/index.d.ts @@ -3,6 +3,6 @@ export * from './descriptors'; export * from './protocol'; export { decodeProtocolMessage, encodeJSONRPCError, encodeJSONRPCResult, PARSE_ERROR_CODE, PARSE_ERROR_MESSAGE, INVALID_PARAMS_CODE, INVALID_PARAMS_MESSAGE, METHOD_NOT_FOUND_CODE, METHOD_NOT_FOUND_MESSAGE, INTERNAL_ERROR_CODE, INTERNAL_ERROR_MESSAGE, type JSONRPCID, type DecodedMessage, } from './codec'; export { checkoutProtocolCatalog, checkoutProtocolCatalogPayloadDecoders, checkoutProtocolRequestCatalog, embeddedCheckoutMethods, type CheckoutProtocolCatalogMethod, type CheckoutProtocolCatalogPayloads, type CheckoutProtocolCatalogPayloadDecoder, type CheckoutProtocolCatalogParams, type CheckoutProtocolNotificationMessage, type CheckoutProtocolRequestMethod, type CheckoutProtocolRequestPayloads, type CheckoutProtocolRequestResults, type CheckoutProtocolRequestParams, type CheckoutProtocolRequestMessage, type Delegation, } from './generated/ProtocolNotifications'; -export { Client } from './client'; +export { Client, type DecodeErrorContext } from './client'; export { windowOpenSuccess, windowOpenRejected } from './window_open'; export { EmbeddedCheckoutProtocol } from './embedded_checkout_protocol'; diff --git a/protocol/languages/typescript/src/protocol_codec_runtime.ts b/protocol/languages/typescript/src/protocol_codec_runtime.ts index 0c64cf702..7e13c8a2d 100644 --- a/protocol/languages/typescript/src/protocol_codec_runtime.ts +++ b/protocol/languages/typescript/src/protocol_codec_runtime.ts @@ -29,23 +29,28 @@ export function decodeProtocolObject( requireFields(input, REQUIRED_FIELDS[modelName] ?? [], modelName); requireStringFields(input, REQUIRED_STRING_FIELDS[modelName] ?? [], modelName); requireNestedFields(input, modelName); - return walkObject(input, renameMap[modelName], 'decode') as JSONRecord; + return walkObject(input, renameMap[modelName], 'decode', modelName) as JSONRecord; } export function encodeProtocolObject( value: unknown, modelName: string, ): unknown { - return walkObject(value, renameMap[modelName], 'encode'); + return walkObject(value, renameMap[modelName], 'encode', modelName); } function walkObject( value: unknown, entries: RenameEntry[] | undefined, direction: Direction, + modelName?: string, ): unknown { - if (!entries || !isObjectRecord(value)) { - return value; + const input = + direction === 'decode' && modelName === 'FulfillmentOption' + ? normalizeLegacyFulfillmentOptionDescription(value) + : value; + if (!entries || !isObjectRecord(input)) { + return input; } const sourceIndex = direction === 'decode' ? 0 : 1; @@ -57,7 +62,7 @@ function walkObject( } const output: JSONRecord = {}; - for (const [key, item] of Object.entries(value)) { + for (const [key, item] of Object.entries(input)) { const entry = entryBySource.get(key); if (entry) { output[entry[targetIndex]] = walkChild(item, entry[2], direction); @@ -79,7 +84,7 @@ function walkChild( switch (child[0]) { case 'r': - return walkObject(value, renameMap[child[1]], direction); + return walkObject(value, renameMap[child[1]], direction, child[1]); case 'a': return Array.isArray(value) ? value.map(item => walkChild(item, child[1], direction)) @@ -123,6 +128,13 @@ function walkUnion( return value; } +function normalizeLegacyFulfillmentOptionDescription(value: unknown): unknown { + if (!isObjectRecord(value) || typeof value.description !== 'string') { + return value; + } + return {...value, description: {plain: value.description}}; +} + function isObjectRecord(value: unknown): value is JSONRecord { return value !== null && typeof value === 'object' && !Array.isArray(value); } diff --git a/protocol/languages/typescript/test/extension-preservation.test.ts b/protocol/languages/typescript/test/extension-preservation.test.ts index 94bbb2705..5d37ea2d9 100644 --- a/protocol/languages/typescript/test/extension-preservation.test.ts +++ b/protocol/languages/typescript/test/extension-preservation.test.ts @@ -1,3 +1,4 @@ +// April wire payloads are retained here as older-version compatibility coverage. import {expect, test} from 'vitest'; import {Convert} from '../src/generated/Models'; diff --git a/protocol/languages/typescript/test/fixtures.ts b/protocol/languages/typescript/test/fixtures.ts index 9bb1ad283..55d2efcb4 100644 --- a/protocol/languages/typescript/test/fixtures.ts +++ b/protocol/languages/typescript/test/fixtures.ts @@ -1,3 +1,4 @@ +// April wire payloads are retained here as older-version compatibility coverage. export const CHECKOUT_ENVELOPE = { id: 'checkout-123', currency: 'USD', diff --git a/protocol/languages/typescript/test/fixtures/checkout-2026-04-08.json b/protocol/languages/typescript/test/fixtures/checkout-2026-04-08.json new file mode 100644 index 000000000..25a5fee60 --- /dev/null +++ b/protocol/languages/typescript/test/fixtures/checkout-2026-04-08.json @@ -0,0 +1,90 @@ +{ + "jsonrpc": "2.0", + "method": "ec.start", + "params": { + "checkout": { + "id": "checkout-compatibility", + "currency": "USD", + "line_items": [], + "links": [], + "status": "incomplete", + "totals": [], + "ucp": { + "version": "2026-04-08", + "payment_handlers": {} + }, + "fulfillment": { + "available_methods": [ + { + "type": "shipping", + "line_item_ids": [] + } + ], + "methods": [ + { + "id": "drone-1", + "type": "shipping", + "line_item_ids": [], + "destinations": [ + { + "id": "address-1", + "street_address": "123 Example Street", + "address_locality": "Example City", + "address_country": "US", + "postal_code": "10001" + } + ], + "groups": [ + { + "id": "group-1", + "line_item_ids": [], + "options": [ + { + "id": "option-standard", + "title": "Standard Shipping", + "description": "Arrives in 3-5 business days", + "totals": [ + { + "type": "fulfillment", + "amount": 500 + } + ] + } + ], + "selected_option_id": "option-standard" + } + ], + "com.example.method_extension": { + "nested_value": "preserved" + } + }, + { + "id": "pickup-1", + "type": "pickup", + "line_item_ids": [], + "destinations": [ + { + "id": "location-1", + "name": "Example Pickup Store", + "address": { + "street_address": "456 Example Avenue", + "extended_address": "Suite 2", + "address_locality": "Example City", + "address_region": "NY", + "address_country": "US", + "postal_code": "10002" + } + } + ] + } + ] + }, + "signals": { + "com.example.device_id": "compatibility-test" + }, + "com.example.extension": { + "nested_value": 42 + } + } + } +} diff --git a/protocol/languages/typescript/test/fixtures/checkout-2026-08-25.json b/protocol/languages/typescript/test/fixtures/checkout-2026-08-25.json new file mode 100644 index 000000000..d7d3e16e9 --- /dev/null +++ b/protocol/languages/typescript/test/fixtures/checkout-2026-08-25.json @@ -0,0 +1,145 @@ +{ + "jsonrpc": "2.0", + "method": "ec.start", + "params": { + "checkout": { + "id": "checkout-compatibility", + "currency": "USD", + "line_items": [], + "links": [], + "status": "incomplete", + "totals": [], + "ucp": { + "version": "2026-08-25", + "payment_handlers": { + "com.example.wallet": [ + { + "id": "example-wallet", + "version": "2026-08-25", + "available_instruments": [ + { + "type": "card", + "constraints": { + "required": [ + "credential" + ], + "properties": { + "credential": { + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "token" + ] + } + } + }, + "amount": { + "const": 100 + } + }, + "anyOf": [ + { + "required": [ + "credential" + ] + } + ] + } + } + ] + } + ] + }, + "map_order": { + "payment_handlers": [ + "com.example.wallet" + ] + }, + "future_metadata": { + "enabled": true + } + }, + "fulfillment": { + "available_methods": [ + { + "type": "drone_delivery", + "line_item_ids": [] + } + ], + "methods": [ + { + "id": "drone-1", + "type": "drone_delivery", + "line_item_ids": [], + "destinations": [ + { + "id": "address-1", + "street_address": "123 Example Street", + "address_locality": "Example City", + "address_country": "US", + "postal_code": "10001", + "type": "shipping_address" + } + ], + "groups": [ + { + "id": "group-1", + "line_item_ids": [], + "options": [ + { + "id": "option-standard", + "title": "Standard Shipping", + "description": { + "plain": "Arrives in 3-5 business days", + "markdown": "Arrives in **3-5 business days**", + "html": "

Arrives in 3-5 business days

" + }, + "totals": [ + { + "type": "fulfillment", + "amount": 500 + } + ] + } + ], + "selected_option_id": "option-standard" + } + ], + "com.example.method_extension": { + "nested_value": "preserved" + } + }, + { + "id": "pickup-1", + "type": "pickup", + "line_item_ids": [], + "destinations": [ + { + "id": "location-1", + "name": "Example Pickup Store", + "address": { + "street_address": "456 Example Avenue", + "extended_address": "Suite 2", + "address_locality": "Example City", + "address_region": "NY", + "address_country": "US", + "postal_code": "10002" + }, + "type": "business_location" + } + ] + } + ] + }, + "signals": { + "com.example.device_id": "compatibility-test" + }, + "com.example.extension": { + "nested_value": 42 + } + } + } +} diff --git a/protocol/languages/typescript/test/fixtures/error-2026-04-08.json b/protocol/languages/typescript/test/fixtures/error-2026-04-08.json new file mode 100644 index 000000000..1c3f01423 --- /dev/null +++ b/protocol/languages/typescript/test/fixtures/error-2026-04-08.json @@ -0,0 +1,19 @@ +{ + "jsonrpc": "2.0", + "method": "ec.error", + "params": { + "error": { + "ucp": { + "version": "2026-04-08", + "status": "error" + }, + "messages": [ + { + "type": "error", + "code": "checkout_unavailable", + "content": "Try again." + } + ] + } + } +} diff --git a/protocol/languages/typescript/test/rename-map.test.ts b/protocol/languages/typescript/test/rename-map.test.ts new file mode 100644 index 000000000..f5c57bfa5 --- /dev/null +++ b/protocol/languages/typescript/test/rename-map.test.ts @@ -0,0 +1,16 @@ +import {describe, expect, it} from 'vitest'; + +import {parseTypeMap} from '../../../scripts/generate_typescript_rename_map.mjs'; + +describe('quicktype type map declaration', () => { + it.each(['const', 'export const'])('accepts %s declarations', (declaration) => { + const map = parseTypeMap( + declaration + ' typeMap: any = {"Example": o([{json: "map_order", js: "mapOrder", typ: a("")}], "any")};\n', + ); + expect(map.Example.props[0]).toEqual({json: 'map_order', js: 'mapOrder', typ: {arrayItems: ''}}); + }); + + it('fails clearly when quicktype changes the declaration shape', () => { + expect(() => parseTypeMap('const renamed = {};')).toThrow('Expected quicktype const or export const typeMap object'); + }); +}); diff --git a/protocol/languages/typescript/test/spec-metadata.test.ts b/protocol/languages/typescript/test/spec-metadata.test.ts index 1c7911bc5..51df3e861 100644 --- a/protocol/languages/typescript/test/spec-metadata.test.ts +++ b/protocol/languages/typescript/test/spec-metadata.test.ts @@ -1,3 +1,4 @@ +import {readFileSync} from 'node:fs'; import {describe, test, expect} from 'vitest'; import { @@ -7,9 +8,31 @@ import { embeddedCheckoutMethods, } from '../src/generated/ProtocolNotifications'; +const {protocolVersion} = JSON.parse( + readFileSync(new URL('../../../source-lock.json', import.meta.url), 'utf8'), +); + describe('spec metadata', () => { - test('exposes the spec version', () => { - expect(SPEC_VERSION).toBe('2026-04-08'); + test('exposes the pinned spec version', () => { + expect(SPEC_VERSION).toBe(protocolVersion); + }); + + // Catch skipped regeneration even when a native test still expects an older + // revision. These files are emitted by the same codegen commands used in CI. + test.each([ + [ + 'Swift', + '../../swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift', + 'public static let specVersion =', + ], + [ + 'Kotlin', + '../../kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocol.kt', + 'public const val SPEC_VERSION: String =', + ], + ])('keeps the generated %s version aligned with the lockfile', (_language, file, declaration) => { + const source = readFileSync(new URL(file, import.meta.url), 'utf8'); + expect(source).toContain(`${declaration} "${protocolVersion}"`); }); test('exposes the declared delegations', () => { diff --git a/protocol/languages/typescript/test/url.test.ts b/protocol/languages/typescript/test/url.test.ts index fd6ee7c5b..58e0e4590 100644 --- a/protocol/languages/typescript/test/url.test.ts +++ b/protocol/languages/typescript/test/url.test.ts @@ -6,16 +6,16 @@ import {Delegations} from '../src/generated/ProtocolNotifications'; describe('url handshake', () => { test('appends the spec version', () => { expect(url('https://shop.example/checkout')).toBe( - 'https://shop.example/checkout?ec_version=2026-04-08', + 'https://shop.example/checkout?ec_version=2026-08-25', ); }); test('replaces an existing protocol version and preserves other query params', () => { - const result = url('https://shop.example/c?ec_version=old&foo=bar'); + const result = url('https://shop.example/c?ec_version=2026-04-08&ec_version=stale&foo=bar'); expect(result).toContain('foo=bar'); expect(result.match(/ec_version=/g)).toHaveLength(1); - expect(result).toContain('ec_version=2026-04-08'); + expect(result).toContain('ec_version=2026-08-25'); }); test('encodes delegations, auth, and color scheme', () => { @@ -34,13 +34,13 @@ describe('url handshake', () => { const result = url('https://shop.example/c#section'); expect(result.endsWith('#section')).toBe(true); - expect(result).toContain('ec_version=2026-04-08'); + expect(result).toContain('ec_version=2026-08-25'); }); test('keeps a query param with a malformed percent-encoded name', () => { const result = url('https://shop.example/c?%=1'); expect(result).toContain('%=1'); - expect(result).toContain('ec_version=2026-04-08'); + expect(result).toContain('ec_version=2026-08-25'); }); }); diff --git a/protocol/languages/typescript/test/version-compatibility.test.ts b/protocol/languages/typescript/test/version-compatibility.test.ts new file mode 100644 index 000000000..d324a66a7 --- /dev/null +++ b/protocol/languages/typescript/test/version-compatibility.test.ts @@ -0,0 +1,71 @@ +import {readFileSync} from 'node:fs'; +import {describe, expect, test} from 'vitest'; + +import {Convert} from '../src/generated/Models'; +import {decodeCheckout, decodeErrorResponse} from '../src/generated/ProtocolCodecs'; +import {encodeProtocolObject} from '../src/protocol_codec_runtime'; + +function fixture(name: string) { + const bytes = readFileSync(new URL('./fixtures/' + name + '.json', import.meta.url), 'utf8'); + // SwiftPM bundles resources inside its test target; JVM tests use classpath + // resources. Keep the three harness-native copies byte-for-byte equivalent. + for (const directory of [ + '../../swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/', + '../../kotlin/embedded-checkout-protocol/src/test/resources/', + ]) { + expect(readFileSync(new URL(directory + name + '.json', import.meta.url), 'utf8')).toBe(bytes); + } + return JSON.parse(bytes); +} + +describe('wire-version compatibility', () => { + test.each(['2026-08-25', '2026-04-08'])('decodes and preserves the %s checkout', (version) => { + const wire = fixture('checkout-' + version).params.checkout; + const checkout = decodeCheckout(wire); + const converted = Convert.toCheckout(JSON.stringify(wire)); + expect(checkout.ucp.version).toBe(version); + expect(converted.ucp.version).toBe(version); + expect(checkout.fulfillment!.methods![0].type).toBe(version === '2026-08-25' ? 'drone_delivery' : 'shipping'); + const expectedDescription = + version === '2026-08-25' + ? { + plain: 'Arrives in 3-5 business days', + markdown: 'Arrives in **3-5 business days**', + html: '

Arrives in 3-5 business days

', + } + : {plain: 'Arrives in 3-5 business days'}; + for (const decoded of [checkout, converted]) { + expect(decoded.fulfillment!.methods![0].groups![0].options![0].description).toEqual( + expectedDescription, + ); + const location = decoded.fulfillment!.methods![1].destinations![0]; + expect(location.id).toBe('location-1'); + expect(location.name).toBe('Example Pickup Store'); + // April retail locations predate the August destination discriminator. + expect(location.type).toBe(version === '2026-08-25' ? 'business_location' : undefined); + expect(location.address!.streetAddress).toBe('456 Example Avenue'); + expect(location.address!.extendedAddress).toBe('Suite 2'); + expect(location.address!.addressLocality).toBe('Example City'); + expect(location.address!.addressRegion).toBe('NY'); + expect(location.address!.addressCountry).toBe('US'); + expect(location.address!.postalCode).toBe('10002'); + } + const canonicalWire = JSON.parse(JSON.stringify(wire)); + if (version === '2026-04-08') { + canonicalWire.fulfillment.methods[0].groups[0].options[0].description = expectedDescription; + } + expect(encodeProtocolObject(checkout, 'Checkout')).toEqual(canonicalWire); + expect(JSON.parse(Convert.checkoutToJson(converted))).toEqual(canonicalWire); + if (version === '2026-08-25') { + expect(checkout.ucp.mapOrder).toEqual({payment_handlers: ['com.example.wallet']}); + expect(checkout.fulfillment!.availableMethods![0].type).toBe('drone_delivery'); + } + }); + + test('retains April error-payload compatibility', () => { + const wire = fixture('error-2026-04-08').params.error; + const error = decodeErrorResponse(wire); + expect(error.ucp.version).toBe('2026-04-08'); + expect(error.messages[0].content).toBe('Try again.'); + }); +}); diff --git a/protocol/schemas/capability.json b/protocol/schemas/capability.json index 9eb2eb33f..d58334d04 100644 --- a/protocol/schemas/capability.json +++ b/protocol/schemas/capability.json @@ -13,16 +13,10 @@ "properties": { "extends": { "oneOf": [ - { - "type": "string", - "pattern": "^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$" - }, + { "$ref": "common/types/reverse_domain_name.json" }, { "type": "array", - "items": { - "type": "string", - "pattern": "^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$" - }, + "items": { "$ref": "common/types/reverse_domain_name.json" }, "minItems": 1 } ], @@ -41,8 +35,8 @@ "business_schema": { "title": "Capability (Business Schema)", - "description": "Capability configuration for business/merchant level. May include business-specific config overrides.", - "allOf": [{ "$ref": "#/$defs/base" }] + "description": "Capability declaration for business/merchant discovery. Requires the `schema` URL so platforms can fetch and compose it during negotiation; may also include business-specific config overrides.", + "allOf": [{ "$ref": "#/$defs/base" }, { "required": ["schema"] }] }, "response_schema": { diff --git a/protocol/schemas/common/identity_linking.json b/protocol/schemas/common/identity_linking.json index 170c59b40..ea7e7d143 100644 --- a/protocol/schemas/common/identity_linking.json +++ b/protocol/schemas/common/identity_linking.json @@ -4,7 +4,6 @@ "name": "dev.ucp.common.identity_linking", "title": "Identity Linking", "description": "Capability schema for identity linking. Businesses declare the user-authenticated scopes they offer in a flat 'scopes' map. Each key is the OAuth scope string as it appears on the wire ('{capability}:{scope}', e.g. 'dev.ucp.shopping.order:read'). Scope presence implies that the corresponding operations require user authentication. Operations not gated by any listed scope operate at whatever access level the business permits; UCP does not prescribe a default.", - "$comment": "Auth mechanism: business-hosted OAuth 2.0 with RFC 8414 discovery. The 'config' object is open for non-breaking extension. Reserved extension point: 'providers' (map of trusted identity providers keyed by reverse-domain, with a 'type' discriminator defaulting to 'oauth2' — enabling delegated IdP, identity chaining, and future non-OAuth mechanisms such as wallet attestation). When 'providers' is absent, platforms MUST use OAuth 2.0 with RFC 8414 discovery on the business domain. Platforms MUST ignore unrecognized fields in 'config' and fall back to this default behavior.", "$defs": { "scope_policy": { @@ -23,7 +22,42 @@ "scope_token": { "type": "string", "description": "OAuth scope string formed by joining a capability name and a scope name with a colon: '{capability}:{scope}', e.g. 'dev.ucp.shopping.order:read'. Capability names use reverse-DNS naming; scope names denote the permission granted, defined by each capability's spec (e.g. 'read', 'manage', 'create'). Platforms request these strings verbatim in OAuth 'scope' parameters; issued tokens carry them in the 'scope' claim.", - "pattern": "^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+:[a-z][a-z0-9_]*$" + "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+:[a-z][a-z0-9_]*$" + }, + + "provider": { + "type": "object", + "title": "Identity Provider", + "description": "A trusted identity provider for delegated authentication, keyed by the 'type' discriminator. 'oauth2' denotes an OAuth 2.0 / OIDC authorization server. Future versions MAY define additional types (e.g. wallet attestation) as non-breaking extensions; platforms MUST treat entries whose 'type' they do not support as filtered out (see Provider Selection).", + "required": ["type"], + "properties": { + "type": { + "type": "string", + "description": "Provider mechanism discriminator. 'oauth2' for OAuth 2.0 / OIDC authorization servers. Additional values MAY be defined by future versions; the value is an open string, not a closed enum, so unrecognized types remain valid and are filtered at runtime." + } + }, + "allOf": [ + { + "if": { "properties": { "type": { "const": "oauth2" } } }, + "then": { + "required": ["auth_url"], + "properties": { + "auth_url": { + "type": "string", + "format": "uri", + "description": "Base URL for authorization server metadata discovery. Platforms resolve metadata via RFC 8414 (/.well-known/oauth-authorization-server) with OIDC fallback (/.well-known/openid-configuration) on 404." + }, + "required_claims": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true, + "description": "OIDC Core §5.1 claim names the business requires in the JWT authorization grant from this provider (e.g. 'email'). Optional pre-filter hint: platforms SHOULD skip this provider during selection when their upstream identity lacks any of the listed claim names. Reactive enforcement at the token endpoint remains mandatory regardless; this field expresses claim presence only, not value constraints." + } + } + } + } + ], + "additionalProperties": true }, "dev.ucp.common.identity_linking": { @@ -45,9 +79,17 @@ "properties": { "config": { "type": "object", - "$comment": "Reserved extension point: 'providers' (map of trusted identity providers keyed by reverse-domain). See schema-level $comment for details.", "required": ["scopes"], "properties": { + "providers": { + "type": "object", + "description": "Map of trusted external identity providers keyed by reverse-domain identifier. Each key maps to an array of mechanism entries — an IdP namespace MAY offer multiple token acquisition mechanisms. Declares which upstream IdPs the business will accept JWT bearer assertions from for the Accelerated IdP Flow (chaining via RFC 8693 + RFC 7523). This field is additive: direct OAuth against the business domain via RFC 8414 discovery is always available regardless of 'providers' content. Businesses MUST NOT list their own authorization server here — chaining-to-self is degenerate, and direct OAuth covers that path. When absent, empty, or when no listed mechanism is supported by the platform, platforms run direct OAuth on the business domain.", + "propertyNames": { "$ref": "types/reverse_domain_name.json" }, + "additionalProperties": { + "type": "array", + "items": { "$ref": "#/$defs/provider" } + } + }, "scopes": { "type": "object", "description": "Map of user-authenticated scopes offered by this business. Each key is an OAuth scope string formed as '{capability}:{scope}' (e.g. 'dev.ucp.shopping.order:read'). Scope presence in this map declares that the corresponding operations require a user identity token. Operations not gated by any listed scope operate at whatever access level the business permits; UCP does not prescribe a default. Each value is a per-scope policy object (empty object means user auth required with no additional policy).", diff --git a/protocol/schemas/shopping/ap2_mandate.json b/protocol/schemas/common/payment_ap2_mandate.json similarity index 93% rename from protocol/schemas/shopping/ap2_mandate.json rename to protocol/schemas/common/payment_ap2_mandate.json index 4d8b7d071..c9f5e4333 100644 --- a/protocol/schemas/shopping/ap2_mandate.json +++ b/protocol/schemas/common/payment_ap2_mandate.json @@ -1,8 +1,8 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/ap2_mandate.json", - "name": "dev.ucp.shopping.ap2_mandate", - "title": "AP2 Mandate Extension", + "$id": "https://ucp.dev/schemas/common/payment_ap2_mandate.json", + "name": "dev.ucp.common.payment.ap2_mandate", + "title": "Payment AP2 Mandate Extension", "description": "Extends Checkout with cryptographic mandate support for non-repudiable authorization per the AP2 protocol. Uses embedded signature model with ap2 namespace.", "$defs": { "merchant_authorization": { @@ -48,7 +48,7 @@ "description": "Checkout extended with AP2 mandate support.", "allOf": [ { - "$ref": "checkout.json" + "$ref": "../shopping/checkout.json" }, { "type": "object", diff --git a/protocol/schemas/shopping/split_payments.json b/protocol/schemas/common/payment_split_payments.json similarity index 73% rename from protocol/schemas/shopping/split_payments.json rename to protocol/schemas/common/payment_split_payments.json index 6e5ec820a..adcb77cef 100644 --- a/protocol/schemas/shopping/split_payments.json +++ b/protocol/schemas/common/payment_split_payments.json @@ -1,15 +1,9 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/split_payments.json", - "name": "dev.ucp.shopping.split_payments", - "title": "Split Payments Extension", - "description": "Enables buyers to use multiple payment instruments for a single checkout.", - "requires": { - "protocol": { "min": "2026-01-23" }, - "capabilities": { - "dev.ucp.shopping.checkout": { "min": "2026-01-23" } - } - }, + "$id": "https://ucp.dev/schemas/common/payment_split_payments.json", + "name": "dev.ucp.common.payment.split_payments", + "title": "Payment Split Payments Extension", + "description": "Enables Buyers to use multiple payment instruments for a single session.", "$defs": { "instrument_group": { "$ref": "types/instrument_group.json" @@ -23,8 +17,8 @@ "type": "object", "properties": { "amount": { - "$ref": "../common/types/amount.json", - "description": "Contribution amount for this instrument in `checkout.currency` minor units (ISO 4217). On request: the platform's requested contribution (omit for open-amount). On response: the actual amount authorized or charged (omitted when not finally processed)." + "$ref": "types/amount.json", + "description": "Contribution amount for this instrument expressed in ISO 4217 minor units of the containing capability object's `currency`. On request: the platform's requested contribution (omit for open-amount). On response: the actual amount authorized or charged (omitted when not finally processed)." } } } @@ -34,7 +28,7 @@ "title": "Checkout with Split Payments", "description": "Checkout extended with split payment instrument amounts.", "allOf": [ - { "$ref": "checkout.json" }, + { "$ref": "../shopping/checkout.json" }, { "type": "object", "properties": { @@ -59,7 +53,7 @@ } ] }, - "dev.ucp.shopping.split_payments": { + "dev.ucp.common.payment.split_payments": { "business_schema": { "title": "Split Payments Capability (Business)", "description": "Business-level split payments capability configuration.", diff --git a/protocol/schemas/common/types/actions.json b/protocol/schemas/common/types/actions.json new file mode 100644 index 000000000..ba1394aec --- /dev/null +++ b/protocol/schemas/common/types/actions.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/actions.json", + "title": "Actions", + "description": "Outstanding extension-defined Action instances, keyed by reverse-domain Action type, not extension name.", + "$defs": { + "instance": { + "type": "object", + "description": "Common fields for one outstanding Action instance are id and optional config. The extension declaring the Action type defines type-specific processing data under config. Additional properties are permitted for forward compatibility.", + "required": ["id"], + "additionalProperties": true, + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "Identifier for this Action instance.", + "ucp_request": "omit" + }, + "config": { + "type": "object", + "description": "Configuration defined by the extension that declares this Action type.", + "additionalProperties": true, + "ucp_request": "omit" + } + } + } + }, + "type": "object", + "propertyNames": { + "$ref": "reverse_domain_name.json" + }, + "additionalProperties": { + "type": "array", + "description": "Non-empty instances of one Action type. JSON preserves array order; the declaring extension defines whether order has processing semantics.", + "minItems": 1, + "items": { + "$ref": "#/$defs/instance" + } + } +} diff --git a/protocol/schemas/common/types/amount.json b/protocol/schemas/common/types/amount.json index 08e73b1be..1c48a2071 100644 --- a/protocol/schemas/common/types/amount.json +++ b/protocol/schemas/common/types/amount.json @@ -4,5 +4,6 @@ "title": "Amount", "description": "Monetary amount in the currency's minor unit as defined by ISO 4217. Refer to the currency's exponent to determine minor-to-major ratio (e.g., 2 for USD, 0 for JPY, 3 for KWD).", "type": "integer", - "minimum": 0 + "minimum": 0, + "maximum": 9007199254740991 } diff --git a/protocol/schemas/shopping/types/available_payment_instrument.json b/protocol/schemas/common/types/available_payment_instrument.json similarity index 52% rename from protocol/schemas/shopping/types/available_payment_instrument.json rename to protocol/schemas/common/types/available_payment_instrument.json index cf847b355..088e15edb 100644 --- a/protocol/schemas/shopping/types/available_payment_instrument.json +++ b/protocol/schemas/common/types/available_payment_instrument.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/available_payment_instrument.json", + "$id": "https://ucp.dev/schemas/common/types/available_payment_instrument.json", "title": "Available Payment Instrument", "description": "An instrument type available from a payment handler with optional constraints.", "type": "object", @@ -11,10 +11,8 @@ "description": "The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument schema's type constant." }, "constraints": { - "type": "object", - "additionalProperties": true, - "description": "Constraints on this instrument type. Structure depends on instrument type and active capabilities.", - "minProperties": 1 + "$ref": "constraint_expression.json", + "description": "A Constraint Expression describing the instrument this entry makes available. Keys in `properties` name members of the `constraint_target` declared by the instrument schema for this `type`. Requirements on submitted request data belong in `ucp.request_constraints` instead." } } } diff --git a/protocol/schemas/common/types/binding.json b/protocol/schemas/common/types/binding.json new file mode 100644 index 000000000..f0aef2f5c --- /dev/null +++ b/protocol/schemas/common/types/binding.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/binding.json", + "title": "Binding", + "description": "Binds a credential or token to a specific capability resource. Prevents reuse across different resources.", + "type": "object", + "required": ["type", "id"], + "properties": { + "type": { + "$ref": "reverse_domain_name.json", + "description": "The capability that owns the bound resource, for example dev.ucp.shopping.checkout. MUST be a capability name declared in the UCP namespace." + }, + "id": { + "type": "string", + "minLength": 1, + "description": "Opaque identifier of the bound resource within the owning capability, for example a checkout identifier." + } + } +} diff --git a/protocol/schemas/shopping/types/business_split_payments_config.json b/protocol/schemas/common/types/business_split_payments_config.json similarity index 91% rename from protocol/schemas/shopping/types/business_split_payments_config.json rename to protocol/schemas/common/types/business_split_payments_config.json index 72eaed048..c70239f43 100644 --- a/protocol/schemas/shopping/types/business_split_payments_config.json +++ b/protocol/schemas/common/types/business_split_payments_config.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/business_split_payments_config.json", + "$id": "https://ucp.dev/schemas/common/types/business_split_payments_config.json", "title": "Business Split Payments Config", "description": "Business-level configuration for split payments. Declaring the capability means multiple payment instruments are supported; this config declares which combinations are valid.", "type": "object", diff --git a/protocol/schemas/shopping/types/card_credential.json b/protocol/schemas/common/types/card_credential.json similarity index 69% rename from protocol/schemas/shopping/types/card_credential.json rename to protocol/schemas/common/types/card_credential.json index 0d08cc790..16eb8f7c5 100644 --- a/protocol/schemas/shopping/types/card_credential.json +++ b/protocol/schemas/common/types/card_credential.json @@ -1,8 +1,9 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/card_credential.json", + "$id": "https://ucp.dev/schemas/common/types/card_credential.json", "title": "Card Credential", - "description": "A card credential containing sensitive payment card details including raw Primary Account Numbers (PANs). This credential type MUST NOT be used for checkout, only with payment handlers that tokenize or encrypt credentials. CRITICAL: Both parties handling CardCredential (sender and receiver) MUST be PCI DSS compliant. Transmission MUST use HTTPS/TLS with strong cipher suites.", + "description": "Deprecated: use PAN Credential (`pan_credential.json`) or Network Token Credential (`network_token_credential.json`). A card credential containing sensitive payment card details including raw Primary Account Numbers (PANs). This credential type MUST NOT be used for checkout, only with payment handlers that tokenize or encrypt credentials. CRITICAL: Both parties handling CardCredential (sender and receiver) MUST be PCI DSS compliant. Transmission MUST use HTTPS/TLS with strong cipher suites.", + "deprecated": true, "allOf": [ { "$ref": "payment_credential.json" @@ -25,7 +26,7 @@ "network_token", "dpan" ], - "description": "The type of card number. Network tokens are preferred with fallback to FPAN. See PCI Scope for more details." + "description": "Deprecated: the credential type now carries this distinction. The type of card number. Network tokens are preferred with fallback to FPAN. See PCI Scope for more details." }, "number": { "type": "string", diff --git a/protocol/schemas/shopping/types/card_payment_instrument.json b/protocol/schemas/common/types/card_payment_instrument.json similarity index 62% rename from protocol/schemas/shopping/types/card_payment_instrument.json rename to protocol/schemas/common/types/card_payment_instrument.json index 2704308bc..cf35f228b 100644 --- a/protocol/schemas/shopping/types/card_payment_instrument.json +++ b/protocol/schemas/common/types/card_payment_instrument.json @@ -1,35 +1,24 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/card_payment_instrument.json", + "$id": "https://ucp.dev/schemas/common/types/card_payment_instrument.json", "title": "Card Payment Instrument", "description": "A basic card payment instrument with visible card details. Can be inherited by a handler's instrument schema to define handler-specific display details or more complex credential structures.", "$defs": { - "available_card_payment_instrument": { - "title": "Available Card Payment Instrument", - "description": "Declares card instrument availability with card-specific constraints.", - "allOf": [ - { "$ref": "available_payment_instrument.json" }, - { - "type": "object", - "properties": { - "type": { - "const": "card" - }, - "constraints": { - "type": "object", - "properties": { - "brands": { - "type": "array", - "items": { "type": "string" }, - "minItems": 1, - "uniqueItems": true, - "description": "Limit to specific card brands (e.g., ['visa', 'mastercard', 'amex'])." - } - } - } - } + "constraint_target": { + "title": "Card Constraint Target", + "description": "The object an available card instrument's `constraints` describes. It declares the constrainable members and their types and is never carried in a payload.", + "type": "object", + "properties": { + "brand": { + "type": "string", + "description": "Card scheme. Derived from the account number, not submitted.", + "examples": [ + "visa", + "mastercard", + "cartebancaire" + ] } - ] + } } }, "allOf": [ @@ -38,20 +27,26 @@ }, { "type": "object", - "required": ["type"], + "required": [ + "type" + ], "properties": { "type": { "type": "string", "const": "card", "description": "Indicates this is a card payment instrument." }, + "network": { + "type": "string", + "description": "Card network elected for this transaction, typically a co-badged selection. When present, the business MAY decline if the card cannot route over it and MUST NOT substitute another." + }, "display": { "type": "object", "description": "Display information for this card payment instrument.", "properties": { "brand": { "type": "string", - "description": "The card brand/network (e.g., visa, mastercard, amex)." + "description": "The card brand/network shown to the buyer (e.g., visa, mastercard, amex). Presentational only." }, "last_digits": { "type": "string", diff --git a/protocol/schemas/common/types/constraint_expression.json b/protocol/schemas/common/types/constraint_expression.json new file mode 100644 index 000000000..eb3e2d0e3 --- /dev/null +++ b/protocol/schemas/common/types/constraint_expression.json @@ -0,0 +1,56 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/constraint_expression.json", + "title": "Constraint Expression", + "description": "A closed JSON Schema Draft 2020-12 constraint expression with Object and Value Constraint positions.", + "type": "object", + "properties": { + "required": { + "type": "array", + "description": "Property names required by the constrained object. Must be non-empty: an empty array applies no constraint.", + "minItems": 1, + "uniqueItems": true, + "items": { + "type": "string" + } + }, + "properties": { + "type": "object", + "description": "Constraints keyed by property name. Must be non-empty: an empty object applies no constraint.", + "minProperties": 1, + "additionalProperties": { + "oneOf": [ + {"$ref": "#"}, + {"$ref": "#/$defs/value_constraint"} + ] + } + }, + "anyOf": { + "type": "array", + "description": "Alternative Object Constraints. The constrained object must satisfy at least one. A branch must be non-empty: an empty branch is satisfied by every object and neutralizes the alternation.", + "minItems": 1, + "items": {"$ref": "#", "minProperties": 1} + } + }, + "additionalProperties": false, + "$defs": { + "value_constraint": { + "type": "object", + "description": "A Value Constraint containing `enum`, `const`, or both.", + "anyOf": [ + {"required": ["enum"]}, + {"required": ["const"]} + ], + "properties": { + "enum": { + "type": "array", + "description": "A non-empty array of unique JSON values.", + "minItems": 1, + "uniqueItems": true + }, + "const": {} + }, + "additionalProperties": false + } + } +} diff --git a/protocol/schemas/common/types/context.json b/protocol/schemas/common/types/context.json new file mode 100644 index 000000000..f6a60ebd8 --- /dev/null +++ b/protocol/schemas/common/types/context.json @@ -0,0 +1,62 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/context.json", + "title": "Context", + "description": "Provisional buyer signals for relevance and localization—not authoritative data. Businesses SHOULD use these values when verified inputs (e.g., shipping address) are absent, and MAY ignore or down-rank them if inconsistent with higher-confidence signals (authenticated account, risk detection) or regulatory constraints (export controls). Eligibility and policy enforcement MUST occur at checkout time using binding transaction data. Context SHOULD be non-identifying and can be disclosed progressively—coarse signals early, finer resolution as the session progresses. Higher-resolution data (shipping address, billing address) supersedes context.", + "type": "object", + "additionalProperties": true, + "allOf": [ + { + "$ref": "locality.json" + }, + { + "type": "object", + "additionalProperties": true, + "properties": { + "location": { + "type": "string", + "description": "Stable, opaque identifier for a Location in the Business's namespace. This provisional, non-binding hint is distinct from the Buyer's locality. The operation specification or an active capability/extension defines its effects. A common example in retail shopping is the default home store ID selected and saved by the user when purchasing groceries." + }, + "intent": { + "type": "string", + "description": "Background context describing buyer's intent (e.g., 'looking for a gift under $50', 'need something durable for outdoor use'). Informs relevance, recommendations, and personalization." + }, + "language": { + "type": "string", + "description": "Preferred language for content. Use IETF BCP 47 language tags (e.g., 'en', 'fr-CA', 'zh-Hans'). For REST, equivalent to Accept-Language header—platforms SHOULD fall back to Accept-Language when this field is absent; when provided, overrides Accept-Language. Businesses MAY return content in a different language if unavailable." + }, + "currency": { + "type": "string", + "description": "Preferred currency (ISO 4217, e.g., 'EUR', 'USD'). Businesses determine presentment currency from context and authoritative signals; this hint MAY inform selection in multi-currency markets. Also serves as the denomination for price filter values — platforms SHOULD include this field when sending price filters. Response prices include explicit currency confirming the resolution." + }, + "eligibility": { + "type": "array", + "description": "Buyer claims about eligible benefits such as loyalty membership, payment instrument perks, and similar. Recognized claims MAY inform the Business response (e.g., member-only product availability, adjusted pricing in catalog, provisional discounts at cart or checkout). Businesses MUST ignore unrecognized values without error. Values MUST use reverse-domain naming (e.g., 'com.example.loyalty_gold', 'org.school.student') and MUST be non-identifying.", + "uniqueItems": true, + "items": { + "$ref": "reverse_domain_name.json" + } + }, + "payment": { + "type": "array", + "description": "Buyer-preferred payment handlers in priority order (most preferred first). Each entry names a handler advertised in the Business profile's `ucp.payment_handlers`, optionally narrowed to preferred instrument types. The Business SHOULD use it to preselect or prioritize the handler (and type, when given) and MAY ignore unavailable or ineligible entries; unrecognized values MUST be ignored without error.", + "items": { + "type": "object", + "required": ["handler"], + "properties": { + "handler": { + "$ref": "reverse_domain_name.json", + "description": "Handler registry key advertised in the Business profile's `ucp.payment_handlers`." + }, + "types": { + "type": "array", + "description": "Optional preferred instrument types for this handler, in priority order, aligned with the handler's advertised `payment_instrument.type` values (for example `card` or `bank`). Unrecognized values MUST be ignored.", + "items": { "type": "string" } + } + } + } + } + } + } + ] +} diff --git a/protocol/schemas/shopping/types/instrument_group.json b/protocol/schemas/common/types/instrument_group.json similarity index 92% rename from protocol/schemas/shopping/types/instrument_group.json rename to protocol/schemas/common/types/instrument_group.json index 8501de66c..f6a558240 100644 --- a/protocol/schemas/shopping/types/instrument_group.json +++ b/protocol/schemas/common/types/instrument_group.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/instrument_group.json", + "$id": "https://ucp.dev/schemas/common/types/instrument_group.json", "title": "Instrument Group", "description": "A constraint within an allowed combination that defines which instrument types can fill this group and how many are permitted.", "type": "object", diff --git a/protocol/schemas/common/types/locality.json b/protocol/schemas/common/types/locality.json new file mode 100644 index 000000000..daa47a58e --- /dev/null +++ b/protocol/schemas/common/types/locality.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/locality.json", + "title": "Locality", + "description": "A coarse geographic location — country, region, and postal code. A lightweight alternative to a full postal address.", + "type": "object", + "additionalProperties": true, + "properties": { + "address_country": { + "type": "string", + "description": "The country, as a 2-letter ISO 3166-1 alpha-2 code (e.g. \"US\"). A 3-letter alpha-3 code or full country name MAY also be used." + }, + "address_region": { + "type": "string", + "description": "The first-level administrative region within the country (e.g. a state or province such as California)." + }, + "postal_code": { + "type": "string", + "description": "The postal code (e.g. \"94043\")." + } + } +} diff --git a/protocol/schemas/common/types/location_summary.json b/protocol/schemas/common/types/location_summary.json new file mode 100644 index 000000000..9bb5f2d6c --- /dev/null +++ b/protocol/schemas/common/types/location_summary.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/location_summary.json", + "title": "Location Summary", + "description": "A summary of a physical business location.", + "type": "object", + "required": ["id", "name"], + "additionalProperties": true, + "properties": { + "id": { + "type": "string", + "description": "Stable, opaque, Business-scoped Location identifier.", + "ucp_request": "required" + }, + "name": { + "type": "string", + "description": "Buyer-facing, Business-owned display name.", + "ucp_request": "omit" + }, + "address": { + "$ref": "postal_address.json", + "description": "Physical address of the location.", + "ucp_request": "omit" + } + } +} diff --git a/protocol/schemas/common/types/measure.json b/protocol/schemas/common/types/measure.json new file mode 100644 index 000000000..ca23bdb94 --- /dev/null +++ b/protocol/schemas/common/types/measure.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/measure.json", + "title": "Measure", + "description": "A measure composed of an integer value and a unit descriptor. Its value is the integer count of `10^-scale` units of `unit`.", + "allOf": [ + { + "$ref": "unit.json" + }, + { + "type": "object", + "required": ["value"], + "properties": { + "value": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991, + "description": "Integer count of `10^-scale` units of `unit`." + } + } + } + ] +} diff --git a/protocol/schemas/common/types/message_error.json b/protocol/schemas/common/types/message_error.json index 35533ce2a..7d9ad6d06 100644 --- a/protocol/schemas/common/types/message_error.json +++ b/protocol/schemas/common/types/message_error.json @@ -20,7 +20,7 @@ }, "path": { "type": "string", - "description": "RFC 9535 JSONPath to the component the message refers to (e.g., $.items[1])." + "description": "RFC 9535 JSONPath to the component the message refers to (e.g., $.line_items[0])." }, "content_type": { "type": "string", @@ -43,7 +43,7 @@ "requires_buyer_review", "unrecoverable" ], - "description": "Reflects the resource state and recommended action. 'recoverable': platform can resolve by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires information their API doesn't support collecting programmatically (checkout incomplete). 'requires_buyer_review': buyer must authorize before order placement due to policy, regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, retry with new resource or inputs. Errors with 'requires_*' severity contribute to 'status: requires_escalation'." + "description": "Reflects the resource state and recommended action. 'recoverable': platform can resolve the condition in band, for example by modifying inputs or processing a related Action, and submit a new operation when needed. 'requires_buyer_input': merchant requires information their API doesn't support collecting programmatically (checkout incomplete). 'requires_buyer_review': buyer must authorize before order placement due to policy, regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, retry with new resource or inputs. Errors with 'requires_*' severity contribute to 'status: requires_escalation'." } } } diff --git a/protocol/schemas/common/types/message_info.json b/protocol/schemas/common/types/message_info.json index 74ee2986b..7ca54d04d 100644 --- a/protocol/schemas/common/types/message_info.json +++ b/protocol/schemas/common/types/message_info.json @@ -15,7 +15,7 @@ }, "path": { "type": "string", - "description": "RFC 9535 JSONPath to the component the message refers to." + "description": "RFC 9535 JSONPath to the component the message refers to (e.g., $.line_items[0])." }, "code": { "$ref": "info_code.json" diff --git a/protocol/schemas/common/types/message_warning.json b/protocol/schemas/common/types/message_warning.json index a87400740..92f034723 100644 --- a/protocol/schemas/common/types/message_warning.json +++ b/protocol/schemas/common/types/message_warning.json @@ -16,7 +16,7 @@ }, "path": { "type": "string", - "description": "JSONPath (RFC 9535) to related field (e.g., $.line_items[0])." + "description": "RFC 9535 JSONPath to the component the message refers to (e.g., $.line_items[0])." }, "code": { "$ref": "warning_code.json" diff --git a/protocol/schemas/common/types/pagination.json b/protocol/schemas/common/types/pagination.json index a2508088f..18d8244a9 100644 --- a/protocol/schemas/common/types/pagination.json +++ b/protocol/schemas/common/types/pagination.json @@ -16,8 +16,7 @@ "limit": { "type": "integer", "minimum": 1, - "default": 10, - "description": "Requested page size. Implementations MAY clamp to a lower maximum." + "description": "Requested page size, not a guaranteed result count. When omitted, the Business MUST apply a default page size. A default of 10 is RECOMMENDED, but the Business MAY choose another value. The Business MAY return fewer results than the requested or default page size, including when enforcing its maximum page size. A Platform MUST NOT assume that the response count equals either value." } } }, diff --git a/protocol/schemas/shopping/payment.json b/protocol/schemas/common/types/payment.json similarity index 78% rename from protocol/schemas/shopping/payment.json rename to protocol/schemas/common/types/payment.json index e572e0646..088e859ff 100644 --- a/protocol/schemas/shopping/payment.json +++ b/protocol/schemas/common/types/payment.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/payment.json", + "$id": "https://ucp.dev/schemas/common/types/payment.json", "title": "Payment", "description": "Payment configuration containing handlers.", "type": "object", @@ -8,7 +8,7 @@ "instruments": { "type": "array", "items": { - "$ref": "types/payment_instrument.json#/$defs/selected_payment_instrument" + "$ref": "payment_instrument.json#/$defs/selected_payment_instrument" }, "description": "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." } diff --git a/protocol/schemas/shopping/types/payment_credential.json b/protocol/schemas/common/types/payment_credential.json similarity index 86% rename from protocol/schemas/shopping/types/payment_credential.json rename to protocol/schemas/common/types/payment_credential.json index d7be3a0a8..c60e7be49 100644 --- a/protocol/schemas/shopping/types/payment_credential.json +++ b/protocol/schemas/common/types/payment_credential.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/payment_credential.json", + "$id": "https://ucp.dev/schemas/common/types/payment_credential.json", "title": "Payment Credential", "description": "The base definition for any payment credential. Handlers define specific credential types.", "type": "object", diff --git a/protocol/schemas/shopping/types/payment_identity.json b/protocol/schemas/common/types/payment_identity.json similarity index 71% rename from protocol/schemas/shopping/types/payment_identity.json rename to protocol/schemas/common/types/payment_identity.json index 01c3ed387..b7b90d1bf 100644 --- a/protocol/schemas/shopping/types/payment_identity.json +++ b/protocol/schemas/common/types/payment_identity.json @@ -1,8 +1,8 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/payment_identity.json", + "$id": "https://ucp.dev/schemas/common/types/payment_identity.json", "title": "Payment Identity", - "description": "Identity of a participant for token binding. The access_token uniquely identifies the participant who tokens should be bound to.", + "description": "Identity of a participant for token binding. The access_token uniquely identifies the participant whom tokens should be issued to.", "type": "object", "required": ["access_token"], "properties": { diff --git a/protocol/schemas/shopping/types/payment_instrument.json b/protocol/schemas/common/types/payment_instrument.json similarity index 79% rename from protocol/schemas/shopping/types/payment_instrument.json rename to protocol/schemas/common/types/payment_instrument.json index 1d70fda36..830188577 100644 --- a/protocol/schemas/shopping/types/payment_instrument.json +++ b/protocol/schemas/common/types/payment_instrument.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/payment_instrument.json", + "$id": "https://ucp.dev/schemas/common/types/payment_instrument.json", "title": "Payment Instrument", "description": "The base definition for any payment instrument. It links the instrument to a specific payment handler.", "type": "object", @@ -12,7 +12,7 @@ "properties": { "id": { "type": "string", - "description": "A unique identifier for this instrument instance, assigned by the platform." + "description": "A unique identifier for this instrument instance. Typically assigned by the platform for instruments it collects. For a business-owned saved instrument returned on an identity-linked response, this identifier is assigned by the business; the platform MUST treat it as an opaque, business-scoped reference, and the business resolves it server-side when the buyer selects it." }, "handler_id": { "type": "string", @@ -23,7 +23,7 @@ "description": "The broad category of the instrument (e.g., 'card', 'tokenized_card'). Specific schemas will constrain this to a constant value." }, "billing_address": { - "$ref": "../../common/types/postal_address.json", + "$ref": "postal_address.json", "description": "The billing address associated with this payment method." }, "credential": { diff --git a/protocol/schemas/common/types/policy.json b/protocol/schemas/common/types/policy.json new file mode 100644 index 000000000..40d28b1e7 --- /dev/null +++ b/protocol/schemas/common/types/policy.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/policy.json", + "title": "Policy", + "description": "A durable business rule about the items in a response — return/refund terms, warranty, and the like — at the time of purchase. Every policy carries a `type` (an open reverse-DNS vocabulary) and a `description` so a platform can present it without understanding its type-specific fields; type-specific fields (gated by `type`) add structured context for platforms that model that type. Policies are reference data; the obligation to display a term to the buyer is carried by a `messages[]` warning whose `code` equals the policy `type` — see the Policies section of the specification.", + "type": "object", + "required": [ + "type", + "description" + ], + "additionalProperties": true, + "properties": { + "type": { + "$ref": "reverse_domain_name.json", + "description": "Policy type discriminator. Open reverse-DNS vocabulary. Well-known values: `dev.ucp.shopping.policy.return` (return terms), `dev.ucp.shopping.policy.warranty` (warranty terms). Businesses MAY define custom types in their own domain (e.g., `com.example.policy.price_match`). Platforms MUST tolerate unknown values." + }, + "description": { + "$ref": "description.json", + "description": "Human-readable policy summary in one or more formats (plain, markdown, html). Required on every policy so a platform can present it without understanding any type-specific fields. This is not the buyer-facing disclosure — display is compelled by a `messages[]` warning (see the Policies section)." + }, + "applies_to": { + "type": "array", + "items": { + "type": "string" + }, + "description": "RFC 9535 JSONPath expressions identifying the nodes this policy applies to, relative to the embedding response root (e.g., `$.line_items[0]` in cart/checkout, `$.products[2]` in catalog). Each target covers the node it names and everything nested under it, so a target on a product also covers its variants. A singular query (RFC 9535 Section 2.3.5.1; name and index selectors only) names a single node; filters, wildcards, and slices match a set. When omitted, the policy applies to the entire response. When policies of the same `type` contest a node, the narrowest target wins and overrides the rest. See the Policies section for how specificity resolves." + }, + "url": { + "type": "string", + "format": "uri", + "description": "Optional link to the full policy document." + } + } +} diff --git a/protocol/schemas/shopping/types/price_filter.json b/protocol/schemas/common/types/price_filter.json similarity index 82% rename from protocol/schemas/shopping/types/price_filter.json rename to protocol/schemas/common/types/price_filter.json index 9b3cac876..eb1fe7bac 100644 --- a/protocol/schemas/shopping/types/price_filter.json +++ b/protocol/schemas/common/types/price_filter.json @@ -1,16 +1,16 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/price_filter.json", + "$id": "https://ucp.dev/schemas/common/types/price_filter.json", "title": "Price Filter", "description": "Price range filter denominated in context.currency. When context.currency matches the presentment currency, businesses apply the filter directly. When it differs, businesses SHOULD convert filter values to the presentment currency before applying; if conversion is not supported, businesses MAY ignore the filter and SHOULD indicate this via a message. When context.currency is absent, filter denomination is ambiguous and businesses MAY ignore it.", "type": "object", "properties": { "min": { - "$ref": "../../common/types/amount.json", + "$ref": "amount.json", "description": "Minimum price in ISO 4217 minor units." }, "max": { - "$ref": "../../common/types/amount.json", + "$ref": "amount.json", "description": "Maximum price in ISO 4217 minor units." } } diff --git a/protocol/schemas/shopping/types/price_range.json b/protocol/schemas/common/types/price_range.json similarity index 63% rename from protocol/schemas/shopping/types/price_range.json rename to protocol/schemas/common/types/price_range.json index e3e48d6e7..fe9594b97 100644 --- a/protocol/schemas/shopping/types/price_range.json +++ b/protocol/schemas/common/types/price_range.json @@ -1,8 +1,8 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/price_range.json", + "$id": "https://ucp.dev/schemas/common/types/price_range.json", "title": "Price Range", - "description": "A price range representing minimum and maximum values (e.g., across product variants).", + "description": "A price range representing minimum and maximum values (e.g., a common example in retail shopping is when prices vary across product variants).", "type": "object", "required": [ "min", @@ -10,11 +10,11 @@ ], "properties": { "min": { - "$ref": "../../common/types/price.json", + "$ref": "price.json", "description": "Minimum price in the range." }, "max": { - "$ref": "../../common/types/price.json", + "$ref": "price.json", "description": "Maximum price in the range." } } diff --git a/protocol/schemas/common/types/quantity_unit.json b/protocol/schemas/common/types/quantity_unit.json new file mode 100644 index 000000000..17e3848b9 --- /dev/null +++ b/protocol/schemas/common/types/quantity_unit.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/quantity_unit.json", + "title": "Quantity Unit", + "description": "Sale-basis descriptor for quantities: the shared unit descriptor plus the Business's ordering policy. Its unit-descriptor machine identity remains (`unit`, effective `scale`); `display_text` and `increment` are excluded from identity and mismatch comparison.", + "allOf": [ + { + "$ref": "unit.json" + }, + { + "type": "object", + "properties": { + "increment": { + "type": "integer", + "minimum": 1, + "default": 1, + "description": "Ordering granularity, denominated in steps: the Business sells this item in integer multiples of `increment` steps. Its effective value is the provided value or 1. Advisory merchandising policy, not a representational bound: Platform-authored quantities SHOULD be integer multiples of the effective increment; the Business MAY accept, revise, or reject an off-increment request with a recoverable business outcome and MUST NOT silently reinterpret it. Business-authored quantities (checkout revisions, fulfillment events, adjustments) are bounded only by `scale`." + } + } + } + ] +} diff --git a/protocol/schemas/common/types/request_constraints.json b/protocol/schemas/common/types/request_constraints.json new file mode 100644 index 000000000..4c9b08fda --- /dev/null +++ b/protocol/schemas/common/types/request_constraints.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/request_constraints.json", + "title": "Request Constraints", + "description": "Binds the shared Constraint Expression grammar to data in the next UCP request to the same resource.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "A complete RFC 9535 JSONPath query evaluated against the next logical UCP request to the same resource." + }, + "required": { + "type": "array", + "description": "Property names required by the constrained object. Must be non-empty: an empty array applies no constraint.", + "minItems": 1, + "uniqueItems": true, + "items": { + "type": "string" + } + }, + "properties": { + "type": "object", + "description": "Constraints keyed by property name. Must be non-empty: an empty object applies no constraint.", + "minProperties": 1, + "additionalProperties": { + "oneOf": [ + {"$ref": "constraint_expression.json"}, + {"$ref": "constraint_expression.json#/$defs/value_constraint"} + ] + } + }, + "anyOf": { + "type": "array", + "description": "Alternative Object Constraints. The constrained object must satisfy at least one. A branch must be non-empty: an empty branch is satisfied by every object and neutralizes the alternation.", + "minItems": 1, + "items": {"$ref": "constraint_expression.json", "minProperties": 1} + } + }, + "additionalProperties": false +} diff --git a/protocol/schemas/common/types/reverse_domain_name.json b/protocol/schemas/common/types/reverse_domain_name.json index e328935ba..b76532f6f 100644 --- a/protocol/schemas/common/types/reverse_domain_name.json +++ b/protocol/schemas/common/types/reverse_domain_name.json @@ -2,7 +2,16 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://ucp.dev/schemas/common/types/reverse_domain_name.json", "title": "Reverse Domain Name", - "description": "Reverse-domain identifier used for collision-safe namespacing of capabilities, services, handlers, eligibility claims, and extension-contributed keys. Must contain at least two dot-separated segments (e.g., 'dev.ucp.shopping.checkout', 'com.example.loyalty_gold').", + "description": "Reverse-domain identifier used for collision-safe namespacing of capabilities, services, handlers, eligibility claims, and extension-contributed keys. Must contain at least two dot-separated segments (e.g., 'dev.ucp.shopping.checkout', 'com.example.loyalty_gold'). Segments after the first are domain- or identifier-derived: they may contain interior hyphens, may start with a digit, and may contain underscores (e.g., 'com.example-shop.checkout', 'com.2example.cart', 'dev.ucp.common.identity_linking'), but must not start or end with a hyphen. The first segment (the reversed top-level domain) is letters and digits, and may contain interior hyphens to support internationalized (punycode) top-level domains such as 'xn--p1ai'.", "type": "string", - "pattern": "^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$" + "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$", + "examples": [ + "dev.ucp.shopping.checkout", + "dev.ucp.common.identity_linking", + "com.example.loyalty_gold", + "com.example-shop.checkout", + "com.2example.cart", + "uk.co.example-shop.checkout", + "xn--p1ai.example.checkout" + ] } diff --git a/protocol/schemas/shopping/types/signals.json b/protocol/schemas/common/types/signals.json similarity index 88% rename from protocol/schemas/shopping/types/signals.json rename to protocol/schemas/common/types/signals.json index 874823290..367c48756 100644 --- a/protocol/schemas/shopping/types/signals.json +++ b/protocol/schemas/common/types/signals.json @@ -1,11 +1,11 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/signals.json", + "$id": "https://ucp.dev/schemas/common/types/signals.json", "title": "Signals", "description": "Environment data provided by the platform to support authorization and abuse prevention. Values MUST NOT be buyer-asserted claims — platforms provide signals based on direct observation or independently verifiable third-party attestations. All signal keys MUST use reverse-domain naming to ensure provenance and prevent collisions when multiple extensions contribute to the shared namespace.", "type": "object", "propertyNames": { - "pattern": "^[a-z][a-z0-9]*(?:\\.[a-z][a-z0-9_]*)+$", + "$ref": "reverse_domain_name.json", "description": "Reverse-domain identifier (e.g., dev.ucp.buyer_ip, com.example.device_id)." }, "properties": { diff --git a/protocol/schemas/common/types/signed_amount.json b/protocol/schemas/common/types/signed_amount.json index fc0d64917..590e78705 100644 --- a/protocol/schemas/common/types/signed_amount.json +++ b/protocol/schemas/common/types/signed_amount.json @@ -3,5 +3,7 @@ "$id": "https://ucp.dev/schemas/common/types/signed_amount.json", "title": "Signed Amount", "description": "Monetary amount in the currency's minor unit as defined by ISO 4217. Refer to the currency's exponent to determine minor-to-major ratio (e.g., 2 for USD, 0 for JPY, 3 for KWD). May be negative — the sign is intrinsic to the value (e.g., discounts are negative, charges are positive).", - "type": "integer" + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 } diff --git a/protocol/schemas/shopping/types/token_credential.json b/protocol/schemas/common/types/token_credential.json similarity index 90% rename from protocol/schemas/shopping/types/token_credential.json rename to protocol/schemas/common/types/token_credential.json index aa0cde381..c338e37e1 100644 --- a/protocol/schemas/shopping/types/token_credential.json +++ b/protocol/schemas/common/types/token_credential.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/token_credential.json", + "$id": "https://ucp.dev/schemas/common/types/token_credential.json", "title": "Token Credential", "description": "Base token credential schema. Concrete payment handlers may extend this schema with additional fields and define their own constraints.", "allOf": [ diff --git a/protocol/schemas/shopping/types/total.json b/protocol/schemas/common/types/total.json similarity index 90% rename from protocol/schemas/shopping/types/total.json rename to protocol/schemas/common/types/total.json index 42b1c9c00..9e75406c9 100644 --- a/protocol/schemas/shopping/types/total.json +++ b/protocol/schemas/common/types/total.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/total.json", + "$id": "https://ucp.dev/schemas/common/types/total.json", "title": "Total", "description": "A cost breakdown entry with a category, amount, and optional display text.", "type": "object", @@ -20,7 +20,7 @@ "ucp_request": "omit" }, "amount": { - "$ref": "../../common/types/signed_amount.json", + "$ref": "signed_amount.json", "ucp_request": "omit" } }, diff --git a/protocol/schemas/shopping/types/totals.json b/protocol/schemas/common/types/totals.json similarity index 93% rename from protocol/schemas/shopping/types/totals.json rename to protocol/schemas/common/types/totals.json index 693d98668..f4ba02941 100644 --- a/protocol/schemas/shopping/types/totals.json +++ b/protocol/schemas/common/types/totals.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/totals.json", + "$id": "https://ucp.dev/schemas/common/types/totals.json", "title": "Totals", "description": "Pricing breakdown provided by the business. MUST contain exactly one subtotal and one total entry. Detail types (tax, fee, discount, fulfillment) may appear multiple times for itemization. Platforms MUST render all entries in order using display_text and amount.", "type": "array", @@ -26,7 +26,7 @@ "description": "Human-readable label for this sub-line." }, "amount": { - "$ref": "../../common/types/signed_amount.json" + "$ref": "signed_amount.json" } }, "description": "Sub-line entry. Additional metadata MAY be included." diff --git a/protocol/schemas/common/types/unit.json b/protocol/schemas/common/types/unit.json new file mode 100644 index 000000000..60015f152 --- /dev/null +++ b/protocol/schemas/common/types/unit.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/common/types/unit.json", + "title": "Unit", + "description": "A reusable unit descriptor for quantities and measures. Its unit-descriptor machine identity is (`unit`, effective `scale`), where effective `scale` is the provided `scale` or 0; `display_text` is excluded.", + "type": "object", + "required": ["unit", "display_text"], + "properties": { + "unit": { + "type": "string", + "description": "Stable machine identifier. The Business SHOULD use the exact UN/CEFACT Rec20 Common Code when one accurately identifies the unit. Otherwise, the Business MAY use a custom unit identifier and MUST use it consistently for the same unit. The Platform MUST treat an unrecognized identifier as opaque." + }, + "scale": { + "type": "integer", + "minimum": 0, + "maximum": 15, + "default": 0, + "description": "One step equals `10^-scale` of `unit`. When `unit` is `C62`, `scale`, if present, MUST be 0. The maximum of 15 is derived from the interoperable integer range: at scale 16 a single whole unit (10^16 steps) is no longer representable, so larger scales cannot denominate one unit of their own basis. Businesses needing finer granularity use a smaller unit." + }, + "display_text": { + "type": "string", + "description": "Required printable unit label provided by the Business. The Platform MUST use it when it does not recognize `unit`; for a recognized UN/CEFACT Rec 20 Common Code, the Platform MAY substitute its own localized label. It does not participate in unit identity or mismatch comparison." + } + }, + "allOf": [ + { + "if": { + "properties": { + "unit": { "const": "C62" } + }, + "required": ["unit"] + }, + "then": { + "properties": { + "scale": { "const": 0 } + } + } + } + ] +} diff --git a/protocol/schemas/common/types/warning_code.json b/protocol/schemas/common/types/warning_code.json index 4cf544038..59071de89 100644 --- a/protocol/schemas/common/types/warning_code.json +++ b/protocol/schemas/common/types/warning_code.json @@ -8,6 +8,7 @@ "final_sale", "prop65", "fulfillment_changed", + "payment_term_changed", "age_restricted" ] } diff --git a/protocol/schemas/payment_handler.json b/protocol/schemas/payment_handler.json index 205a8ef76..14ce296e6 100644 --- a/protocol/schemas/payment_handler.json +++ b/protocol/schemas/payment_handler.json @@ -17,7 +17,7 @@ "properties": { "available_instruments": { "type": "array", - "items": { "$ref": "shopping/types/available_payment_instrument.json" }, + "items": { "$ref": "common/types/available_payment_instrument.json" }, "description": "Instrument types this handler supports, with optional constraints. When absent, every instrument should be considered available.", "minItems": 1 } diff --git a/protocol/schemas/profile.json b/protocol/schemas/profile.json index 040994594..cb5699a8f 100644 --- a/protocol/schemas/profile.json +++ b/protocol/schemas/profile.json @@ -8,39 +8,68 @@ "$defs": { "jwk_public_key": { "type": "object", - "description": "EC public JSON Web Key used for HTTP Message Signatures and signed webhook verification. UCP profiles publish public keys only; private key material MUST NOT appear in a profile. Additional public JWK members are permitted; consumers ignore unknown members.", - "required": ["kid", "kty", "crv", "x", "y"], + "description": "Public JSON Web Key used for HTTP Message Signatures and signed webhook verification. UCP profiles publish public keys only; private key material MUST NOT appear in a profile. Well-known key types: EC (ECDSA P-256, P-384) and OKP (EdDSA Ed25519); OKP keys are RECOMMENDED for signers opting into Web Bot Auth (WBA) interop on HTTP transport. A single profile MAY publish keys of either or both types; consumers select keys by kid. The kty, crv, and alg vocabularies are OPEN: verifiers MUST tolerate key types, curves, and algorithms they do not recognize, selecting keys by kid at verification time. An unsupported key affects only the signature that references it (algorithm_unsupported) and MUST NOT cause whole-profile rejection. Additional public JWK members are permitted; consumers ignore unknown members.", + "required": ["kid", "kty"], "properties": { "kid": { "type": "string", - "description": "Key identifier referenced by Signature-Input keyid." + "description": "Key identifier referenced by Signature-Input keyid. For keys used in dual-audience (Web Bot Auth) signatures, the kid MUST be the key's JWK SHA-256 Thumbprint (RFC 7638) so UCP-Agent and Signature-Agent lookups resolve the same key; otherwise the kid MAY be any stable string." }, "kty": { "type": "string", - "const": "EC", - "description": "JWK key type. UCP profile signing keys use EC." + "examples": ["EC", "OKP"], + "description": "JWK key type. Well-known values: EC for ECDSA (P-256, P-384); OKP for EdDSA (Ed25519). Open vocabulary; verifiers tolerate unrecognized types and select keys by kid." }, "crv": { "type": "string", - "description": "Elliptic curve name, e.g. P-256 or P-384." + "examples": ["P-256", "P-384", "Ed25519"], + "description": "Curve name. Well-known values: P-256, P-384 (EC); Ed25519 (OKP). Open vocabulary." }, "x": { "type": "string", - "description": "Public key x coordinate for EC keys." + "description": "Public key value, base64url-encoded. For EC, the x coordinate (RFC 7518 §6.2); for OKP, the public key (RFC 8037 §2)." }, "y": { "type": "string", - "description": "Public key y coordinate for EC keys." + "description": "EC public key y coordinate, base64url-encoded (RFC 7518 §6.2). Not used by OKP keys." }, - "use": { + "alg": { "type": "string", - "description": "JWK public key use. UCP examples use sig for signatures." + "examples": ["ES256", "ES384", "EdDSA"], + "description": "JWA algorithm associated with this public key. Optional; verifiers derive the algorithm from crv when alg is omitted. When present for a well-known curve it MUST match: ES256 with P-256, ES384 with P-384, EdDSA with Ed25519." }, - "alg": { + "use": { "type": "string", - "description": "JWA algorithm associated with this public key." + "description": "JWK public key use. UCP examples use sig for signatures." } }, + "allOf": [ + { + "title": "EC keys carry crv, x, y", + "if": { "properties": { "kty": { "const": "EC" } }, "required": ["kty"] }, + "then": { "required": ["crv", "x", "y"] } + }, + { + "title": "OKP keys carry crv, x", + "if": { "properties": { "kty": { "const": "OKP" } }, "required": ["kty"] }, + "then": { "required": ["crv", "x"] } + }, + { + "title": "P-256 pairs with ES256", + "if": { "properties": { "crv": { "const": "P-256" } }, "required": ["crv"] }, + "then": { "properties": { "alg": { "const": "ES256" } } } + }, + { + "title": "P-384 pairs with ES384", + "if": { "properties": { "crv": { "const": "P-384" } }, "required": ["crv"] }, + "then": { "properties": { "alg": { "const": "ES384" } } } + }, + { + "title": "Ed25519 pairs with EdDSA", + "if": { "properties": { "crv": { "const": "Ed25519" } }, "required": ["crv"] }, + "then": { "properties": { "alg": { "const": "EdDSA" } } } + } + ], "not": { "anyOf": [ { "required": ["d"] }, @@ -65,9 +94,9 @@ "$ref": "ucp.json#/$defs/base", "description": "Protocol metadata, capabilities, services, and payment handlers advertised by this party." }, - "signing_keys": { + "keys": { "type": "array", - "description": "Public keys used to verify signatures from this profile owner.", + "description": "Canonical UCP profile field for publishing signing keys, as a JWK Set per RFC 7517. When a profile publishes signing keys, they MUST appear here; this is where every UCP verifier reads them. Publishing keys[] makes the UCP profile a valid JWK Set that a signer can reuse as its Web Bot Auth key source: a WBA-shape verifier resolving via Signature-Agent type=jwks_uri pointed at this profile reads these keys, and the cimd and directory variants reach them through their own documents. See the Deployment Patterns for WBA Interop section in the overview for hosting patterns.", "items": { "$ref": "#/$defs/jwk_public_key" } } }, diff --git a/protocol/schemas/service.json b/protocol/schemas/service.json index 88f645698..880875145 100644 --- a/protocol/schemas/service.json +++ b/protocol/schemas/service.json @@ -2,7 +2,7 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://ucp.dev/schemas/service.json", "title": "UCP Service", - "description": "Service binding for a specific transport. Each transport binding is a separate entry in the service array.", + "description": "Service declaration with one transport binding. Each transport binding is a separate entry in the service array; `version` identifies the service, not the transport.", "$defs": { "base": { diff --git a/protocol/schemas/shopping/buyer_consent.json b/protocol/schemas/shopping/buyer_consent.json index 2edf9028b..7c58e0329 100644 --- a/protocol/schemas/shopping/buyer_consent.json +++ b/protocol/schemas/shopping/buyer_consent.json @@ -3,43 +3,107 @@ "$id": "https://ucp.dev/schemas/shopping/buyer_consent.json", "name": "dev.ucp.shopping.buyer_consent", "title": "Buyer Consent Extension", - "description": "Extends Checkout with buyer consent tracking for privacy compliance via the buyer object.", + "description": "Extends the buyer object with per-purpose consent. Each purpose is keyed by a reverse-DNS identifier and carries the current `granted` state, the `source` of that state (business default or platform-captured buyer decision), a `description`, optional `links`, and optional `segments` for finer-grained channel, vendor, or program decisions scoped to that purpose.", "$defs": { - "consent": { + "consent_purpose": { "type": "object", - "description": "User consent states for data processing", + "description": "A buyer's consent decision for a purpose (e.g., marketing, analytics). Carries the current binary state, its source (business default or platform-captured buyer decision), human-readable context, and optional refinements scoping the decision to specific channels, vendors, or programs.", + "required": ["granted", "source", "description"], "properties": { - "analytics": { + "granted": { "type": "boolean", - "description": "Consent for analytics and performance tracking." + "description": "Whether consent has been granted for this purpose. The `source` field identifies who asserted this state (business default or platform-captured buyer preference)." }, - "preferences": { - "type": "boolean", - "description": "Consent for storing user preferences." + "source": { + "type": "string", + "enum": ["business", "platform"], + "description": "Identifies the party that asserted the current `granted` value. `business` means the value reflects the business's default policy; `platform` means the value reflects an explicit buyer decision captured by the platform." }, - "marketing": { - "type": "boolean", - "description": "Consent for marketing communications." + "description": { + "type": "string", + "description": "Human-readable description of what the buyer is consenting to (e.g., 'Promotional communications across all channels').", + "ucp_request": "omit", + "ucp_response": "required" }, - "sale_of_data": { + "links": { + "type": "array", + "items": { "$ref": "../common/types/link.json" }, + "description": "Optional links providing context (e.g., privacy policy, terms).", + "ucp_request": "omit" + }, + "segments": { + "type": "object", + "description": "Optional refinements scoping this purpose to specific channels, vendors, or programs. Keys are reverse-DNS identifiers. UCP currently defines two well-known segment identifiers under `dev.ucp.consent.marketing`: `dev.ucp.consent.marketing.email`, `dev.ucp.consent.marketing.sms`. Other segments follow vendor or merchant reverse-DNS conventions.", + "propertyNames": { "$ref": "../common/types/reverse_domain_name.json" }, + "additionalProperties": { "$ref": "#/$defs/consent_segment" } + } + } + }, + "consent_segment": { + "type": "object", + "description": "A buyer's consent decision for a specific refinement of a parent purpose (e.g., email marketing under the marketing purpose). Overrides the parent's `granted` value for this scope. Segments do not nest further.", + "required": ["granted", "source", "description"], + "properties": { + "granted": { "type": "boolean", - "description": "Consent for selling data to third parties (CCPA)." + "description": "Whether consent has been granted for this segment. Overrides the parent purpose's `granted` value for this specific scope." + }, + "source": { + "type": "string", + "enum": ["business", "platform"], + "description": "Identifies the party that asserted the current `granted` value for this segment. `business` means the value reflects the business's default policy; `platform` means the value reflects an explicit buyer decision captured by the platform." + }, + "description": { + "type": "string", + "description": "Human-readable description of what the buyer is consenting to within this segment (e.g., 'Promotional emails and exclusive offers').", + "ucp_request": "omit", + "ucp_response": "required" + }, + "links": { + "type": "array", + "items": { "$ref": "../common/types/link.json" }, + "description": "Optional segment-specific links (e.g., channel terms or privacy disclosures).", + "ucp_request": "omit" } } }, + "consent": { + "type": "object", + "description": "Per-purpose consent. Keys are reverse-DNS purpose identifiers. UCP defines four well-known purposes: `dev.ucp.consent.marketing`, `dev.ucp.consent.analytics`, `dev.ucp.consent.preferences`, `dev.ucp.consent.sale_or_sharing`. Vendors and merchants may define additional purposes under their own reverse-DNS namespace.", + "propertyNames": { "$ref": "../common/types/reverse_domain_name.json" }, + "additionalProperties": { "$ref": "#/$defs/consent_purpose" } + }, "buyer": { "title": "Buyer with Consent", - "description": "Buyer object extended with consent tracking.", + "description": "Buyer object extended with per-purpose consent.", "allOf": [ - { - "$ref": "types/buyer.json" - }, + { "$ref": "types/buyer.json" }, { "type": "object", "properties": { "consent": { "$ref": "#/$defs/consent", - "description": "Consent tracking fields." + "description": "Per-purpose consent decisions and business-advertised consent options." + } + } + } + ] + }, + "dev.ucp.shopping.cart": { + "title": "Cart with Buyer Consent", + "description": "Cart extended with buyer consent.", + "allOf": [ + { "$ref": "cart.json" }, + { + "type": "object", + "properties": { + "buyer": { + "$ref": "#/$defs/buyer", + "description": "Buyer with consent tracking.", + "ucp_request": { + "create": "optional", + "update": "optional" + } } } } @@ -47,11 +111,9 @@ }, "dev.ucp.shopping.checkout": { "title": "Checkout with Buyer Consent", - "description": "Checkout extended with consent tracking via buyer object.", + "description": "Checkout extended with buyer consent.", "allOf": [ - { - "$ref": "checkout.json" - }, + { "$ref": "checkout.json" }, { "type": "object", "properties": { @@ -61,7 +123,7 @@ "ucp_request": { "create": "optional", "update": "optional", - "complete": "omit" + "complete": "optional" } } } diff --git a/protocol/schemas/shopping/cart.json b/protocol/schemas/shopping/cart.json index e7c451727..22300c887 100644 --- a/protocol/schemas/shopping/cart.json +++ b/protocol/schemas/shopping/cart.json @@ -45,10 +45,7 @@ "id": { "type": "string", "description": "Unique cart identifier.", - "ucp_request": { - "create": "omit", - "update": "required" - } + "ucp_request": "omit" }, "line_items": { "type": "array", @@ -56,40 +53,25 @@ "$ref": "types/line_item.json" }, "description": "Cart line items. Same structure as checkout. Full replacement on update.", - "ucp_request": { - "create": "required", - "update": "required" - } + "ucp_request": "required" }, "context": { - "$ref": "types/context.json", + "$ref": "../common/types/context.json", "description": "Buyer signals for localization (country, region, postal_code). Merchant uses for pricing, availability, currency. Falls back to geo-IP if omitted.", - "ucp_request": { - "create": "optional", - "update": "optional" - } + "ucp_request": "optional" }, "signals": { - "$ref": "types/signals.json", - "ucp_request": { - "create": "optional", - "update": "optional" - } + "$ref": "../common/types/signals.json", + "ucp_request": "optional" }, "attribution": { "$ref": "types/attribution.json", - "ucp_request": { - "create": "optional", - "update": "optional" - } + "ucp_request": "optional" }, "buyer": { "$ref": "types/buyer.json", "description": "Optional buyer information for personalized estimates.", - "ucp_request": { - "create": "optional", - "update": "optional" - } + "ucp_request": "optional" }, "currency": { "type": "string", @@ -97,10 +79,15 @@ "ucp_request": "omit" }, "totals": { - "$ref": "types/totals.json", + "$ref": "../common/types/totals.json", "description": "Estimated cost breakdown. May be partial if shipping/tax not yet calculable.", "ucp_request": "omit" }, + "actions": { + "$ref": "../common/types/actions.json", + "description": "Outstanding extension-defined Actions for this cart.", + "ucp_request": "omit" + }, "messages": { "type": "array", "items": { @@ -117,6 +104,14 @@ "description": "Optional merchant links (policies, FAQs).", "ucp_request": "omit" }, + "policies": { + "type": "array", + "items": { + "$ref": "../common/types/policy.json" + }, + "description": "Policies (e.g., return/refund terms) that apply to the items in this cart. `applies_to` targets are relative to the response root; when absent or empty, refer to the URLs in `links[]`.", + "ucp_request": "omit" + }, "continue_url": { "type": "string", "format": "uri", diff --git a/protocol/schemas/shopping/catalog_lookup.json b/protocol/schemas/shopping/catalog_lookup.json index 2fe7e657a..110d5f6eb 100644 --- a/protocol/schemas/shopping/catalog_lookup.json +++ b/protocol/schemas/shopping/catalog_lookup.json @@ -39,10 +39,10 @@ "description": "Filter criteria to narrow returned products and variants. All specified filters combine with AND logic." }, "context": { - "$ref": "types/context.json" + "$ref": "../common/types/context.json" }, "signals": { - "$ref": "types/signals.json" + "$ref": "../common/types/signals.json" }, "attribution": { "$ref": "types/attribution.json" @@ -75,12 +75,24 @@ }, "description": "Products matching the requested identifiers. May contain fewer items if some identifiers not found, or more if identifiers match multiple products." }, + "actions": { + "$ref": "../common/types/actions.json", + "description": "Outstanding extension-defined Actions for this catalog lookup response.", + "ucp_request": "omit" + }, "messages": { "type": "array", "items": { "$ref": "../common/types/message.json" }, "description": "Errors, warnings, or informational messages about the requested items." + }, + "policies": { + "type": "array", + "items": { + "$ref": "../common/types/policy.json" + }, + "description": "Policies (e.g., return/refund terms) that apply to the products in this response. `applies_to` targets are relative to the response root; when absent or empty, refer to the URLs in `links[]`." } } }, @@ -112,10 +124,10 @@ "description": "Filter criteria to narrow returned variants. All specified filters combine with AND logic." }, "context": { - "$ref": "types/context.json" + "$ref": "../common/types/context.json" }, "signals": { - "$ref": "types/signals.json" + "$ref": "../common/types/signals.json" }, "attribution": { "$ref": "types/attribution.json" @@ -164,12 +176,24 @@ "$ref": "#/$defs/detail_product", "description": "The requested product with full detail. Singular — this is a single-resource operation." }, + "actions": { + "$ref": "../common/types/actions.json", + "description": "Outstanding extension-defined Actions for this product response.", + "ucp_request": "omit" + }, "messages": { "type": "array", "items": { "$ref": "../common/types/message.json" }, "description": "Warnings or informational messages about the product (e.g., price recently changed, limited availability)." + }, + "policies": { + "type": "array", + "items": { + "$ref": "../common/types/policy.json" + }, + "description": "Policies (e.g., return/refund terms) that apply to this product. `applies_to` targets are relative to the response root; when absent or empty, refer to the URLs in `links[]`." } } } diff --git a/protocol/schemas/shopping/catalog_search.json b/protocol/schemas/shopping/catalog_search.json index 46bdb2670..fdb6077f3 100644 --- a/protocol/schemas/shopping/catalog_search.json +++ b/protocol/schemas/shopping/catalog_search.json @@ -14,10 +14,10 @@ "description": "Free-text search query." }, "context": { - "$ref": "types/context.json" + "$ref": "../common/types/context.json" }, "signals": { - "$ref": "types/signals.json" + "$ref": "../common/types/signals.json" }, "attribution": { "$ref": "types/attribution.json" @@ -50,12 +50,24 @@ "pagination": { "$ref": "../common/types/pagination.json#/$defs/response" }, + "actions": { + "$ref": "../common/types/actions.json", + "description": "Outstanding extension-defined Actions for this catalog search response.", + "ucp_request": "omit" + }, "messages": { "type": "array", "items": { "$ref": "../common/types/message.json" }, "description": "Errors, warnings, or informational messages about the search results." + }, + "policies": { + "type": "array", + "items": { + "$ref": "../common/types/policy.json" + }, + "description": "Policies (e.g., return/refund terms) that apply to the products in these search results. `applies_to` targets are relative to the response root; when absent or empty, refer to the URLs in `links[]`." } } } diff --git a/protocol/schemas/shopping/checkout.json b/protocol/schemas/shopping/checkout.json index 7b5aa69d1..983e42972 100644 --- a/protocol/schemas/shopping/checkout.json +++ b/protocol/schemas/shopping/checkout.json @@ -47,7 +47,7 @@ } }, "context": { - "$ref": "types/context.json", + "$ref": "../common/types/context.json", "ucp_request": { "create": "optional", "update": "optional", @@ -55,7 +55,7 @@ } }, "signals": { - "$ref": "types/signals.json", + "$ref": "../common/types/signals.json", "ucp_request": "optional" }, "attribution": { @@ -72,7 +72,7 @@ "completed", "canceled" ], - "description": "Checkout state indicating the current phase and required action. See Checkout Status lifecycle documentation for state transition details.", + "description": "Checkout state indicating the current phase and required processing. See Checkout Status lifecycle documentation for state transition details.", "ucp_request": "omit" }, "currency": { @@ -81,10 +81,15 @@ "ucp_request": "omit" }, "totals": { - "$ref": "types/totals.json", + "$ref": "../common/types/totals.json", "description": "Different cart totals.", "ucp_request": "omit" }, + "actions": { + "$ref": "../common/types/actions.json", + "description": "Outstanding extension-defined Actions for this checkout.", + "ucp_request": "omit" + }, "messages": { "type": "array", "items": { @@ -101,6 +106,14 @@ "description": "Links to be displayed by the platform (Privacy Policy, TOS). Mandatory for legal compliance.", "ucp_request": "omit" }, + "policies": { + "type": "array", + "items": { + "$ref": "../common/types/policy.json" + }, + "description": "Policies (e.g., return/refund terms) that apply to the items in this checkout. `applies_to` targets are relative to the response root; when absent or empty, refer to the URLs in `links[]`.", + "ucp_request": "omit" + }, "expires_at": { "type": "string", "format": "date-time", @@ -114,7 +127,7 @@ "ucp_request": "omit" }, "payment": { - "$ref": "payment.json", + "$ref": "../common/types/payment.json", "ucp_request": { "create": "optional", "update": "optional", diff --git a/protocol/schemas/shopping/discount.json b/protocol/schemas/shopping/discount.json index 04c81dd0f..a0d48a74e 100644 --- a/protocol/schemas/shopping/discount.json +++ b/protocol/schemas/shopping/discount.json @@ -15,7 +15,7 @@ "properties": { "path": { "type": "string", - "description": "JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals.shipping')." + "description": "RFC 9535 JSONPath to the allocation target (e.g., '$.line_items[0]', '$.totals[?@.type == \"fulfillment\"]')." }, "amount": { "$ref": "../common/types/amount.json", diff --git a/protocol/schemas/shopping/fulfillment.json b/protocol/schemas/shopping/fulfillment.json index f2440168c..f88b29452 100644 --- a/protocol/schemas/shopping/fulfillment.json +++ b/protocol/schemas/shopping/fulfillment.json @@ -3,7 +3,7 @@ "$id": "https://ucp.dev/schemas/shopping/fulfillment.json", "name": "dev.ucp.shopping.fulfillment", "title": "Fulfillment Extension", - "description": "Extends Checkout with fulfillment support using methods, destinations, and groups.", + "description": "Extends Catalog with fulfillment discovery and Checkout with hierarchical fulfillment.", "$defs": { "fulfillment_option": { "$ref": "types/fulfillment_option.json" @@ -20,6 +20,190 @@ "fulfillment": { "$ref": "types/fulfillment.json" }, + "catalog_fulfillment_method": { + "title": "Catalog Fulfillment Method", + "description": "A fulfillment method on a catalog variant: how the variant can be fulfilled, and its availability.", + "type": "object", + "additionalProperties": true, + "required": ["type"], + "properties": { + "type": { + "type": "string", + "description": "Fulfillment method type. Well-known values: `shipping`, `pickup`. Businesses MAY use additional values." + }, + "description": { + "$ref": "../common/types/description.json", + "description": "Short buyer-facing summary (e.g. 'Ships in 2–4 business days')." + }, + "availability": { + "$ref": "types/availability.json", + "description": "Availability of this variant via this method at the specified or inferred location." + }, + "location": { + "type": "string", + "description": "Stable, opaque identifier for the Business Location resolved for this place-based fulfillment method. The Business recognizes the same ID when submitted as `selected_destination_id` for that method; recognition does not reserve inventory or guarantee eligibility, and current terms are revalidated." + }, + "options": { + "type": "array", + "description": "Representative fulfillment options for this method (e.g. Standard, Express). Without a destination or full cart, a Business SHOULD preview meaningful boundary options (e.g. cheapest, fastest); more specific options are negotiated in Checkout once line items and destination are known.", + "items": { "$ref": "types/fulfillment_option_base.json" } + } + } + }, + "catalog_fulfillment": { + "title": "Catalog Fulfillment", + "description": "How a catalog variant can be fulfilled. Mirrors checkout `fulfillment`.", + "type": "object", + "additionalProperties": true, + "properties": { + "methods": { + "type": "array", + "description": "Fulfillment methods for this variant.", + "items": { "$ref": "#/$defs/catalog_fulfillment_method" } + } + } + }, + "fulfillment_variant": { + "description": "A catalog variant with fulfillment.", + "allOf": [ + { "$ref": "types/variant.json" }, + { + "type": "object", + "properties": { + "fulfillment": { "$ref": "#/$defs/catalog_fulfillment" } + } + } + ] + }, + "fulfillment_product": { + "description": "A catalog product whose variants are fulfillment-enriched. Used by search.", + "allOf": [ + { "$ref": "types/product.json" }, + { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { "$ref": "#/$defs/fulfillment_variant" } + } + } + } + ] + }, + "fulfillment_lookup_variant": { + "description": "A lookup variant (carrying input correlation) enriched with fulfillment.", + "allOf": [ + { "$ref": "catalog_lookup.json#/$defs/lookup_variant" }, + { + "type": "object", + "properties": { + "fulfillment": { "$ref": "#/$defs/catalog_fulfillment" } + } + } + ] + }, + "fulfillment_lookup_product": { + "description": "A lookup product whose variants are fulfillment-enriched, preserving input correlation. Used by lookup.", + "allOf": [ + { "$ref": "types/product.json" }, + { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { "$ref": "#/$defs/fulfillment_lookup_variant" } + } + } + } + ] + }, + "fulfillment_detail_product": { + "description": "A get_product detail product (carrying selected/options availability signals) whose variants are fulfillment-enriched. Used by get_product.", + "allOf": [ + { "$ref": "catalog_lookup.json#/$defs/detail_product" }, + { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { "$ref": "#/$defs/fulfillment_variant" } + } + } + } + ] + }, + "fulfillment_search_filters": { + "description": "Catalog filters extended with a fulfillment destination filter and a method-type filter.", + "allOf": [ + { "$ref": "types/search_filters.json" }, + { + "type": "object", + "properties": { + "fulfills_to": { + "$ref": "types/fulfillment_destination_filter.json", + "description": "Explicit destination where items are fulfilled. It may differ from the locality or Business Location supplied in `context` (e.g. a gift delivered directly to the recipient). The filter restricts results to what can be fulfilled there and seeds method `availability`. It supersedes `context` only for fulfillment destination and availability resolution." + }, + "methods": { + "type": "array", + "items": { "type": "string" }, + "description": "Restrict results to these fulfillment method types (e.g. [\"pickup\"]). Well-known values: `shipping`, `pickup`." + } + } + } + ] + }, + "fulfillment_search_request": { + "allOf": [ + { "$ref": "catalog_search.json#/$defs/search_request" }, + { "type": "object", "properties": { "filters": { "$ref": "#/$defs/fulfillment_search_filters" } } } + ] + }, + "fulfillment_search_response": { + "allOf": [ + { "$ref": "catalog_search.json#/$defs/search_response" }, + { "type": "object", "properties": { "products": { "type": "array", "items": { "$ref": "#/$defs/fulfillment_product" } } } } + ] + }, + "fulfillment_lookup_request": { + "allOf": [ + { "$ref": "catalog_lookup.json#/$defs/lookup_request" }, + { "type": "object", "properties": { "filters": { "$ref": "#/$defs/fulfillment_search_filters" } } } + ] + }, + "fulfillment_lookup_response": { + "allOf": [ + { "$ref": "catalog_lookup.json#/$defs/lookup_response" }, + { "type": "object", "properties": { "products": { "type": "array", "items": { "$ref": "#/$defs/fulfillment_lookup_product" } } } } + ] + }, + "fulfillment_get_product_request": { + "allOf": [ + { "$ref": "catalog_lookup.json#/$defs/get_product_request" }, + { "type": "object", "properties": { "filters": { "$ref": "#/$defs/fulfillment_search_filters" } } } + ] + }, + "fulfillment_get_product_response": { + "allOf": [ + { "$ref": "catalog_lookup.json#/$defs/get_product_response" }, + { "type": "object", "properties": { "product": { "$ref": "#/$defs/fulfillment_detail_product" } } } + ] + }, + "dev.ucp.shopping.catalog.search": { + "description": "Catalog search composition with fulfillment (extends dev.ucp.shopping.catalog.search).", + "$defs": { + "search_request": { "$ref": "#/$defs/fulfillment_search_request" }, + "search_response": { "$ref": "#/$defs/fulfillment_search_response" } + } + }, + "dev.ucp.shopping.catalog.lookup": { + "description": "Catalog lookup composition with fulfillment (extends dev.ucp.shopping.catalog.lookup).", + "$defs": { + "lookup_request": { "$ref": "#/$defs/fulfillment_lookup_request" }, + "lookup_response": { "$ref": "#/$defs/fulfillment_lookup_response" }, + "get_product_request": { "$ref": "#/$defs/fulfillment_get_product_request" }, + "get_product_response": { "$ref": "#/$defs/fulfillment_get_product_response" } + } + }, "dev.ucp.shopping.checkout": { "title": "Checkout with Fulfillment", "description": "Checkout extended with hierarchical fulfillment.", diff --git a/protocol/schemas/shopping/order.json b/protocol/schemas/shopping/order.json index 51b0b41bc..f5ade18a9 100644 --- a/protocol/schemas/shopping/order.json +++ b/protocol/schemas/shopping/order.json @@ -93,9 +93,17 @@ "ucp_request": "omit" }, "totals": { - "$ref": "types/totals.json", + "$ref": "../common/types/totals.json", "description": "Different totals for the order." }, + "policies": { + "type": "array", + "items": { + "$ref": "../common/types/policy.json" + }, + "description": "Snapshot of the policies that applied to the items at checkout, captured on the order as a durable record. `applies_to` targets are relative to the response root.", + "ucp_request": "omit" + }, "messages": { "type": "array", "items": { diff --git a/protocol/schemas/shopping/types/account_info.json b/protocol/schemas/shopping/types/account_info.json deleted file mode 100644 index bcda6a247..000000000 --- a/protocol/schemas/shopping/types/account_info.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/account_info.json", - "title": "Payment Account Info", - "type": "object", - "description": "Non-sensitive backend identifiers for linking.", - "properties": { - "payment_account_reference": { - "type": "string", - "description": "EMVCo PAR. A unique identifier linking a payment card to a specific account, enabling tracking across tokens (Apple Pay, physical card, etc)." - } - } -} diff --git a/protocol/schemas/shopping/types/adjustment.json b/protocol/schemas/shopping/types/adjustment.json index c4fa91fbd..41d026908 100644 --- a/protocol/schemas/shopping/types/adjustment.json +++ b/protocol/schemas/shopping/types/adjustment.json @@ -45,7 +45,13 @@ }, "quantity": { "type": "integer", - "description": "Signed quantity affected by this adjustment. Negative values represent reductions (e.g. returns); positive values represent additions (e.g. exchanges)." + "minimum": -9007199254740991, + "maximum": 9007199254740991, + "description": "Signed integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × `unit`); when `quantity_unit` is absent, it counts whole items (`each`). Negative values represent reductions (e.g. returns); positive values represent additions (e.g. exchanges)." + }, + "measure": { + "$ref": "../../common/types/measure.json", + "description": "The settled measurement this adjustment reconciles (for example, actual picked weight), present when the line's price settles by measurement. Its unit identity MUST match the line's pricing basis (`item.unit_price` measure/reference unit); no unit conversion. A pure price settlement uses `quantity: 0` together with `measure` and a totals delta." } } }, @@ -54,7 +60,7 @@ "totals": { "type": "array", "items": { - "$ref": "total.json" + "$ref": "../../common/types/total.json" }, "description": "Adjustment totals breakdown. Signed values - negative for money returned to buyer (refunds, credits), positive for additional charges (exchanges)." }, diff --git a/protocol/schemas/shopping/types/availability.json b/protocol/schemas/shopping/types/availability.json new file mode 100644 index 000000000..2d8159ca0 --- /dev/null +++ b/protocol/schemas/shopping/types/availability.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/shopping/types/availability.json", + "title": "Availability", + "description": "Availability of an item: whether it can be obtained, and a qualifying status.", + "type": "object", + "properties": { + "available": { + "type": "boolean", + "description": "Whether this can be obtained. See status for fulfillment details." + }, + "status": { + "type": "string", + "description": "Qualifies available with fulfillment state. Well-known values: `in_stock`, `backorder`, `preorder`, `out_of_stock`, `discontinued`." + } + } +} diff --git a/protocol/schemas/shopping/types/binding.json b/protocol/schemas/shopping/types/binding.json deleted file mode 100644 index e73ef7b09..000000000 --- a/protocol/schemas/shopping/types/binding.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/binding.json", - "title": "Binding", - "description": "Binds a token to a specific checkout session and participant. Prevents token reuse across different checkouts or participants.", - "type": "object", - "required": ["checkout_id"], - "properties": { - "checkout_id": { - "type": "string", - "description": "The checkout session identifier this token is bound to." - }, - "identity": { - "$ref": "payment_identity.json", - "description": "The participant this token is bound to. Required when acting on behalf of another participant (e.g., agent tokenizing for merchant). Omit when the authenticated caller is the binding target." - } - } -} diff --git a/protocol/schemas/shopping/types/business_fulfillment_config.json b/protocol/schemas/shopping/types/business_fulfillment_config.json index d84deb960..d981b84ef 100644 --- a/protocol/schemas/shopping/types/business_fulfillment_config.json +++ b/protocol/schemas/shopping/types/business_fulfillment_config.json @@ -5,29 +5,29 @@ "description": "Business's fulfillment configuration.", "type": "object", "properties": { - "allows_multi_destination": { - "type": "object", - "description": "Permits multiple destinations per method type.", - "properties": { - "shipping": { - "type": "boolean", - "description": "Multiple shipping destinations allowed." - }, - "pickup": { - "type": "boolean", - "description": "Multiple pickup locations allowed." + "multi_destination": { + "type": "array", + "description": "Method types that permit multiple destinations within one cart (e.g. split shipping across addresses). Listing a method permits it; an omitted method does not. Open — businesses MAY list any method type.", + "items": { + "type": "object", + "required": ["method"], + "additionalProperties": true, + "properties": { + "method": { + "type": "string", + "description": "Fulfillment method type (e.g. `shipping`, `pickup`). Optional per-method constraints MAY be added alongside." + } } - }, - "additionalProperties": false + } }, - "allows_method_combinations": { + "method_combinations": { "type": "array", - "description": "Allowed method type combinations.", + "description": "Method-type combinations the business permits within one cart. Each inner array is a permitted set of method `type` values (e.g. shipping + pickup).", "items": { "type": "array", "items": { "type": "string", - "enum": ["shipping", "pickup"] + "description": "Fulfillment method `type`. Well-known values: `shipping`, `pickup`." } } } diff --git a/protocol/schemas/shopping/types/context.json b/protocol/schemas/shopping/types/context.json deleted file mode 100644 index a140c67f2..000000000 --- a/protocol/schemas/shopping/types/context.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/context.json", - "title": "Context", - "description": "Provisional buyer signals for relevance and localization—not authoritative data. Businesses SHOULD use these values when verified inputs (e.g., shipping address) are absent, and MAY ignore or down-rank them if inconsistent with higher-confidence signals (authenticated account, risk detection) or regulatory constraints (export controls). Eligibility and policy enforcement MUST occur at checkout time using binding transaction data. Context SHOULD be non-identifying and can be disclosed progressively—coarse signals early, finer resolution as the session progresses. Higher-resolution data (shipping address, billing address) supersedes context.", - "type": "object", - "additionalProperties": true, - "properties": { - "address_country": { - "type": "string", - "description": "The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example \"US\". For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as \"SGP\" or a full country name such as \"Singapore\" can also be used. Optional hint for market context (currency, availability, pricing)—higher-resolution data (e.g., shipping address) supersedes this value." - }, - "address_region": { - "type": "string", - "description": "The region in which the locality is, and which is in the country. For example, California or another appropriate first-level Administrative division. Optional hint for progressive localization—higher-resolution data (e.g., shipping address) supersedes this value." - }, - "postal_code": { - "type": "string", - "description": "The postal code. For example, 94043. Optional hint for regional refinement—higher-resolution data (e.g., shipping address) supersedes this value." - }, - "intent": { - "type": "string", - "description": "Background context describing buyer's intent (e.g., 'looking for a gift under $50', 'need something durable for outdoor use'). Informs relevance, recommendations, and personalization." - }, - "language": { - "type": "string", - "description": "Preferred language for content. Use IETF BCP 47 language tags (e.g., 'en', 'fr-CA', 'zh-Hans'). For REST, equivalent to Accept-Language header—platforms SHOULD fall back to Accept-Language when this field is absent; when provided, overrides Accept-Language. Businesses MAY return content in a different language if unavailable." - }, - "currency": { - "type": "string", - "description": "Preferred currency (ISO 4217, e.g., 'EUR', 'USD'). Businesses determine presentment currency from context and authoritative signals; this hint MAY inform selection in multi-currency markets. Also serves as the denomination for price filter values — platforms SHOULD include this field when sending price filters. Response prices include explicit currency confirming the resolution." - }, - "eligibility": { - "type": "array", - "description": "Buyer claims about eligible benefits such as loyalty membership, payment instrument perks, and similar. Recognized claims MAY inform the Business response (e.g., member-only product availability, adjusted pricing in catalog, provisional discounts at cart or checkout). Businesses MUST ignore unrecognized values without error. Values MUST use reverse-domain naming (e.g., 'com.example.loyalty_gold', 'org.school.student') and MUST be non-identifying.", - "uniqueItems": true, - "items": { - "$ref": "../../common/types/reverse_domain_name.json" - } - } - } -} diff --git a/protocol/schemas/shopping/types/expectation.json b/protocol/schemas/shopping/types/expectation.json index f063ab099..4fb94fe38 100644 --- a/protocol/schemas/shopping/types/expectation.json +++ b/protocol/schemas/shopping/types/expectation.json @@ -28,7 +28,8 @@ "quantity": { "type": "integer", "minimum": 1, - "description": "Quantity of this item in this expectation." + "maximum": 9007199254740991, + "description": "Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × `unit`); when `quantity_unit` is absent, it counts whole items (`each`)." } } }, @@ -36,8 +37,7 @@ }, "method_type": { "type": "string", - "enum": ["shipping", "pickup", "digital"], - "description": "Delivery method type (shipping, pickup, digital)." + "description": "Delivery method type. Well-known values: `shipping`, `pickup`, `digital`; additional values MAY be used." }, "destination": { "$ref": "../../common/types/postal_address.json", diff --git a/protocol/schemas/shopping/types/fulfillment.json b/protocol/schemas/shopping/types/fulfillment.json index 6aa8c0589..1150baf52 100644 --- a/protocol/schemas/shopping/types/fulfillment.json +++ b/protocol/schemas/shopping/types/fulfillment.json @@ -4,7 +4,6 @@ "title": "Fulfillment", "description": "Container for fulfillment methods and availability.", "type": "object", - "ucp_shared_request": true, "properties": { "methods": { "type": "array", diff --git a/protocol/schemas/shopping/types/fulfillment_available_method.json b/protocol/schemas/shopping/types/fulfillment_available_method.json index ca4af01d8..7d1a7a4db 100644 --- a/protocol/schemas/shopping/types/fulfillment_available_method.json +++ b/protocol/schemas/shopping/types/fulfillment_available_method.json @@ -4,14 +4,12 @@ "title": "Fulfillment Available Method", "description": "Inventory availability hint for a fulfillment method type.", "type": "object", - "ucp_shared_request": true, "required": ["type", "line_item_ids"], "additionalProperties": true, "properties": { "type": { "type": "string", - "enum": ["shipping", "pickup"], - "description": "Fulfillment method type this availability applies to.", + "description": "Fulfillment method type this availability applies to. Well-known values: `shipping`, `pickup`; businesses MAY use additional values.", "ucp_request": "omit" }, "line_item_ids": { diff --git a/protocol/schemas/shopping/types/fulfillment_destination.json b/protocol/schemas/shopping/types/fulfillment_destination.json index cc6708dc9..10ab992be 100644 --- a/protocol/schemas/shopping/types/fulfillment_destination.json +++ b/protocol/schemas/shopping/types/fulfillment_destination.json @@ -4,13 +4,37 @@ "title": "Fulfillment Destination", "description": "A destination for fulfillment.", "type": "object", - "ucp_shared_request": true, - "oneOf": [ + "required": ["type", "id"], + "properties": { + "type": { + "type": "string", + "description": "Destination contract discriminator. Required in Business responses and optional in Platform requests. Well-known values: `shipping_address`, `business_location`. The enclosing method contract defines request defaults and which fields the Platform may write; negotiated extensions define additional values.", + "ucp_request": "optional" + }, + "id": { + "type": "string", + "description": "Fulfillment destination identifier.", + "ucp_request": "optional" + } + }, + "allOf": [ { - "$ref": "shipping_destination.json" + "if": { + "properties": { "type": { "const": "shipping_address" } }, + "required": ["type"] + }, + "then": { + "$ref": "shipping_destination.json" + } }, { - "$ref": "retail_location.json" + "if": { + "properties": { "type": { "const": "business_location" } }, + "required": ["type"] + }, + "then": { + "$ref": "location_destination.json" + } } ] } diff --git a/protocol/schemas/shopping/types/fulfillment_destination_filter.json b/protocol/schemas/shopping/types/fulfillment_destination_filter.json new file mode 100644 index 000000000..4c96ec11b --- /dev/null +++ b/protocol/schemas/shopping/types/fulfillment_destination_filter.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/shopping/types/fulfillment_destination_filter.json", + "title": "Fulfillment Destination Filter", + "description": "A specific destination, named by value or by reference: a coarse locality (`address_country` / `address_region` / `postal_code`), or a `location` id. Platforms SHOULD provide one or the other, not both; if both are present, a business SHOULD use the more specific — typically `location`.", + "type": "object", + "additionalProperties": true, + "allOf": [ + { + "$ref": "../../common/types/locality.json" + }, + { + "type": "object", + "additionalProperties": true, + "properties": { + "location": { + "type": "string", + "description": "A reference to the destination (e.g. store, pickup location, saved address)." + } + } + } + ] +} diff --git a/protocol/schemas/shopping/types/fulfillment_event.json b/protocol/schemas/shopping/types/fulfillment_event.json index 5d0ba7e7f..deb8fc76e 100644 --- a/protocol/schemas/shopping/types/fulfillment_event.json +++ b/protocol/schemas/shopping/types/fulfillment_event.json @@ -37,7 +37,8 @@ "quantity": { "type": "integer", "minimum": 1, - "description": "Quantity fulfilled in this event." + "maximum": 9007199254740991, + "description": "Integer count of steps of the referenced line item's `quantity_unit` (`10^-scale` × `unit`); when `quantity_unit` is absent, it counts whole items (`each`)." } } }, diff --git a/protocol/schemas/shopping/types/fulfillment_method.json b/protocol/schemas/shopping/types/fulfillment_method.json index 92e02e40a..3d7f14bd4 100644 --- a/protocol/schemas/shopping/types/fulfillment_method.json +++ b/protocol/schemas/shopping/types/fulfillment_method.json @@ -2,41 +2,117 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://ucp.dev/schemas/shopping/types/fulfillment_method.json", "title": "Fulfillment Method", - "description": "A fulfillment method (shipping or pickup) with destinations and groups.", + "description": "A fulfillment method with destinations and groups.", "type": "object", - "required": ["id", "type", "line_item_ids"], - "additionalProperties": true, + "required": [ + "id", + "type", + "line_item_ids" + ], "properties": { "id": { "type": "string", "description": "Unique fulfillment method identifier.", - "ucp_request": {"create": "omit", "update": "optional"} + "ucp_request": { + "create": "omit", + "update": "optional" + } }, "type": { "type": "string", - "enum": ["shipping", "pickup"], - "description": "Fulfillment method type.", - "ucp_request": {"create": "required", "update": "optional"} + "description": "Fulfillment method type. Well-known values: `shipping`, `pickup`. Businesses MAY use additional values.", + "ucp_request": { + "create": "required", + "update": "optional" + } }, "line_item_ids": { "type": "array", "description": "Line item IDs fulfilled via this method.", - "items": { "type": "string" }, - "ucp_request": {"create": "optional", "update": "required"} + "items": { + "type": "string" + }, + "ucp_request": { + "create": "omit", + "update": "required" + } }, "destinations": { "type": "array", - "description": "Available destinations. For shipping: addresses. For pickup: retail locations.", - "items": { "$ref": "fulfillment_destination.json" } + "description": "Available destinations for this method. In Business responses, each destination carries a `type` and `id`.", + "ucp_request": "omit", + "items": { + "$ref": "fulfillment_destination.json" + } }, "selected_destination_id": { - "type": ["string", "null"], - "description": "ID of the selected destination." + "type": [ + "string", + "null" + ], + "description": "ID of the selected destination. Accepts any stable, Business-scoped ID the Business recognizes for this method, including Location IDs not yet enumerated in `destinations`." }, "groups": { "type": "array", "description": "Fulfillment groups for selecting options. Agent sets selected_option_id on groups to choose shipping method.", - "items": { "$ref": "fulfillment_group.json" } + "items": { + "$ref": "fulfillment_group.json" + } } + }, + "allOf": [ + { + "if": { + "properties": { + "type": { + "const": "shipping" + } + }, + "required": [ + "type" + ] + }, + "then": { + "properties": { + "destinations": { + "type": "array", + "description": "Platform-authored shipping addresses for this method.", + "ucp_request": "optional", + "items": { + "$ref": "shipping_destination.json" + } + } + } + } + }, + { + "if": { + "properties": { + "type": { + "const": "pickup" + } + }, + "required": [ + "type" + ] + }, + "then": { + "properties": { + "destinations": { + "type": "array", + "description": "Business-authored business locations able to fulfill this method. Response-only: the Platform selects one via `selected_destination_id`, never writes one.", + "ucp_request": "omit", + "items": { + "$ref": "location_destination.json" + } + } + } + } + } + ], + "dependentRequired": { + "destinations": [ + "type" + ] } } diff --git a/protocol/schemas/shopping/types/fulfillment_option.json b/protocol/schemas/shopping/types/fulfillment_option.json index ad8790856..8e156b5ac 100644 --- a/protocol/schemas/shopping/types/fulfillment_option.json +++ b/protocol/schemas/shopping/types/fulfillment_option.json @@ -2,51 +2,43 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://ucp.dev/schemas/shopping/types/fulfillment_option.json", "title": "Fulfillment Option", - "description": "A fulfillment option within a group (e.g., Standard Shipping $5, Express $15).", + "description": "A fulfillment option within a group (e.g., Standard Shipping $5, Express $15). Extends the fulfillment option base with cost and timing.", "type": "object", - "ucp_shared_request": true, - "required": ["id", "title", "totals"], - "additionalProperties": true, - "properties": { - "id": { - "type": "string", - "description": "Unique fulfillment option identifier.", - "ucp_request": "omit" + "allOf": [ + { + "$ref": "fulfillment_option_base.json" }, - "title": { - "type": "string", - "description": "Short label (e.g., 'Express Shipping', 'Curbside Pickup').", - "ucp_request": "omit" - }, - "description": { - "type": "string", - "description": "Complete context for buyer decision (e.g., 'Arrives Dec 12-15 via FedEx').", - "ucp_request": "omit" - }, - "carrier": { - "type": "string", - "description": "Carrier name (for shipping).", - "ucp_request": "omit" - }, - "earliest_fulfillment_time": { - "type": "string", - "format": "date-time", - "description": "Earliest fulfillment date.", - "ucp_request": "omit" - }, - "latest_fulfillment_time": { - "type": "string", - "format": "date-time", - "description": "Latest fulfillment date.", - "ucp_request": "omit" - }, - "totals": { - "type": "array", - "items": { - "$ref": "total.json" - }, - "description": "Fulfillment option totals breakdown.", - "ucp_request": "omit" + { + "type": "object", + "required": ["totals"], + "additionalProperties": true, + "properties": { + "carrier": { + "type": "string", + "description": "Carrier name (for shipping).", + "ucp_request": "omit" + }, + "earliest_fulfillment_time": { + "type": "string", + "format": "date-time", + "description": "Earliest fulfillment date.", + "ucp_request": "omit" + }, + "latest_fulfillment_time": { + "type": "string", + "format": "date-time", + "description": "Latest fulfillment date.", + "ucp_request": "omit" + }, + "totals": { + "type": "array", + "items": { + "$ref": "../../common/types/total.json" + }, + "description": "Fulfillment option totals breakdown.", + "ucp_request": "omit" + } + } } - } + ] } diff --git a/protocol/schemas/shopping/types/fulfillment_option_base.json b/protocol/schemas/shopping/types/fulfillment_option_base.json new file mode 100644 index 000000000..0eeebee77 --- /dev/null +++ b/protocol/schemas/shopping/types/fulfillment_option_base.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/shopping/types/fulfillment_option_base.json", + "title": "Fulfillment Option Base", + "description": "Common base for a fulfillment option: an addressable, renderable choice (e.g. Standard, Express). Catalog uses this base directly; checkout composes it with cost and timing.", + "type": "object", + "required": ["id", "title"], + "additionalProperties": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for this fulfillment option.", + "ucp_request": "omit" + }, + "title": { + "type": "string", + "description": "Short label that distinguishes this option from its siblings (e.g. 'Standard', 'Express Shipping', 'Curbside Pickup').", + "ucp_request": "omit" + }, + "description": { + "$ref": "../../common/types/description.json", + "description": "Supplementary context for the title (e.g. 'Arrives in 4 business days', 'Arrives Dec 12-15 via FedEx'). Directly renderable; MUST NOT repeat the title.", + "ucp_request": "omit" + } + } +} diff --git a/protocol/schemas/shopping/types/item.json b/protocol/schemas/shopping/types/item.json index e52258b9e..539631255 100644 --- a/protocol/schemas/shopping/types/item.json +++ b/protocol/schemas/shopping/types/item.json @@ -20,7 +20,17 @@ }, "price": { "$ref": "../../common/types/amount.json", - "description": "Unit price in ISO 4217 minor units.", + "description": "Unit price in ISO 4217 minor units. Price is the amount per one whole `quantity_unit.unit` (for example, per lb or per hour); when `quantity_unit` is absent, it is per `each`.", + "ucp_request": "omit" + }, + "quantity_unit": { + "$ref": "../../common/types/quantity_unit.json", + "description": "Sale basis this item's `quantity` is denominated in. On an authoritative Business response, absence encodes the default `each` machine identity (`C62`, 0); the Business MUST include this descriptor for every non-`each` response. On Platform requests, omission makes no assertion: the Business interprets `quantity` using the item's authoritative sale basis. If the Platform includes this descriptor, it asserts the unit-descriptor machine identity. The Business MUST compare that machine identity (`unit`, effective `scale`), ignore `display_text` and `increment`, and resolve a mismatch by conversion surfaced as a visible line revision with a warning, or by rejection with a recoverable business outcome; silent reinterpretation is forbidden. An explicit `C62` descriptor at effective scale 0 matches an authoritative basis represented by an absent descriptor.", + "ucp_request": "optional" + }, + "unit_price": { + "$ref": "unit_price.json", + "description": "Pricing basis for this item. On an authoritative Business response, the Business MUST include `unit_price` on every line whose pricing basis differs from its sale basis (for example, priced per pound but sold per `each`); presence on a line marks the rate as transactional rather than display-only. When the pricing basis is the sale basis, `item.price` fully denominates the charge and this field MAY be omitted.", "ucp_request": "omit" }, "image_url": { diff --git a/protocol/schemas/shopping/types/line_item.json b/protocol/schemas/shopping/types/line_item.json index 0eba9ed05..17ab60f81 100644 --- a/protocol/schemas/shopping/types/line_item.json +++ b/protocol/schemas/shopping/types/line_item.json @@ -23,13 +23,14 @@ }, "quantity": { "type": "integer", - "description": "Quantity of the item being purchased.", - "minimum": 1 + "description": "Always an integer step count. On Platform requests, steps use the item's Business-authoritative sale basis; omitting `item.quantity_unit` makes no assertion and does not imply `each`. On Business responses, `item.quantity_unit` describes the basis; if absent, it encodes the `each` machine identity (`C62`, 0) and `quantity` counts whole items.", + "minimum": 1, + "maximum": 9007199254740991 }, "totals": { "type": "array", "items": { - "$ref": "total.json" + "$ref": "../../common/types/total.json" }, "description": "Line item totals breakdown.", "ucp_request": "omit" diff --git a/protocol/schemas/shopping/types/location_destination.json b/protocol/schemas/shopping/types/location_destination.json new file mode 100644 index 000000000..d839014cc --- /dev/null +++ b/protocol/schemas/shopping/types/location_destination.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/shopping/types/location_destination.json", + "title": "Business Location Destination", + "description": "A business location fulfillment destination. Business-authored and response-only: the Platform selects a location via `selected_destination_id` rather than writing destinations.", + "type": "object", + "allOf": [ + { + "$ref": "../../common/types/location_summary.json" + }, + { + "type": "object", + "required": ["type"], + "properties": { + "type": { + "type": "string", + "const": "business_location", + "description": "Destination type discriminator. Response-only.", + "ucp_request": "omit" + } + } + } + ] +} diff --git a/protocol/schemas/shopping/types/merchant_fulfillment_config.json b/protocol/schemas/shopping/types/merchant_fulfillment_config.json deleted file mode 100644 index 5f049e48e..000000000 --- a/protocol/schemas/shopping/types/merchant_fulfillment_config.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/merchant_fulfillment_config.json", - "title": "Merchant Fulfillment Config", - "description": "Merchant's fulfillment configuration.", - "type": "object", - "properties": { - "allows_multi_destination": { - "type": "object", - "description": "Permits multiple destinations per method type.", - "properties": { - "shipping": { - "type": "boolean", - "description": "Multiple shipping destinations allowed." - }, - "pickup": { - "type": "boolean", - "description": "Multiple pickup locations allowed." - } - }, - "additionalProperties": false - }, - "allows_method_combinations": { - "type": "array", - "description": "Allowed method type combinations.", - "items": { - "type": "array", - "items": { - "type": "string", - "enum": ["shipping", "pickup"] - } - } - } - } -} diff --git a/protocol/schemas/shopping/types/order_line_item.json b/protocol/schemas/shopping/types/order_line_item.json index 5f639dcff..3c6e66ae9 100644 --- a/protocol/schemas/shopping/types/order_line_item.json +++ b/protocol/schemas/shopping/types/order_line_item.json @@ -17,7 +17,7 @@ }, "item": { "$ref": "item.json", - "description": "Product data (id, title, price, image_url)." + "description": "Purchased item data, including identity, price, and sale basis." }, "quantity": { "type": "object", @@ -26,25 +26,28 @@ "original": { "type": "integer", "minimum": 0, - "description": "Quantity from the original checkout." + "maximum": 9007199254740991, + "description": "Quantity from the original checkout, expressed as an integer step count." }, "total": { "type": "integer", "minimum": 0, - "description": "Current total active quantity. May differ from original due to post-order modifications (e.g., returns or cancellations)." + "maximum": 9007199254740991, + "description": "Current active quantity after returns, cancellations, or other order changes, expressed as an integer step count." }, "fulfilled": { "type": "integer", "minimum": 0, - "description": "Quantity fulfilled so far." + "maximum": 9007199254740991, + "description": "Quantity fulfilled so far, expressed as an integer step count." } }, - "description": "Quantity tracking for the line item." + "description": "Tracks the line item's original, current active, and fulfilled quantities. All three values use the same inherited `item.quantity_unit`. When `item.quantity_unit` is absent on an authoritative order response, each step is one whole item (`each`) under the shared default." }, "totals": { "type": "array", "items": { - "$ref": "total.json" + "$ref": "../../common/types/total.json" }, "description": "Line item totals breakdown." }, diff --git a/protocol/schemas/shopping/types/product.json b/protocol/schemas/shopping/types/product.json index 95c4fbdf8..faee177f9 100644 --- a/protocol/schemas/shopping/types/product.json +++ b/protocol/schemas/shopping/types/product.json @@ -41,11 +41,11 @@ "description": "Product categories with optional taxonomy identifiers." }, "price_range": { - "$ref": "price_range.json", + "$ref": "../../common/types/price_range.json", "description": "Price range across all variants." }, "list_price_range": { - "$ref": "price_range.json", + "$ref": "../../common/types/price_range.json", "description": "List price range before discounts (for strikethrough display)." }, "media": { diff --git a/protocol/schemas/shopping/types/retail_location.json b/protocol/schemas/shopping/types/retail_location.json deleted file mode 100644 index 2e9d5d88f..000000000 --- a/protocol/schemas/shopping/types/retail_location.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ucp.dev/schemas/shopping/types/retail_location.json", - "title": "Retail Location", - "description": "A pickup location (retail store, locker, etc.).", - "type": "object", - "ucp_shared_request": true, - "required": ["id", "name"], - "additionalProperties": true, - "properties": { - "id": { - "type": "string", - "description": "Unique location identifier.", - "ucp_request": "omit" - }, - "name": { - "type": "string", - "description": "Location name (e.g., store name)." - }, - "address": { - "$ref": "../../common/types/postal_address.json", - "description": "Physical address of the location." - } - } -} diff --git a/protocol/schemas/shopping/types/search_filters.json b/protocol/schemas/shopping/types/search_filters.json index 8380be58b..fdc9cbd39 100644 --- a/protocol/schemas/shopping/types/search_filters.json +++ b/protocol/schemas/shopping/types/search_filters.json @@ -11,7 +11,7 @@ "description": "Filter by product categories (OR logic — matches products in any listed categories). Values match against the value field in product category entries. Valid values can be discovered from the categories field in search results, merchant documentation, or standard taxonomies that businesses may align with." }, "price": { - "$ref": "price_filter.json" + "$ref": "../../common/types/price_filter.json" } }, "additionalProperties": true diff --git a/protocol/schemas/shopping/types/shipping_destination.json b/protocol/schemas/shopping/types/shipping_destination.json index ec77b9789..a63c2a6a6 100644 --- a/protocol/schemas/shopping/types/shipping_destination.json +++ b/protocol/schemas/shopping/types/shipping_destination.json @@ -4,7 +4,6 @@ "title": "Shipping Destination", "description": "Shipping destination.", "type": "object", - "ucp_shared_request": true, "allOf": [ { "$ref": "../../common/types/postal_address.json" @@ -16,10 +15,17 @@ "type": "string", "description": "ID specific to this shipping destination.", "ucp_request": "optional" + }, + "type": { + "type": "string", + "const": "shipping_address", + "description": "Destination type discriminator.", + "ucp_request": "optional" } }, "required": [ - "id" + "id", + "type" ] } ] diff --git a/protocol/schemas/shopping/types/unit_price.json b/protocol/schemas/shopping/types/unit_price.json new file mode 100644 index 000000000..1e5f377e4 --- /dev/null +++ b/protocol/schemas/shopping/types/unit_price.json @@ -0,0 +1,56 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://ucp.dev/schemas/shopping/types/unit_price.json", + "title": "Unit Price", + "description": "Price per standard unit of measurement. MAY be omitted when unit pricing does not apply. `unit_price.currency` MUST equal `price.currency`; the comparator MUST NOT perform currency conversion. `measure.unit` and `reference.unit` MUST be identical; cross-unit conversion is not permitted. Their scales MAY differ; each value represents `value × 10^-scale`.", + "type": "object", + "required": [ + "amount", + "currency", + "measure", + "reference" + ], + "properties": { + "amount": { + "$ref": "../../common/types/amount.json", + "description": "Unit price in ISO 4217 minor units. After satisfying the same-unit invariant, the Business MUST compute the comparator as `(price.amount / (measure.value × 10^-measure.scale)) × (reference.value × 10^-reference.scale)` and round it once to ISO 4217 minor units according to its pricing rules. The returned `unit_price.amount` is authoritative; the Platform MUST NOT recompute or substitute its own result." + }, + "currency": { + "type": "string", + "pattern": "^[A-Z]{3}$", + "description": "ISO 4217 currency code." + }, + "measure": { + "description": "Product quantity in packaging/content (for example, a 750 mL bottle), distinct from `quantity_unit`, which defines the sale basis. Its integer `value` MUST be at least 1.", + "allOf": [ + { + "$ref": "../../common/types/measure.json" + }, + { + "type": "object", + "properties": { + "value": { + "minimum": 1 + } + } + } + ] + }, + "reference": { + "description": "Denominator for unit price display (for example, per 100 mL or per 1 kg). Its integer `value` MUST be at least 1.", + "allOf": [ + { + "$ref": "../../common/types/measure.json" + }, + { + "type": "object", + "properties": { + "value": { + "minimum": 1 + } + } + } + ] + } + } +} diff --git a/protocol/schemas/shopping/types/variant.json b/protocol/schemas/shopping/types/variant.json index d0033e7c3..165470496 100644 --- a/protocol/schemas/shopping/types/variant.json +++ b/protocol/schemas/shopping/types/variant.json @@ -63,59 +63,23 @@ }, "price": { "$ref": "../../common/types/price.json", - "description": "Current selling price." + "description": "Current selling price. Price is the amount per one whole `quantity_unit.unit` (for example, per lb or per hour); when `quantity_unit` is absent, it is per `each`. Line total is `price × quantity × 10^-scale`, computed and rounded once by the Business; `totals` remain authoritative." + }, + "quantity_unit": { + "$ref": "../../common/types/quantity_unit.json", + "description": "Sale basis this variant's `quantity` is denominated in. The default sale basis is `each`, whose machine identity is (`C62`, 0); `C62` is the UN/CEFACT Rec20 code for one/each. An absent catalog descriptor encodes that default. An `increment` advertises the ordering granularity in steps (for example, `scale` 2 with `increment` 25 sells in 0.25-unit multiples)." }, "list_price": { "$ref": "../../common/types/price.json", "description": "List price before discounts (for strikethrough display)." }, "unit_price": { - "type": "object", - "description": "Price per standard unit of measurement. MAY be omitted when unit pricing does not apply.", - "required": ["amount", "currency", "measure", "reference"], - "properties": { - "amount": { - "$ref": "../../common/types/amount.json", - "description": "Unit price in ISO 4217 minor units. Business MUST return precomputed unit price value: (variant.price / measure.value) * reference.value." - }, - "currency": { - "type": "string", - "pattern": "^[A-Z]{3}$", - "description": "ISO 4217 currency code." - }, - "measure": { - "type": "object", - "description": "Product quantity in packaging (e.g., 750ml bottle).", - "required": ["value", "unit"], - "properties": { - "value": { "type": "number", "description": "Package quantity." }, - "unit": { "type": "string", "description": "Unit of measurement." } - } - }, - "reference": { - "type": "object", - "description": "Denominator for unit price display (e.g., per 100ml, per 1kg).", - "required": ["value", "unit"], - "properties": { - "value": { "type": "integer", "description": "Reference quantity." }, - "unit": { "type": "string", "description": "Unit of measurement." } - } - } - } + "$ref": "unit_price.json", + "description": "Price per standard unit of measurement, for shelf-style comparison display. MAY be omitted when unit pricing does not apply." }, "availability": { - "type": "object", - "description": "Variant availability for purchase.", - "properties": { - "available": { - "type": "boolean", - "description": "Whether this variant can be purchased. See status for fulfillment details." - }, - "status": { - "type": "string", - "description": "Qualifies available with fulfillment state. Well-known values: `in_stock`, `backorder`, `preorder`, `out_of_stock`, `discontinued`." - } - } + "$ref": "availability.json", + "description": "Variant availability for purchase." }, "options": { "type": "array", diff --git a/protocol/schemas/ucp.json b/protocol/schemas/ucp.json index 79716bee7..b90e733c1 100644 --- a/protocol/schemas/ucp.json +++ b/protocol/schemas/ucp.json @@ -8,7 +8,7 @@ "version": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", - "description": "UCP version in YYYY-MM-DD format." + "description": "Version identifier in YYYY-MM-DD format." }, "version_constraint": { @@ -34,7 +34,7 @@ "properties": { "protocol": { "$ref": "#/$defs/version_constraint", - "description": "Required protocol version." + "description": "Required range for the selected `ucp.version`." }, "capabilities": { "type": "object", @@ -46,6 +46,31 @@ "additionalProperties": true }, + "map_order": { + "type": "object", + "description": "Preferred key order for map-valued fields in the scope annotated by the containing `ucp` member. Each property names a target map, and its array lists target keys in preferred order. Lists may be partial and are not allowlists.", + "additionalProperties": { + "type": "array", + "items": { "type": "string" } + } + }, + + "members": { + "type": "object", + "description": "Members defined inside the reserved `ucp` protocol object. The object is open for forward compatibility: consumers MUST ignore unrecognized members. Only UCP core defines members, and every defined member MUST be safe to ignore.", + "properties": { + "map_order": { + "$ref": "#/$defs/map_order", + "ucp_request": "omit" + }, + "request_constraints": { + "$ref": "common/types/request_constraints.json", + "ucp_request": "omit" + } + }, + "additionalProperties": true + }, + "entity": { "type": "object", "description": "Shared foundation for all UCP entities.", @@ -83,6 +108,11 @@ "required": ["version"], "properties": { "version": { "$ref": "#/$defs/version" }, + "map_order": { + "$ref": "#/$defs/map_order", + "description": "Preferred key-traversal order for sibling registry fields inside the root `ucp` envelope (`services`, `capabilities`, and `payment_handlers`).", + "ucp_request": "omit" + }, "status": { "type": "string", "enum": ["success", "error"], @@ -289,6 +319,23 @@ } } ] + }, + + "response_location_schema": { + "title": "UCP Location Response Schema", + "description": "UCP metadata for location responses.", + "allOf": [ + { "$ref": "#/$defs/base" }, + { + "properties": { + "capabilities": { + "additionalProperties": { + "items": { "$ref": "capability.json#/$defs/response_schema" } + } + } + } + } + ] } } } diff --git a/protocol/scripts/codegen_guards.mjs b/protocol/scripts/codegen_guards.mjs new file mode 100644 index 000000000..5da505250 --- /dev/null +++ b/protocol/scripts/codegen_guards.mjs @@ -0,0 +1,78 @@ +import fs from "node:fs/promises"; +import path from "node:path"; + +const EXPECTED_CONSTRAINT_MODEL_NAMES = [ + "ConstraintExpression", + "ConstraintProperty", +]; +const ACCIDENTAL_CONSTRAINT_MODEL_NAMES = ["ConstraintsElement", "PropertyValue"]; + +export function assertSemanticConstraintModelNames(source, output) { + const present = (name) => new RegExp(`\\b${name}\\b`).test(source); + const missing = EXPECTED_CONSTRAINT_MODEL_NAMES.filter((name) => !present(name)); + const accidental = ACCIDENTAL_CONSTRAINT_MODEL_NAMES.filter(present); + + if (missing.length === 0 && accidental.length === 0) { + return; + } + + const details = []; + if (missing.length > 0) { + details.push(`missing semantic names: ${missing.join(", ")}`); + } + if (accidental.length > 0) { + details.push(`accidental quicktype names returned: ${accidental.join(", ")}`); + } + throw new Error(`Constraint model naming invariant failed in ${output} (${details.join("; ")})`); +} + +async function listDeclarationFiles(directory) { + const entries = await fs.readdir(directory, {withFileTypes: true}); + const nested = await Promise.all( + entries.map(async (entry) => { + const entryPath = path.join(directory, entry.name); + if (entry.isDirectory()) { + return listDeclarationFiles(entryPath); + } + return entry.isFile() && entry.name.endsWith(".d.ts") ? [entryPath] : []; + }), + ); + return nested.flat(); +} + +export async function removeUnreferencedInternalDeclaration({ + declarationDir, + internalDeclaration, + symbol, +}) { + const internalPath = path.resolve(internalDeclaration); + const declarationFiles = await listDeclarationFiles(declarationDir); + + if (!declarationFiles.some((file) => path.resolve(file) === internalPath)) { + throw new Error( + `Expected TypeScript to emit internal declaration ${internalPath}; no file was removed`, + ); + } + + const referencePattern = new RegExp(`\\b${symbol}\\b`); + const referencingFiles = []; + for (const declarationFile of declarationFiles) { + if (path.resolve(declarationFile) === internalPath) { + continue; + } + const source = await fs.readFile(declarationFile, "utf8"); + if (referencePattern.test(source)) { + referencingFiles.push(path.relative(declarationDir, declarationFile)); + } + } + + if (referencingFiles.length > 0) { + throw new Error( + `Refusing to remove ${path.basename(internalPath)} because public declarations reference ${symbol}:\n` + + `${referencingFiles.sort().join("\n")}\n` + + "The internal declaration was retained for diagnosis; remove the public reference before regenerating.", + ); + } + + await fs.rm(internalPath); +} diff --git a/protocol/scripts/codegen_guards.test.mjs b/protocol/scripts/codegen_guards.test.mjs new file mode 100644 index 000000000..e59d9de73 --- /dev/null +++ b/protocol/scripts/codegen_guards.test.mjs @@ -0,0 +1,90 @@ +import fs from "node:fs/promises"; +import os from "node:os"; +import path from "node:path"; +import {afterEach, describe, expect, test} from "vitest"; + +import { + assertSemanticConstraintModelNames, + removeUnreferencedInternalDeclaration, +} from "./codegen_guards.mjs"; + +const tempDirs = []; + +afterEach(async () => { + await Promise.all( + tempDirs.splice(0).map((directory) => + fs.rm(directory, {recursive: true, force: true}), + ), + ); +}); + +async function makeDeclarationDir() { + const directory = await fs.mkdtemp(path.join(os.tmpdir(), "checkout-kit-codegen-guard-")); + tempDirs.push(directory); + const generatedDir = path.join(directory, "generated"); + await fs.mkdir(generatedDir); + const internalDeclaration = path.join(generatedDir, "ProtocolRenameMap.d.ts"); + await fs.writeFile(internalDeclaration, "export declare const renameMap: unknown;\n"); + return {directory, internalDeclaration}; +} + +describe("constraint model name guard", () => { + test("accepts the semantic recursive constraint names", () => { + expect(() => + assertSemanticConstraintModelNames( + "export interface ConstraintExpression { properties?: Record }", + "Models.ts", + ), + ).not.toThrow(); + }); + + test("rejects missing or accidental quicktype names", () => { + expect(() => + assertSemanticConstraintModelNames( + "export interface ConstraintsElement { properties?: Record }", + "Models.ts", + ), + ).toThrow( + /missing semantic names: ConstraintExpression, ConstraintProperty.*accidental quicktype names returned: ConstraintsElement, PropertyValue/, + ); + }); +}); + +describe("internal TypeScript declaration guard", () => { + test("removes an unreferenced internal declaration", async () => { + const {directory, internalDeclaration} = await makeDeclarationDir(); + await fs.writeFile( + path.join(directory, "index.d.ts"), + "export interface PublicModel {}\n", + ); + + await removeUnreferencedInternalDeclaration({ + declarationDir: directory, + internalDeclaration, + symbol: "ProtocolRenameMap", + }); + + await expect(fs.access(internalDeclaration)).rejects.toThrow(); + }); + + test("fails loudly and retains a referenced internal declaration", async () => { + const {directory, internalDeclaration} = await makeDeclarationDir(); + await fs.writeFile( + path.join(directory, "index.d.ts"), + 'export type PublicModel = import("./generated/ProtocolRenameMap").RenameEntry;\n', + ); + + await expect( + removeUnreferencedInternalDeclaration({ + declarationDir: directory, + internalDeclaration, + symbol: "ProtocolRenameMap", + }), + ).rejects.toThrow( + /Refusing to remove ProtocolRenameMap\.d\.ts.*index\.d\.ts.*retained for diagnosis/s, + ); + await expect(fs.readFile(internalDeclaration, "utf8")).resolves.toContain( + "renameMap", + ); + }); +}); diff --git a/protocol/scripts/generate_kotlin_catalog.mjs b/protocol/scripts/generate_kotlin_catalog.mjs index 8b4746c6e..d38ffc812 100644 --- a/protocol/scripts/generate_kotlin_catalog.mjs +++ b/protocol/scripts/generate_kotlin_catalog.mjs @@ -13,7 +13,7 @@ const outputPath = path.resolve( "languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocol.kt", ); -const specVersion = "2026-04-08"; +const {protocolVersion: specVersion} = JSON.parse(fs.readFileSync(path.join(protocolRoot, "source-lock.json"), "utf8")); const notifications = EC_METHODS.filter((entry) => entry.kind === "notification"); const requests = EC_METHODS.filter((entry) => entry.kind === "request"); diff --git a/protocol/scripts/generate_models.mjs b/protocol/scripts/generate_models.mjs index 43634f27e..8eed76866 100755 --- a/protocol/scripts/generate_models.mjs +++ b/protocol/scripts/generate_models.mjs @@ -35,11 +35,62 @@ import { requireQuicktype, run, } from "./codegen_tools.mjs"; +import { + assertSemanticConstraintModelNames, + removeUnreferencedInternalDeclaration, +} from "./codegen_guards.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"); +// Generated models whose openness is part of the public compatibility surface. +// Each one receives a native `additionalProperties` bag so business extension +// fields survive a decode/encode round trip. Openness is still discovered from +// the schemas; this set is the invariant, so a protocol upgrade cannot quietly +// shrink or reshape that API. Keep it sorted. +const EXPECTED_NATIVE_OPEN_MODELS = [ + "Buyer", + "Checkout", + "Context", + "FulfillmentAvailableMethod", + "FulfillmentGroup", + "FulfillmentMethod", + "FulfillmentOption", + "PaymentCredential", + "Policy", + "SelectedPaymentInstrument", +]; + +// Fails codegen when the models that actually received the additionalProperties +// preservation layer stop matching EXPECTED_NATIVE_OPEN_MODELS -- a model that +// stopped being open upstream, was renamed, or newly became open. +function assertExpectedNativeOpenModels(language, injectedModelNames) { + const expected = [...EXPECTED_NATIVE_OPEN_MODELS].sort(); + const actual = [...injectedModelNames].sort(); + if (expected.join("\u0000") === actual.join("\u0000")) { + return; + } + + const missing = expected.filter((name) => !injectedModelNames.has(name)); + const added = actual.filter((name) => !EXPECTED_NATIVE_OPEN_MODELS.includes(name)); + + throw new Error( + [ + `${language} additionalProperties injection no longer matches the expected open-model set.`, + missing.length > 0 + ? ` Lost openness, renamed, or not injected: ${missing.join(", ")}` + : undefined, + added.length > 0 ? ` Newly open: ${added.join(", ")}` : undefined, + " These models are open on purpose: consumers rely on additionalProperties to keep", + " business extension fields. If this protocol upgrade intends the change, confirm the", + " consumer impact and update EXPECTED_NATIVE_OPEN_MODELS in this file.", + ] + .filter((line) => line !== undefined) + .join("\n"), + ); +} + const SWIFT_JSON_HELPER_MARKER = "// MARK: - Helper functions for creating encoders and decoders"; const SWIFT_JSON_HELPER_REPLACEMENT = `// MARK: - Encode/decode helpers // quicktype's encoder/decoder and JSONAny/JSONNull helper suffix is intentionally replaced here. @@ -174,13 +225,62 @@ async function prepareCodegenSchemas(tempDir) { // Preserve the existing shared line-item total model name after checkout // fulfillment adds another reference from fulfillment option totals. - const total = await readJson(path.join(specDir, "types", "total.json")); + const total = await readJson(path.join(schemaDir, "common", "types", "total.json")); total.title = "LineItemTotal"; - await writeJson(path.join(specDir, "types", "total.json"), total); + await writeJson(path.join(schemaDir, "common", "types", "total.json"), total); - const totals = await readJson(path.join(specDir, "types", "totals.json")); + const totals = await readJson(path.join(schemaDir, "common", "types", "totals.json")); totals.items.title = "CheckoutTotal"; - await writeJson(path.join(specDir, "types", "totals.json"), totals); + await writeJson(path.join(schemaDir, "common", "types", "totals.json"), totals); + + // Keep new anonymous payment/measure shapes from renaming existing public models. + const contextPath = path.join(schemaDir, "common", "types", "context.json"); + const context = await readJson(contextPath); + context.allOf[1].properties.payment.items.title = "PreferredPaymentHandler"; + await writeJson(contextPath, context); + + // Name both positions in the recursive constraint grammar explicitly. quicktype + // otherwise derives `ConstraintsElement` from an array position and + // `PropertyValue` from a map position. The latter is a merged representation of + // an object constraint or an enum/const value constraint, so ConstraintProperty + // is more accurate than ValueConstraint. + const constraintExpressionPath = path.join( + schemaDir, + "common", + "types", + "constraint_expression.json", + ); + const constraintExpression = await readJson(constraintExpressionPath); + constraintExpression.title = "ConstraintExpression"; + constraintExpression.properties.anyOf.items.title = "ConstraintExpression"; + constraintExpression.properties.properties.additionalProperties.title = "ConstraintProperty"; + await writeJson(constraintExpressionPath, constraintExpression); + + const availablePaymentInstrumentPath = path.join( + schemaDir, + "common", + "types", + "available_payment_instrument.json", + ); + const availablePaymentInstrument = await readJson(availablePaymentInstrumentPath); + availablePaymentInstrument.properties.constraints.title = "ConstraintExpression"; + await writeJson(availablePaymentInstrumentPath, availablePaymentInstrument); + + // Point both unit-price measures straight at the shared measure definition so + // quicktype reuses the existing `Measure` model. Titling the `allOf` wrappers + // instead made quicktype emit suffixed duplicates (`ProductMeasureClass` / + // `ReferenceMeasureClass`) with the same fields as `Measure`. The wrappers only + // narrowed `value` with a `minimum`, which generated models do not express; + // the property descriptions are worth keeping, so they carry over. + const unitPricePath = path.join(specDir, "types", "unit_price.json"); + const unitPrice = await readJson(unitPricePath); + for (const property of ["measure", "reference"]) { + unitPrice.properties[property] = { + $ref: "../../common/types/measure.json", + description: unitPrice.properties[property].description, + }; + } + await writeJson(unitPricePath, unitPrice); const embeddedConfig = await readJson(path.join(schemaDir, "transports", "embedded_config.json")); embeddedConfig.properties.color_scheme.items.title = "EmbeddedColorScheme"; @@ -204,11 +304,35 @@ async function prepareCodegenSchemas(tempDir) { discount.$defs.allocation.title = "DiscountAllocation"; await writeJson(path.join(specDir, "discount.json"), discount); - for (const fulfillmentSchema of ["fulfillment_available_method", "fulfillment_method"]) { - const schema = await readJson(path.join(specDir, "types", `${fulfillmentSchema}.json`)); - schema.properties.type.title = "FulfillmentMethodType"; - await writeJson(path.join(specDir, "types", `${fulfillmentSchema}.json`), schema); + // August leaves fulfillment methods implicitly open. Make that explicit so the + // native extension generator keeps the existing additionalProperties API. + // `fulfillment_available_method` already declares `additionalProperties`, so + // only `fulfillment_method` needs the flag. + const fulfillmentMethodPath = path.join(specDir, "types", "fulfillment_method.json"); + const fulfillmentMethod = await readJson(fulfillmentMethodPath); + fulfillmentMethod.additionalProperties = true; + await writeJson(fulfillmentMethodPath, fulfillmentMethod); + + // quicktype does not materialize the destination's conditional address/location + // branches. Expose their fields explicitly, and allow the absent discriminator + // used by April responses. The pinned August schema remains unchanged. + const destinationPath = path.join(specDir, "types", "fulfillment_destination.json"); + const destination = await readJson(destinationPath); + const postalAddress = await readJson(path.join(schemaDir, "common", "types", "postal_address.json")); + const locationSummary = await readJson(path.join(schemaDir, "common", "types", "location_summary.json")); + const destinationFields = {...postalAddress.properties, ...locationSummary.properties}; + function relocateCommonRefs(value) { + if (value === null || typeof value !== "object") return; + if (typeof value.$ref === "string" && !value.$ref.startsWith("#")) { + value.$ref = path.posix.join("../../common/types", value.$ref); + } + for (const child of Object.values(value)) relocateCommonRefs(child); } + relocateCommonRefs(destinationFields); + destination.properties = {...destinationFields, ...destination.properties}; + destination.required = ["id"]; + delete destination.allOf; + await writeJson(destinationPath, destination); const fulfillment = await readJson(path.join(specDir, "types", "fulfillment.json")); fulfillment.title = "CheckoutFulfillment"; @@ -354,6 +478,7 @@ async function normalizeGeneratedFile(output, transform = (source) => source) { await replaceInFile(output, (source) => { const result = transform(source); assertNoQuicktypeFallbacks(result, output); + assertSemanticConstraintModelNames(result, output); return result; }); } @@ -525,16 +650,28 @@ function parseKotlinFields(inner) { return fields; } +function kotlinDecodeField(name, field) { + if (name === "FulfillmentOption" && field.name === "description") { + return [ + ` ${field.name} = obj["${field.wire}"]?.let { element ->`, + " if (element is JsonPrimitive && element.isString) {", + " Description(plain = element.content)", + " } else {", + ` json.decodeFromJsonElement(serializer<${field.baseType}>(), element)`, + " }", + " },", + ].join("\n"); + } + + return field.optional + ? ` ${field.name} = obj["${field.wire}"]?.let { json.decodeFromJsonElement(serializer<${field.baseType}>(), it) },` + : ` ${field.name} = json.decodeFromJsonElement(serializer<${field.type}>(), obj["${field.wire}"] ?: throw SerializationException("Missing ${field.wire} for ${name}")),`; +} + function kotlinSerializerObject(name, fields) { const knownList = fields.map((field) => `"${field.wire}"`).join(", "); - const ctorArgs = fields - .map((field) => - field.optional - ? ` ${field.name} = obj["${field.wire}"]?.let { json.decodeFromJsonElement(serializer<${field.baseType}>(), it) },` - : ` ${field.name} = json.decodeFromJsonElement(serializer<${field.type}>(), obj["${field.wire}"] ?: throw SerializationException("Missing ${field.wire} for ${name}")),`, - ) - .join("\n"); + const ctorArgs = fields.map((field) => kotlinDecodeField(name, field)).join("\n"); const serLines = fields .map((field) => @@ -582,6 +719,7 @@ function kotlinSerializerObject(name, fields) { function injectKotlinAdditionalProperties(source, openModelNames) { const serializers = []; + const injectedModelNames = new Set(); const generatedModelNames = new Set([...source.matchAll(/^public data class (\w+) \(/gm)].map((entry) => entry[1])); const missingOpenModels = new Set([...openModelNames].filter((name) => generatedModelNames.has(name))); @@ -593,6 +731,7 @@ function injectKotlinAdditionalProperties(source, openModelNames) { } missingOpenModels.delete(name); + injectedModelNames.add(name); const fields = parseKotlinFields(inner); serializers.push(kotlinSerializerObject(name, fields)); @@ -605,6 +744,8 @@ function injectKotlinAdditionalProperties(source, openModelNames) { throw new Error(`Kotlin additionalProperties injection missed open models:\n${[...missingOpenModels].sort().join("\n")}`); } + assertExpectedNativeOpenModels("Kotlin", injectedModelNames); + return `${result}\n${serializers.join("\n")}\n`; } @@ -669,7 +810,7 @@ async function generateKotlin(specDir, output, {openModelNames, mapModelNames}) } function injectSwiftAdditionalProperties(source, openModelNames) { - let injected = 0; + const injectedModelNames = new Set(); const generatedModelNames = new Set([...source.matchAll(/^public struct (\w+): Codable, Sendable \{$/gm)].map((entry) => entry[1])); const missingOpenModels = new Set([...openModelNames].filter((name) => generatedModelNames.has(name))); @@ -711,11 +852,19 @@ function injectSwiftAdditionalProperties(source, openModelNames) { lines.push(" public init(from decoder: Decoder) throws {"); lines.push(" let container = try decoder.container(keyedBy: CodingKeys.self)"); for (const prop of props) { - lines.push( - prop.optional - ? ` self.${prop.name} = try container.decodeIfPresent(${prop.baseType}.self, forKey: .${prop.name})` - : ` self.${prop.name} = try container.decode(${prop.baseType}.self, forKey: .${prop.name})`, - ); + if (name === "FulfillmentOption" && prop.name === "description") { + lines.push(" if let legacyDescription = try? container.decode(String.self, forKey: .description) {"); + lines.push(" self.description = Description(html: nil, markdown: nil, plain: legacyDescription)"); + lines.push(" } else {"); + lines.push(" self.description = try container.decodeIfPresent(Description.self, forKey: .description)"); + lines.push(" }"); + } else { + lines.push( + prop.optional + ? ` self.${prop.name} = try container.decodeIfPresent(${prop.baseType}.self, forKey: .${prop.name})` + : ` self.${prop.name} = try container.decode(${prop.baseType}.self, forKey: .${prop.name})`, + ); + } } lines.push(" let additionalContainer = try decoder.container(keyedBy: JSONCodingKey.self)"); lines.push(" var extras: [String: JSONAny] = [:]"); @@ -740,7 +889,7 @@ function injectSwiftAdditionalProperties(source, openModelNames) { lines.push(" }"); lines.push(" }"); - injected += 1; + injectedModelNames.add(name); return `public struct ${name}: Codable, Sendable {\n${inner}${lines.join("\n")}\n}`; }, ); @@ -749,6 +898,8 @@ function injectSwiftAdditionalProperties(source, openModelNames) { throw new Error(`Swift additionalProperties injection missed open models:\n${[...missingOpenModels].sort().join("\n")}`); } + assertExpectedNativeOpenModels("Swift", injectedModelNames); + return result; } @@ -842,6 +993,32 @@ function useTypescriptMapsForModels(source, mapModelNames) { return result; } +function injectTypescriptLegacyDescriptionCompatibility(source) { + const marker = ` while (typeof typ === "object" && typ.ref !== undefined) { + ref = typ.ref; + typ = typeMap[typ.ref]; + }`; + const replacement = ` while (typeof typ === "object" && typ.ref !== undefined) { + ref = typ.ref; + if ( + ref === "FulfillmentOption" && + getProps === jsonToJSProps && + val !== null && + typeof val === "object" && + !Array.isArray(val) && + typeof val.description === "string" + ) { + val = {...val, description: {plain: val.description}}; + } + typ = typeMap[typ.ref]; + }`; + + if (!source.includes(marker)) { + throw new Error("TypeScript legacy fulfillment-description injection failed; quicktype output may have changed"); + } + return source.replace(marker, replacement); +} + async function generateTypescript(specDir, output, {mapModelNames}) { await fs.mkdir(path.dirname(output), {recursive: true}); await runQuicktype([ @@ -859,9 +1036,10 @@ async function generateTypescript(specDir, output, {mapModelNames}) { output, ]); - await normalizeGeneratedFile(output, (source) => - useTypescriptMapsForModels(source.replace(/^type /gm, "export type "), mapModelNames), - ); + await normalizeGeneratedFile(output, (source) => { + const withCompatibility = injectTypescriptLegacyDescriptionCompatibility(source); + return useTypescriptMapsForModels(withCompatibility.replace(/^type /gm, "export type "), mapModelNames); + }); await run("node", [path.join(PROTOCOL_DIR, "scripts", "generate_typescript_rename_map.mjs")]); await run("node", [path.join(PROTOCOL_DIR, "scripts", "generate_typescript_codecs.mjs")]); @@ -888,6 +1066,14 @@ async function generateTypescript(specDir, output, {mapModelNames}) { indexOutput, ]); + // The rename spine is runtime-only; tsc follows its import but it must not leak + // into the public declaration graph or remain as a generated package artifact. + await removeUnreferencedInternalDeclaration({ + declarationDir: path.dirname(declarationOutput), + internalDeclaration: path.join(path.dirname(output), "ProtocolRenameMap.d.ts"), + symbol: "ProtocolRenameMap", + }); + return declarationOutput; } diff --git a/protocol/scripts/generate_swift_catalog.mjs b/protocol/scripts/generate_swift_catalog.mjs index 3cf2c9f4a..b9199ce21 100644 --- a/protocol/scripts/generate_swift_catalog.mjs +++ b/protocol/scripts/generate_swift_catalog.mjs @@ -7,6 +7,9 @@ import {DELEGATIONS, EC_METHODS, MODEL_EXTRACTIONS} from './method_catalog.mjs'; const scriptDir = path.dirname(fileURLToPath(import.meta.url)); const protocolRoot = path.resolve(scriptDir, '..'); +const {protocolVersion: specVersion} = JSON.parse( + fs.readFileSync(path.join(protocolRoot, 'source-lock.json'), 'utf8'), +); const outputPath = path.resolve( protocolRoot, @@ -143,6 +146,10 @@ import Foundation ${conformances} extension EmbeddedCheckoutProtocol { + /// The UCP spec revision these artifacts were generated from, taken from + /// \`protocol/source-lock.json\`. Do not edit by hand. + public static let specVersion = "${specVersion}" + /// Every \`ec.*\` method this protocol owns, resolved to a typed descriptor. /// Notifications become \`NotificationDescriptor\`s; requests become /// \`RequestDescriptor\`s. diff --git a/protocol/scripts/generate_typescript_notifications.mjs b/protocol/scripts/generate_typescript_notifications.mjs index a222d33ca..e5fa7d481 100644 --- a/protocol/scripts/generate_typescript_notifications.mjs +++ b/protocol/scripts/generate_typescript_notifications.mjs @@ -17,7 +17,7 @@ const outputPath = path.resolve( 'languages/typescript/src/generated/ProtocolNotifications.ts', ); -const SPEC_VERSION = '2026-04-08'; +const {protocolVersion: SPEC_VERSION} = JSON.parse(fs.readFileSync(path.join(protocolRoot, 'source-lock.json'), 'utf8')); // TypeScript-specific notification decode wiring: each payload model maps to its // generated codec function and the JSON-RPC params wrapper key it arrives under diff --git a/protocol/scripts/generate_typescript_rename_map.mjs b/protocol/scripts/generate_typescript_rename_map.mjs index 09fc88157..23b10298a 100644 --- a/protocol/scripts/generate_typescript_rename_map.mjs +++ b/protocol/scripts/generate_typescript_rename_map.mjs @@ -1,6 +1,6 @@ import fs from "node:fs/promises"; import path from "node:path"; -import {fileURLToPath} from "node:url"; +import {fileURLToPath, pathToFileURL} from "node:url"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const PROTOCOL_DIR = path.resolve(__dirname, ".."); @@ -32,14 +32,12 @@ function r(name) { return {ref: name}; } -async function loadTypeMap() { - const source = await fs.readFile(MODELS, "utf8"); - const marker = "export const typeMap: any = {"; - const start = source.indexOf(marker); - if (start === -1) { - throw new Error("typeMap literal not found in Models.ts"); +export function parseTypeMap(source) { + const declaration = /^(?:export\s+)?const\s+typeMap\s*:\s*any\s*=\s*\{/m.exec(source); + if (!declaration) { + throw new Error("Expected quicktype const or export const typeMap object in Models.ts"); } - const literal = source.slice(start + marker.length - 1).replace(/;\s*$/, ""); + const literal = source.slice(declaration.index + declaration[0].length - 1).replace(/;\s*$/, ""); // eslint-disable-next-line no-new-func const factory = new Function( "l", @@ -154,7 +152,7 @@ function buildRenameMap(typeMap, contains) { } async function main() { - const typeMap = await loadTypeMap(); + const typeMap = parseTypeMap(await fs.readFile(MODELS, "utf8")); const contains = computeContainsRename(typeMap); const renameMap = buildRenameMap(typeMap, contains); const sorted = Object.fromEntries( @@ -192,4 +190,6 @@ export const renameMap: Record = ${JSON.stringify( ); } -await main(); +if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) { + await main(); +} diff --git a/protocol/services/shopping/embedded.openrpc.json b/protocol/services/shopping/embedded.openrpc.json index d9f8a78c2..888347558 100644 --- a/protocol/services/shopping/embedded.openrpc.json +++ b/protocol/services/shopping/embedded.openrpc.json @@ -560,7 +560,7 @@ "instruments": { "type": "array", "items": { - "$ref": "../../schemas/shopping/types/payment_instrument.json#/$defs/selected_payment_instrument" + "$ref": "../../schemas/common/types/payment_instrument.json#/$defs/selected_payment_instrument" }, "description": "Available payment instruments." } diff --git a/protocol/source-lock.json b/protocol/source-lock.json index 03a9f7254..f3435390c 100644 --- a/protocol/source-lock.json +++ b/protocol/source-lock.json @@ -1,7 +1,7 @@ { - "protocolVersion": "2026-04-08", + "protocolVersion": "2026-08-25", "upstreamRepository": "Universal-Commerce-Protocol/ucp", - "upstreamCommit": "e627e4c9c84b5a9b54fa19c7e0c2231e78c00d8e", + "upstreamCommit": "cd78fb38e819de77d9b527d110476eccb876f1bd", "files": [ { "local": "protocol/schemas/capability.json", @@ -15,10 +15,50 @@ "local": "protocol/schemas/common/loyalty.json", "upstream": "source/schemas/common/loyalty.json" }, + { + "local": "protocol/schemas/common/payment_ap2_mandate.json", + "upstream": "source/schemas/common/payment_ap2_mandate.json" + }, + { + "local": "protocol/schemas/common/payment_split_payments.json", + "upstream": "source/schemas/common/payment_split_payments.json" + }, + { + "local": "protocol/schemas/common/types/actions.json", + "upstream": "source/schemas/common/types/actions.json" + }, { "local": "protocol/schemas/common/types/amount.json", "upstream": "source/schemas/common/types/amount.json" }, + { + "local": "protocol/schemas/common/types/available_payment_instrument.json", + "upstream": "source/schemas/common/types/available_payment_instrument.json" + }, + { + "local": "protocol/schemas/common/types/binding.json", + "upstream": "source/schemas/common/types/binding.json" + }, + { + "local": "protocol/schemas/common/types/business_split_payments_config.json", + "upstream": "source/schemas/common/types/business_split_payments_config.json" + }, + { + "local": "protocol/schemas/common/types/card_credential.json", + "upstream": "source/schemas/common/types/card_credential.json" + }, + { + "local": "protocol/schemas/common/types/card_payment_instrument.json", + "upstream": "source/schemas/common/types/card_payment_instrument.json" + }, + { + "local": "protocol/schemas/common/types/constraint_expression.json", + "upstream": "source/schemas/common/types/constraint_expression.json" + }, + { + "local": "protocol/schemas/common/types/context.json", + "upstream": "source/schemas/common/types/context.json" + }, { "local": "protocol/schemas/common/types/description.json", "upstream": "source/schemas/common/types/description.json" @@ -35,10 +75,26 @@ "local": "protocol/schemas/common/types/info_code.json", "upstream": "source/schemas/common/types/info_code.json" }, + { + "local": "protocol/schemas/common/types/instrument_group.json", + "upstream": "source/schemas/common/types/instrument_group.json" + }, { "local": "protocol/schemas/common/types/link.json", "upstream": "source/schemas/common/types/link.json" }, + { + "local": "protocol/schemas/common/types/locality.json", + "upstream": "source/schemas/common/types/locality.json" + }, + { + "local": "protocol/schemas/common/types/location_summary.json", + "upstream": "source/schemas/common/types/location_summary.json" + }, + { + "local": "protocol/schemas/common/types/measure.json", + "upstream": "source/schemas/common/types/measure.json" + }, { "local": "protocol/schemas/common/types/media.json", "upstream": "source/schemas/common/types/media.json" @@ -63,6 +119,26 @@ "local": "protocol/schemas/common/types/pagination.json", "upstream": "source/schemas/common/types/pagination.json" }, + { + "local": "protocol/schemas/common/types/payment.json", + "upstream": "source/schemas/common/types/payment.json" + }, + { + "local": "protocol/schemas/common/types/payment_credential.json", + "upstream": "source/schemas/common/types/payment_credential.json" + }, + { + "local": "protocol/schemas/common/types/payment_identity.json", + "upstream": "source/schemas/common/types/payment_identity.json" + }, + { + "local": "protocol/schemas/common/types/payment_instrument.json", + "upstream": "source/schemas/common/types/payment_instrument.json" + }, + { + "local": "protocol/schemas/common/types/policy.json", + "upstream": "source/schemas/common/types/policy.json" + }, { "local": "protocol/schemas/common/types/postal_address.json", "upstream": "source/schemas/common/types/postal_address.json" @@ -71,14 +147,50 @@ "local": "protocol/schemas/common/types/price.json", "upstream": "source/schemas/common/types/price.json" }, + { + "local": "protocol/schemas/common/types/price_filter.json", + "upstream": "source/schemas/common/types/price_filter.json" + }, + { + "local": "protocol/schemas/common/types/price_range.json", + "upstream": "source/schemas/common/types/price_range.json" + }, + { + "local": "protocol/schemas/common/types/quantity_unit.json", + "upstream": "source/schemas/common/types/quantity_unit.json" + }, + { + "local": "protocol/schemas/common/types/request_constraints.json", + "upstream": "source/schemas/common/types/request_constraints.json" + }, { "local": "protocol/schemas/common/types/reverse_domain_name.json", "upstream": "source/schemas/common/types/reverse_domain_name.json" }, + { + "local": "protocol/schemas/common/types/signals.json", + "upstream": "source/schemas/common/types/signals.json" + }, { "local": "protocol/schemas/common/types/signed_amount.json", "upstream": "source/schemas/common/types/signed_amount.json" }, + { + "local": "protocol/schemas/common/types/token_credential.json", + "upstream": "source/schemas/common/types/token_credential.json" + }, + { + "local": "protocol/schemas/common/types/total.json", + "upstream": "source/schemas/common/types/total.json" + }, + { + "local": "protocol/schemas/common/types/totals.json", + "upstream": "source/schemas/common/types/totals.json" + }, + { + "local": "protocol/schemas/common/types/unit.json", + "upstream": "source/schemas/common/types/unit.json" + }, { "local": "protocol/schemas/common/types/warning_code.json", "upstream": "source/schemas/common/types/warning_code.json" @@ -95,10 +207,6 @@ "local": "protocol/schemas/service.json", "upstream": "source/schemas/service.json" }, - { - "local": "protocol/schemas/shopping/ap2_mandate.json", - "upstream": "source/schemas/shopping/ap2_mandate.json" - }, { "local": "protocol/schemas/shopping/buyer_consent.json", "upstream": "source/schemas/shopping/buyer_consent.json" @@ -131,18 +239,6 @@ "local": "protocol/schemas/shopping/order.json", "upstream": "source/schemas/shopping/order.json" }, - { - "local": "protocol/schemas/shopping/payment.json", - "upstream": "source/schemas/shopping/payment.json" - }, - { - "local": "protocol/schemas/shopping/split_payments.json", - "upstream": "source/schemas/shopping/split_payments.json" - }, - { - "local": "protocol/schemas/shopping/types/account_info.json", - "upstream": "source/schemas/shopping/types/account_info.json" - }, { "local": "protocol/schemas/shopping/types/adjustment.json", "upstream": "source/schemas/shopping/types/adjustment.json" @@ -152,41 +248,21 @@ "upstream": "source/schemas/shopping/types/attribution.json" }, { - "local": "protocol/schemas/shopping/types/available_payment_instrument.json", - "upstream": "source/schemas/shopping/types/available_payment_instrument.json" - }, - { - "local": "protocol/schemas/shopping/types/binding.json", - "upstream": "source/schemas/shopping/types/binding.json" + "local": "protocol/schemas/shopping/types/availability.json", + "upstream": "source/schemas/shopping/types/availability.json" }, { "local": "protocol/schemas/shopping/types/business_fulfillment_config.json", "upstream": "source/schemas/shopping/types/business_fulfillment_config.json" }, - { - "local": "protocol/schemas/shopping/types/business_split_payments_config.json", - "upstream": "source/schemas/shopping/types/business_split_payments_config.json" - }, { "local": "protocol/schemas/shopping/types/buyer.json", "upstream": "source/schemas/shopping/types/buyer.json" }, - { - "local": "protocol/schemas/shopping/types/card_credential.json", - "upstream": "source/schemas/shopping/types/card_credential.json" - }, - { - "local": "protocol/schemas/shopping/types/card_payment_instrument.json", - "upstream": "source/schemas/shopping/types/card_payment_instrument.json" - }, { "local": "protocol/schemas/shopping/types/category.json", "upstream": "source/schemas/shopping/types/category.json" }, - { - "local": "protocol/schemas/shopping/types/context.json", - "upstream": "source/schemas/shopping/types/context.json" - }, { "local": "protocol/schemas/shopping/types/detail_option_value.json", "upstream": "source/schemas/shopping/types/detail_option_value.json" @@ -207,6 +283,10 @@ "local": "protocol/schemas/shopping/types/fulfillment_destination.json", "upstream": "source/schemas/shopping/types/fulfillment_destination.json" }, + { + "local": "protocol/schemas/shopping/types/fulfillment_destination_filter.json", + "upstream": "source/schemas/shopping/types/fulfillment_destination_filter.json" + }, { "local": "protocol/schemas/shopping/types/fulfillment_event.json", "upstream": "source/schemas/shopping/types/fulfillment_event.json" @@ -224,12 +304,12 @@ "upstream": "source/schemas/shopping/types/fulfillment_option.json" }, { - "local": "protocol/schemas/shopping/types/input_correlation.json", - "upstream": "source/schemas/shopping/types/input_correlation.json" + "local": "protocol/schemas/shopping/types/fulfillment_option_base.json", + "upstream": "source/schemas/shopping/types/fulfillment_option_base.json" }, { - "local": "protocol/schemas/shopping/types/instrument_group.json", - "upstream": "source/schemas/shopping/types/instrument_group.json" + "local": "protocol/schemas/shopping/types/input_correlation.json", + "upstream": "source/schemas/shopping/types/input_correlation.json" }, { "local": "protocol/schemas/shopping/types/item.json", @@ -240,8 +320,8 @@ "upstream": "source/schemas/shopping/types/line_item.json" }, { - "local": "protocol/schemas/shopping/types/merchant_fulfillment_config.json", - "upstream": "source/schemas/shopping/types/merchant_fulfillment_config.json" + "local": "protocol/schemas/shopping/types/location_destination.json", + "upstream": "source/schemas/shopping/types/location_destination.json" }, { "local": "protocol/schemas/shopping/types/option_value.json", @@ -255,30 +335,10 @@ "local": "protocol/schemas/shopping/types/order_line_item.json", "upstream": "source/schemas/shopping/types/order_line_item.json" }, - { - "local": "protocol/schemas/shopping/types/payment_credential.json", - "upstream": "source/schemas/shopping/types/payment_credential.json" - }, - { - "local": "protocol/schemas/shopping/types/payment_identity.json", - "upstream": "source/schemas/shopping/types/payment_identity.json" - }, - { - "local": "protocol/schemas/shopping/types/payment_instrument.json", - "upstream": "source/schemas/shopping/types/payment_instrument.json" - }, { "local": "protocol/schemas/shopping/types/platform_fulfillment_config.json", "upstream": "source/schemas/shopping/types/platform_fulfillment_config.json" }, - { - "local": "protocol/schemas/shopping/types/price_filter.json", - "upstream": "source/schemas/shopping/types/price_filter.json" - }, - { - "local": "protocol/schemas/shopping/types/price_range.json", - "upstream": "source/schemas/shopping/types/price_range.json" - }, { "local": "protocol/schemas/shopping/types/product.json", "upstream": "source/schemas/shopping/types/product.json" @@ -291,10 +351,6 @@ "local": "protocol/schemas/shopping/types/rating.json", "upstream": "source/schemas/shopping/types/rating.json" }, - { - "local": "protocol/schemas/shopping/types/retail_location.json", - "upstream": "source/schemas/shopping/types/retail_location.json" - }, { "local": "protocol/schemas/shopping/types/search_filters.json", "upstream": "source/schemas/shopping/types/search_filters.json" @@ -308,20 +364,8 @@ "upstream": "source/schemas/shopping/types/shipping_destination.json" }, { - "local": "protocol/schemas/shopping/types/signals.json", - "upstream": "source/schemas/shopping/types/signals.json" - }, - { - "local": "protocol/schemas/shopping/types/token_credential.json", - "upstream": "source/schemas/shopping/types/token_credential.json" - }, - { - "local": "protocol/schemas/shopping/types/total.json", - "upstream": "source/schemas/shopping/types/total.json" - }, - { - "local": "protocol/schemas/shopping/types/totals.json", - "upstream": "source/schemas/shopping/types/totals.json" + "local": "protocol/schemas/shopping/types/unit_price.json", + "upstream": "source/schemas/shopping/types/unit_price.json" }, { "local": "protocol/schemas/shopping/types/variant.json", From 599de555b96d46e45d584b337d2d6fb812f79dbb Mon Sep 17 00:00:00 2001 From: adrian-augustyn Date: Thu, 24 Sep 2026 19:57:19 +0200 Subject: [PATCH 2/6] test: address review feedback for UCP August upgrade --- .../checkoutkit/CheckoutProtocolTest.kt | 4 ++-- .../checkoutkit/CheckoutUrlDecoratorTest.kt | 2 +- .../tests/AcceleratedCheckoutButtons.test.tsx | 2 +- .../tests/index.test.ts | 4 ++-- .../tests/protocol.test.ts | 23 +++++++++++-------- .../CheckoutURLDecoratorTests.swift | 7 ++++-- platforms/web/src/checkout.test.ts | 4 ++-- .../checkout/ExtensionPreservationTest.kt | 1 - .../VersionCompatibilityTests.swift | 4 ++-- .../test/extension-preservation.test.ts | 1 - .../languages/typescript/test/fixtures.ts | 1 - 11 files changed, 28 insertions(+), 25 deletions(-) diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt index 60570b363..36b713c83 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt @@ -451,7 +451,7 @@ class CheckoutProtocolTest { } @Test - fun `April checkout model decodes extension fields`() { + fun `checkout model decodes extension fields`() { val checkout = Json.decodeFromString( """ { @@ -495,7 +495,7 @@ class CheckoutProtocolTest { "totals": [], "ucp": { "payment_handlers": {}, - "version": "2026-04-08" + "version": "2026-08-25" } } """.trimIndent(), diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt index d87e29d91..e9a097df8 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt @@ -61,7 +61,7 @@ class CheckoutUrlDecoratorTest { @Test fun `decorate replaces caller-supplied supported ECP params and strips unsupported ECP params`() { - val url = "$BASE_URL?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom&ec_auth=token&ec_color_scheme=dark&ck_branding=app" + val url = "$BASE_URL?ec_version=2026-04-08&ec_delegate=custom&ec_auth=token&ec_color_scheme=dark&ck_branding=app" val result = CheckoutUrlDecorator.decorate(url).toUri() assertThat(result.getQueryParameters("ec_version")).containsExactly("2026-08-25") assertThat(result.getQueryParameters("ec_delegate")).containsExactly("window.open") diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx index a5738a50a..454e03b5e 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx @@ -38,7 +38,7 @@ const wireCheckout = { status: 'incomplete', totals: [], ucp: { - version: '2026-04-08', + version: '2026-08-25', payment_handlers: { loyalty_gold: [], }, diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts index f8f63e152..9b26391c1 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts @@ -558,7 +558,7 @@ describe('ShopifyCheckoutKit', () => { status: 'incomplete', totals: [], ucp: { - version: '2026-04-08', + version: '2026-08-25', payment_handlers: { loyalty_gold: [], }, @@ -573,7 +573,7 @@ describe('ShopifyCheckoutKit', () => { status: 'incomplete', totals: [], ucp: { - version: '2026-04-08', + version: '2026-08-25', status: undefined, capabilities: undefined, services: undefined, diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts index da9168f43..6ccef1229 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts @@ -1,4 +1,3 @@ -// April wire payloads are retained here as older-version compatibility coverage. import { CheckoutProtocol, type Checkout, @@ -48,7 +47,7 @@ describe('CheckoutProtocol', () => { totals: [], links: [], ucp: { - version: '2026-04-08', + version: '2026-08-25', payment_handlers: {}, }, }; @@ -72,12 +71,15 @@ describe('CheckoutProtocol', () => { totals: [], links: [], ucp: { - version: '2026-04-08', + version: '2026-08-25', + map_order: { + payment_handlers: ['loyalty_gold'], + }, payment_handlers: { loyalty_gold: [ { id: 'handler-1', - version: '2026-04-08', + version: '2026-08-25', available_instruments: [ { type: 'card', @@ -94,6 +96,7 @@ describe('CheckoutProtocol', () => { }); expect(decoded?.lineItems).toEqual([]); + expect(decoded?.ucp.mapOrder?.payment_handlers).toEqual(['loyalty_gold']); expect(decoded?.ucp.paymentHandlers).toHaveProperty('loyalty_gold'); expect( Object.prototype.hasOwnProperty.call( @@ -122,7 +125,7 @@ describe('CheckoutProtocol', () => { }, ], ucp: { - version: '2026-04-08', + version: '2026-08-25', status: 'error', payment_handlers: { 'com.example.loyalty_gold': [], @@ -157,7 +160,7 @@ describe('CheckoutProtocol', () => { }, ], ucp: { - version: '2026-04-08', + version: '2026-08-25', status: 'error', payment_handlers: {}, }, @@ -212,7 +215,7 @@ describe('CheckoutProtocol', () => { totals: [], ucp: { payment_handlers: {}, - version: '2026-04-08', + version: '2026-08-25', }, }); @@ -255,7 +258,7 @@ describe('CheckoutProtocol', () => { permalink_url: 'https://example.test/orders/order-123', totals: [], ucp: { - version: '2026-04-08', + version: '2026-08-25', }, }), ); @@ -278,7 +281,7 @@ describe('CheckoutProtocol', () => { totals: [], links: [], ucp: { - version: '2026-04-08', + version: '2026-08-25', payment_handlers: {}, services: { 'com.example.embedded': [ @@ -288,7 +291,7 @@ describe('CheckoutProtocol', () => { delegate: ['window.open'], }, transport: 'embedded', - version: '2026-04-08', + version: '2026-08-25', }, ], }, diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift index ac45a08cb..af13040b4 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift @@ -1,4 +1,7 @@ import Foundation +#if !COCOAPODS + import EmbeddedCheckoutProtocol +#endif @testable import ShopifyCheckoutKit import Testing @@ -20,12 +23,12 @@ struct CheckoutURLDecoratorTests { var configuration = Configuration() configuration.appearance = .app(.light) - let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=2026-04-08&ec_version=stale&ck_branding=app&ec_color_scheme=dark")) + let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=2026-04-08&ck_branding=app&ec_color_scheme=dark")) let once = CheckoutURLDecorator.decorate(url, configuration: configuration) let twice = CheckoutURLDecorator.decorate(once, configuration: configuration) let items = queryItems(twice) - #expect(items.filter { $0.name == "ec_version" }.map(\.value) == ["2026-08-25"]) + #expect(items.filter { $0.name == "ec_version" }.map(\.value) == [EmbeddedCheckoutProtocol.specVersion]) #expect(items.filter { $0.name == "ck_branding" }.map(\.value) == ["app"]) #expect(items.filter { $0.name == "ec_color_scheme" }.map(\.value) == ["light"]) } diff --git a/platforms/web/src/checkout.test.ts b/platforms/web/src/checkout.test.ts index 54f396fcf..453f1af97 100644 --- a/platforms/web/src/checkout.test.ts +++ b/platforms/web/src/checkout.test.ts @@ -194,7 +194,7 @@ describe("", () => { it("replaces caller-supplied ec_* parameters", () => { const checkout = renderCheckout({ - src: "https://example.com/checkout?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom", + src: "https://example.com/checkout?ec_version=2026-04-08&ec_delegate=custom", }); const windowOpenSpy = vi.spyOn(window, "open").mockReturnValue(createMockWindow()); @@ -202,7 +202,7 @@ describe("", () => { checkout.open(); const url = new URL(expectWindowOpenArgs(windowOpenSpy)[0] as string); - expect(url.searchParams.getAll("ec_version")).toEqual(["2026-08-25"]); + expect(url.searchParams.getAll("ec_version")).toEqual([EMBED_PROTOCOL_VERSION]); expect(url.searchParams.getAll("ec_delegate")).toEqual(["window.open"]); }); diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt index 769cb22f0..da85b9d6d 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt @@ -7,7 +7,6 @@ import kotlinx.serialization.json.jsonPrimitive import org.assertj.core.api.Assertions.assertThat import org.junit.Test -// April wire payloads are retained here as older-version compatibility coverage. class ExtensionPreservationTest { private val json = Json { ignoreUnknownKeys = true } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift index 683bb0e86..702c5798e 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift @@ -7,7 +7,7 @@ struct VersionCompatibilityTests { @Test(arguments: ["2026-08-25", "2026-04-08"]) func checkoutPayload(version: String) throws { let data = try fixture("checkout-" + version) - 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.ucp.version == version) #expect(checkout.fulfillment?.methods?.first?.type == (version == "2026-08-25" ? "drone_delivery" : "shipping")) @@ -50,7 +50,7 @@ struct VersionCompatibilityTests { let object = try #require(try JSONSerialization.jsonObject(with: data) as? [String: Any]) let params = try #require(object["params"] as? [String: Any]) let wire = try #require(params["error"] as? [String: Any]) - let error = try JSONDecoder().decode(ErrorResponse.self, from: JSONSerialization.data(withJSONObject: wire)) + let error = try JSONDecoder().decode(EmbeddedCheckoutProtocol.ErrorResponse.self, from: JSONSerialization.data(withJSONObject: wire)) #expect(error.ucp.version == "2026-04-08") #expect(error.messages.first?.content == "Try again.") } diff --git a/protocol/languages/typescript/test/extension-preservation.test.ts b/protocol/languages/typescript/test/extension-preservation.test.ts index 5d37ea2d9..94bbb2705 100644 --- a/protocol/languages/typescript/test/extension-preservation.test.ts +++ b/protocol/languages/typescript/test/extension-preservation.test.ts @@ -1,4 +1,3 @@ -// April wire payloads are retained here as older-version compatibility coverage. import {expect, test} from 'vitest'; import {Convert} from '../src/generated/Models'; diff --git a/protocol/languages/typescript/test/fixtures.ts b/protocol/languages/typescript/test/fixtures.ts index 55d2efcb4..9bb1ad283 100644 --- a/protocol/languages/typescript/test/fixtures.ts +++ b/protocol/languages/typescript/test/fixtures.ts @@ -1,4 +1,3 @@ -// April wire payloads are retained here as older-version compatibility coverage. export const CHECKOUT_ENVELOPE = { id: 'checkout-123', currency: 'USD', From 182339f77de62a4bcc815add89b3dcbea5bb5a38 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 25 Sep 2026 12:15:52 +0100 Subject: [PATCH 3/6] test: use the pinned ECP version across test coverage --- .../CheckoutCompletionCacheTest.kt | 2 +- .../checkoutkit/CheckoutEventAdapterTest.kt | 2 +- .../checkoutkit/CheckoutProtocolTest.kt | 12 +-- .../com/shopify/checkoutkit/CheckoutTest.kt | 6 +- .../checkoutkit/CheckoutUrlDecoratorTest.kt | 4 +- .../checkoutkit/CheckoutWebViewTest.kt | 2 +- .../ComposedCheckoutProtocolClientTest.kt | 6 +- .../EmbeddedCheckoutProtocolBridgeTest.kt | 2 +- .../checkoutkit/TelemetryIntegrationTest.kt | 2 +- .../checkoutkit/ProtocolRelayTest.kt | 4 +- .../tests/AcceleratedCheckoutButtons.test.tsx | 3 +- .../tests/index.test.ts | 5 +- .../tests/protocol.test.ts | 24 +++-- .../ProtocolRelayTests.swift | 9 +- .../ApplePayViewControllerTests.swift | 5 +- .../Wallets/WalletControllerTests.swift | 5 +- .../CheckoutURLDecoratorTests.swift | 2 +- .../CheckoutWebViewTests.swift | 2 +- platforms/web/src/checkout.test.ts | 2 +- platforms/web/src/models/checkout.test.ts | 12 ++- platforms/web/src/models/error.test.ts | 7 +- protocol/README.md | 46 ++++----- .../checkout/EmbeddedCheckoutProtocolTest.kt | 11 +-- .../checkout/ExtensionPreservationTest.kt | 2 +- .../embedded/checkout/ProtocolPayloadTest.kt | 72 ++++++++++++++ .../checkout/VersionCompatibilityTest.kt | 93 ------------------- .../checkout-custom-fulfillment.json} | 23 ++++- .../test/resources/checkout-shipping.json} | 33 +++++-- .../src/test/resources/error.json} | 5 +- .../ClientTests.swift | 9 +- .../CodecDecodeTests.swift | 7 +- .../DescriptorTests.swift | 7 -- .../EmbeddedCheckoutProtocolURLTests.swift | 4 +- .../checkout-custom-fulfillment.json} | 23 ++++- .../Fixtures/checkout-shipping.json} | 33 +++++-- .../Fixtures/error.json} | 5 +- .../Fixtures/notification.json | 2 +- .../Fixtures/notification_with_dates.json | 2 +- .../Fixtures/request.json | 2 +- .../ModelDecodingTests.swift | 7 +- .../ProtocolFixtures.swift | 9 ++ .../ProtocolPayloadTests.swift | 57 ++++++++++++ .../VersionCompatibilityTests.swift | 84 ----------------- .../typescript/test/codec-runtime.test.ts | 3 +- .../typescript/test/descriptors.test.ts | 3 +- .../test/extension-preservation.test.ts | 3 +- .../languages/typescript/test/fixtures.ts | 10 +- .../checkout-custom-fulfillment.json} | 23 ++++- .../test/fixtures/checkout-shipping.json} | 33 +++++-- .../test/fixtures/error.json} | 5 +- ...compatibility.test.ts => payloads.test.ts} | 47 +++++----- .../typescript/test/protocol.test.ts | 3 +- .../typescript/test/spec-metadata.test.ts | 4 +- .../languages/typescript/test/url.test.ts | 11 ++- 54 files changed, 431 insertions(+), 368 deletions(-) create mode 100644 protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ProtocolPayloadTest.kt delete mode 100644 protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt rename protocol/languages/{swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json => kotlin/embedded-checkout-protocol/src/test/resources/checkout-custom-fulfillment.json} (90%) rename protocol/languages/{typescript/test/fixtures/checkout-2026-04-08.json => kotlin/embedded-checkout-protocol/src/test/resources/checkout-shipping.json} (76%) rename protocol/languages/{swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json => kotlin/embedded-checkout-protocol/src/test/resources/error.json} (69%) rename protocol/languages/{typescript/test/fixtures/checkout-2026-08-25.json => swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-custom-fulfillment.json} (90%) rename protocol/languages/{kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json => swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-shipping.json} (76%) rename protocol/languages/{typescript/test/fixtures/error-2026-04-08.json => swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error.json} (69%) create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolFixtures.swift create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolPayloadTests.swift delete mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift rename protocol/languages/{kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json => typescript/test/fixtures/checkout-custom-fulfillment.json} (90%) rename protocol/languages/{swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json => typescript/test/fixtures/checkout-shipping.json} (76%) rename protocol/languages/{kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json => typescript/test/fixtures/error.json} (69%) rename protocol/languages/typescript/test/{version-compatibility.test.ts => payloads.test.ts} (60%) diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutCompletionCacheTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutCompletionCacheTest.kt index 6299abc64..d099d35f1 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutCompletionCacheTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutCompletionCacheTest.kt @@ -186,7 +186,7 @@ class CheckoutCompletionCacheTest { "params": {"checkout": { "id": "checkout-example", "currency": "USD", "status": "completed", "line_items": [], "links": [], "totals": [], - "ucp": {"payment_handlers": {}, "version": "2026-04-08"} + "ucp": {"payment_handlers": {}, "version": "${CheckoutProtocol.SPEC_VERSION}"} }} } """.trimIndent() diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt index 47f59fc21..57e0e267f 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt @@ -49,7 +49,7 @@ class CheckoutEventAdapterTest { val adapter = CheckoutEventAdapter(listener) adapter.process(message("ec.start")) adapter.process(message("ec.messages.change")) - adapter.process(message("ec.totals.change", version = "2099-01-01")) + adapter.process(message("ec.totals.change", version = "different-version")) adapter.process(message("ec.fulfillment.change", total = 1)) adapter.process(message("ec.line_items.change", total = 1)) diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt index 36b713c83..488b5368b 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutProtocolTest.kt @@ -348,14 +348,14 @@ class CheckoutProtocolTest { .on(CheckoutProtocol.error) { received = it } val errorMsg = """{"jsonrpc":"2.0","method":"ec.error","params":""" + - """{"error":{"ucp":{"version":"2026-04-08","status":"error"},"messages":[""" + + """{"error":{"ucp":{"version":"${CheckoutProtocol.SPEC_VERSION}","status":"error"},"messages":[""" + """{"type":"error","code":"unknown_error","content":"fail","severity":"unrecoverable"},""" + """{"type":"error","code":"session_expired","content":"expired","severity":"recoverable"}""" + """],"continue_url":"https://example.com/retry"}}}""" client.process(errorMsg) shadowOf(Looper.getMainLooper()).runToEndOfTasks() - assertThat(received?.ucp?.version).isEqualTo("2026-04-08") + assertThat(received?.ucp?.version).isEqualTo(CheckoutProtocol.SPEC_VERSION) assertThat(received?.ucp?.status).isEqualTo(ErrorStatus.Error) assertThat(received?.messages).hasSize(2) assertThat(received?.messages?.get(0)?.type).isEqualTo(MessageType.Error) @@ -374,7 +374,7 @@ class CheckoutProtocolTest { .on(CheckoutProtocol.error) {} val malformed = """{"jsonrpc":"2.0","method":"ec.error","params":""" + - """{"error":{"ucp":{"version":"2026-04-08","status":"error"},"messages":"not-an-array"}}}""" + """{"error":{"ucp":{"version":"${CheckoutProtocol.SPEC_VERSION}","status":"error"},"messages":"not-an-array"}}}""" client.process(malformed) assertThat( @@ -407,7 +407,7 @@ class CheckoutProtocolTest { .on(CheckoutProtocol.error) {} val malformed = """{"jsonrpc":"2.0","method":"ec.error","params":""" + - """{"error":{"ucp":{"version":"2026-04-08","status":"error"},"messages":"not-an-array"}}}""" + """{"error":{"ucp":{"version":"${CheckoutProtocol.SPEC_VERSION}","status":"error"},"messages":"not-an-array"}}}""" client.process(malformed) assertThat( @@ -424,7 +424,7 @@ class CheckoutProtocolTest { .on(CheckoutProtocol.error) {} val malformed = """{"jsonrpc":"2.0","method":"ec.error","params":""" + - """{"error":{"ucp":{"version":"2026-04-08","status":"error"},"messages":"not-an-array"}}}""" + """{"error":{"ucp":{"version":"${CheckoutProtocol.SPEC_VERSION}","status":"error"},"messages":"not-an-array"}}}""" client.process(malformed) assertThat( @@ -495,7 +495,7 @@ class CheckoutProtocolTest { "totals": [], "ucp": { "payment_handlers": {}, - "version": "2026-08-25" + "version": "${CheckoutProtocol.SPEC_VERSION}" } } """.trimIndent(), diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt index 9f0e0b344..741252679 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt @@ -151,7 +151,7 @@ class CheckoutTest { fun `snapshot equality includes nested values and extensions but excludes protocol metadata`() { val protocolCheckout = json.decodeFromString(fullCheckout) val checkout = Checkout.fromProtocol(protocolCheckout) - val newProtocolVersion = protocolCheckout.copy(ucp = protocolCheckout.ucp.copy(version = "2027-01-01")) + val newProtocolVersion = protocolCheckout.copy(ucp = protocolCheckout.ucp.copy(version = "different-version")) val newLineItem = protocolCheckout.lineItems.first().copy(quantity = 3) val changedItems = protocolCheckout.copy(lineItems = listOf(newLineItem)) val changedExtension = protocolCheckout.copy(additionalProperties = mapOf("com.example.extension" to JsonNull)) @@ -265,7 +265,7 @@ class CheckoutTest { "links": [], "status": "incomplete", "totals": [], - "ucp": {"payment_handlers": {}, "version": "2026-04-08"} + "ucp": {"payment_handlers": {}, "version": "${CheckoutProtocol.SPEC_VERSION}"} } """.trimIndent() @@ -334,7 +334,7 @@ class CheckoutTest { "display_text": "Total", "lines": [{"amount": 2800, "display_text": "Example breakdown"}] }], - "ucp": {"payment_handlers": {}, "version": "2026-04-08"}, + "ucp": {"payment_handlers": {}, "version": "${CheckoutProtocol.SPEC_VERSION}"}, "com.example.extension": {"array": [1, false, null], "large_number": 9223372036854775806, "empty": {}} } """.trimIndent() diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt index e9a097df8..c9a511cf5 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutUrlDecoratorTest.kt @@ -61,9 +61,9 @@ class CheckoutUrlDecoratorTest { @Test fun `decorate replaces caller-supplied supported ECP params and strips unsupported ECP params`() { - val url = "$BASE_URL?ec_version=2026-04-08&ec_delegate=custom&ec_auth=token&ec_color_scheme=dark&ck_branding=app" + val url = "$BASE_URL?ec_version=caller-supplied&ec_delegate=custom&ec_auth=token&ec_color_scheme=dark&ck_branding=app" val result = CheckoutUrlDecorator.decorate(url).toUri() - assertThat(result.getQueryParameters("ec_version")).containsExactly("2026-08-25") + assertThat(result.getQueryParameters("ec_version")).containsExactly(CheckoutProtocol.SPEC_VERSION) assertThat(result.getQueryParameters("ec_delegate")).containsExactly("window.open") assertThat(result.getQueryParameters("ec_auth")).isEmpty() assertThat(result.getQueryParameters("ec_color_scheme")).containsExactly("automatic") diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutWebViewTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutWebViewTest.kt index e3212dd43..b9d0d3f4b 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutWebViewTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutWebViewTest.kt @@ -510,7 +510,7 @@ class CheckoutWebViewTest { @Test fun `loadCheckout replaces ec_version when already present`() { val view = checkoutWebView(activity) - val callerSuppliedVersion = "2026-01-23" + val callerSuppliedVersion = "caller-supplied" val urlWithVersion = "https://checkout.shopify.com/cart/123?ec_version=$callerSuppliedVersion" view.loadCheckout(urlWithVersion) diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/ComposedCheckoutProtocolClientTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/ComposedCheckoutProtocolClientTest.kt index e4be40f70..96a18d58c 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/ComposedCheckoutProtocolClientTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/ComposedCheckoutProtocolClientTest.kt @@ -173,6 +173,10 @@ class ComposedCheckoutProtocolClientTest { private const val WINDOW_OPEN_REQUEST = """{"jsonrpc":"2.0","method":"ec.window.open_request","id":"1","params":{"url":"https://example.com"}}""" private const val ERROR_NOTIFICATION = - """{"jsonrpc":"2.0","method":"ec.error","params":{"error":{"ucp":{"version":"2026-04-08","status":"error"},"messages":[]}}}""" + """ + {"jsonrpc":"2.0","method":"ec.error","params":{"error":{ + "ucp":{"version":"${CheckoutProtocol.SPEC_VERSION}","status":"error"},"messages":[] + }}} + """ } } diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/EmbeddedCheckoutProtocolBridgeTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/EmbeddedCheckoutProtocolBridgeTest.kt index 72eb2a6f3..266fac5c6 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/EmbeddedCheckoutProtocolBridgeTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/EmbeddedCheckoutProtocolBridgeTest.kt @@ -946,7 +946,7 @@ class EmbeddedCheckoutProtocolBridgeTest { } private companion object { - private const val ERROR_RESPONSE_UCP = """"ucp":{"version":"2026-04-08","status":"error"}""" + private const val ERROR_RESPONSE_UCP = """"ucp":{"version":"${CheckoutProtocol.SPEC_VERSION}","status":"error"}""" private const val FAKE_BROWSER_PACKAGE = "com.fake.browser" private const val CUSTOM_TABS_SERVICE_ACTION = "android.support.customtabs.action.CustomTabsService" } diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/TelemetryIntegrationTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/TelemetryIntegrationTest.kt index b7a7ccf68..b5cdb3aa0 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/TelemetryIntegrationTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/TelemetryIntegrationTest.kt @@ -278,7 +278,7 @@ class TelemetryIntegrationTest { private fun ecErrorMessage(): String { val error = """ |{ - | "ucp":{"version":"2026-04-08","status":"error"}, + | "ucp":{"version":"${CheckoutProtocol.SPEC_VERSION}","status":"error"}, | "messages":[ | { | "type":"error", diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/src/test/java/com/shopify/reactnative/checkoutkit/ProtocolRelayTest.kt b/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/src/test/java/com/shopify/reactnative/checkoutkit/ProtocolRelayTest.kt index 74b088d3c..15b4f67aa 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/src/test/java/com/shopify/reactnative/checkoutkit/ProtocolRelayTest.kt +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/android/src/test/java/com/shopify/reactnative/checkoutkit/ProtocolRelayTest.kt @@ -196,7 +196,7 @@ private val ecStartNotificationFixture = """ "params": { "checkout": { "ucp": { - "version": "2026-04-08", + "version": "${CheckoutProtocol.SPEC_VERSION}", "payment_handlers": { "com.example.loyalty_gold": [] } @@ -237,7 +237,7 @@ private val ecErrorNotificationFixture = """ "params": { "error": { "ucp": { - "version": "2026-04-08", + "version": "${CheckoutProtocol.SPEC_VERSION}", "status": "error" }, "messages": [ diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx index 454e03b5e..357c1f2a0 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/AcceleratedCheckoutButtons.test.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import {EmbeddedCheckoutProtocol} from '@shopify/checkout-kit-protocol'; import {render, act} from '@testing-library/react-native'; import {Platform, UIManager} from 'react-native'; import { @@ -38,7 +39,7 @@ const wireCheckout = { status: 'incomplete', totals: [], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, payment_handlers: { loyalty_gold: [], }, diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts index 9b26391c1..91e8756b1 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/index.test.ts @@ -20,6 +20,7 @@ import {__resetDispatchEventParityForTests} from '../src/dispatch-events'; import {__resetPreloadForTests} from '../src/preload'; import type {ApplePayContactField} from '../src/index.d'; import {TurboModuleRegistry, PermissionsAndroid, Platform} from 'react-native'; +import {EmbeddedCheckoutProtocol} from '@shopify/checkout-kit-protocol'; const NativeModule = TurboModuleRegistry.getEnforcing( 'ShopifyCheckoutKit', @@ -558,7 +559,7 @@ describe('ShopifyCheckoutKit', () => { status: 'incomplete', totals: [], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, payment_handlers: { loyalty_gold: [], }, @@ -573,7 +574,7 @@ describe('ShopifyCheckoutKit', () => { status: 'incomplete', totals: [], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, status: undefined, capabilities: undefined, services: undefined, diff --git a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts index 6ccef1229..52851f4e6 100644 --- a/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts +++ b/platforms/react-native/modules/@shopify/checkout-kit-react-native/tests/protocol.test.ts @@ -4,7 +4,11 @@ import { type ErrorResponse, type ProtocolHandlers, } from '../src'; -import {Convert, type LineItemQuantity} from '@shopify/checkout-kit-protocol'; +import { + Convert, + EmbeddedCheckoutProtocol, + type LineItemQuantity, +} from '@shopify/checkout-kit-protocol'; import {decodeProtocolPayload} from '../src/protocol'; const checkoutPayloadMethods = [ @@ -47,7 +51,7 @@ describe('CheckoutProtocol', () => { totals: [], links: [], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, payment_handlers: {}, }, }; @@ -71,7 +75,7 @@ describe('CheckoutProtocol', () => { totals: [], links: [], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, map_order: { payment_handlers: ['loyalty_gold'], }, @@ -79,7 +83,7 @@ describe('CheckoutProtocol', () => { loyalty_gold: [ { id: 'handler-1', - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, available_instruments: [ { type: 'card', @@ -125,7 +129,7 @@ describe('CheckoutProtocol', () => { }, ], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, status: 'error', payment_handlers: { 'com.example.loyalty_gold': [], @@ -160,7 +164,7 @@ describe('CheckoutProtocol', () => { }, ], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, status: 'error', payment_handlers: {}, }, @@ -215,7 +219,7 @@ describe('CheckoutProtocol', () => { totals: [], ucp: { payment_handlers: {}, - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, }, }); @@ -258,7 +262,7 @@ describe('CheckoutProtocol', () => { permalink_url: 'https://example.test/orders/order-123', totals: [], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, }, }), ); @@ -281,7 +285,7 @@ describe('CheckoutProtocol', () => { totals: [], links: [], ucp: { - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, payment_handlers: {}, services: { 'com.example.embedded': [ @@ -291,7 +295,7 @@ describe('CheckoutProtocol', () => { delegate: ['window.open'], }, transport: 'embedded', - version: '2026-08-25', + version: EmbeddedCheckoutProtocol.specVersion, }, ], }, diff --git a/platforms/react-native/test/rct-integration-app/RCTIntegrationAppTests/ProtocolRelayTests.swift b/platforms/react-native/test/rct-integration-app/RCTIntegrationAppTests/ProtocolRelayTests.swift index 097b92220..01f5462ab 100644 --- a/platforms/react-native/test/rct-integration-app/RCTIntegrationAppTests/ProtocolRelayTests.swift +++ b/platforms/react-native/test/rct-integration-app/RCTIntegrationAppTests/ProtocolRelayTests.swift @@ -1,4 +1,9 @@ import Foundation +#if COCOAPODS + import ShopifyCheckoutKit +#else + import EmbeddedCheckoutProtocol +#endif @testable import RNShopifyCheckoutKit import XCTest @@ -130,7 +135,7 @@ private let ecStartNotificationFixture = #""" "params": { "checkout": { "ucp": { - "version": "2026-04-08", + "version": "\#(EmbeddedCheckoutProtocol.specVersion)", "payment_handlers": { "com.example.loyalty_gold": [] } @@ -171,7 +176,7 @@ private let ecErrorNotificationFixture = #""" "params": { "error": { "ucp": { - "version": "2026-04-08", + "version": "\#(EmbeddedCheckoutProtocol.specVersion)", "status": "error" }, "messages": [ diff --git a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift index c7f04a7a0..c5d3b591e 100644 --- a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift +++ b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/ApplePay/ApplePayViewControllerTests.swift @@ -1,3 +1,6 @@ +#if !COCOAPODS + import EmbeddedCheckoutProtocol +#endif @testable import ShopifyAcceleratedCheckouts @testable import ShopifyCheckoutKit import UIKit @@ -165,7 +168,7 @@ class ApplePayViewControllerTests: XCTestCase { {"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"} + "ucp":{"payment_handlers":{},"version":"\(EmbeddedCheckoutProtocol.specVersion)"} }}} """) diff --git a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift index ec0453c66..7b9c6cb3a 100644 --- a/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift +++ b/platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests/Wallets/WalletControllerTests.swift @@ -1,3 +1,6 @@ +#if !COCOAPODS + import EmbeddedCheckoutProtocol +#endif @testable import ShopifyAcceleratedCheckouts @testable import ShopifyCheckoutKit import UIKit @@ -186,7 +189,7 @@ final class WalletControllerTests: XCTestCase { {"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"} + "ucp":{"payment_handlers":{},"version":"\(EmbeddedCheckoutProtocol.specVersion)"} }}} """ } diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift index af13040b4..7221c2e2c 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutURLDecoratorTests.swift @@ -23,7 +23,7 @@ struct CheckoutURLDecoratorTests { var configuration = Configuration() configuration.appearance = .app(.light) - let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=2026-04-08&ck_branding=app&ec_color_scheme=dark")) + let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=caller-supplied&ck_branding=app&ec_color_scheme=dark")) let once = CheckoutURLDecorator.decorate(url, configuration: configuration) let twice = CheckoutURLDecorator.decorate(once, configuration: configuration) let items = queryItems(twice) diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift index 89ccf055d..e1259e471 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutWebViewTests.swift @@ -569,7 +569,7 @@ class CheckoutWebViewTests: XCTestCase { let sensitiveURL = try XCTUnwrap( URL( - string: "https://buyer:secret@shopify1.shopify.com/checkouts/cn/123?ec_version=2026-04-08&ec_auth=test-jwt-token&ec_delegate=payment.instruments_change&checkout[email]=buyer@example.com#fragment" + string: "https://buyer:secret@shopify1.shopify.com/checkouts/cn/123?ec_version=caller-supplied&ec_auth=test-jwt-token&ec_delegate=payment.instruments_change&checkout[email]=buyer@example.com#fragment" ) ) diff --git a/platforms/web/src/checkout.test.ts b/platforms/web/src/checkout.test.ts index 453f1af97..fe905896e 100644 --- a/platforms/web/src/checkout.test.ts +++ b/platforms/web/src/checkout.test.ts @@ -194,7 +194,7 @@ describe("", () => { it("replaces caller-supplied ec_* parameters", () => { const checkout = renderCheckout({ - src: "https://example.com/checkout?ec_version=2026-04-08&ec_delegate=custom", + src: "https://example.com/checkout?ec_version=caller-supplied&ec_delegate=custom", }); const windowOpenSpy = vi.spyOn(window, "open").mockReturnValue(createMockWindow()); diff --git a/platforms/web/src/models/checkout.test.ts b/platforms/web/src/models/checkout.test.ts index bc27a157f..58eb965a2 100644 --- a/platforms/web/src/models/checkout.test.ts +++ b/platforms/web/src/models/checkout.test.ts @@ -1,6 +1,7 @@ import { describe, expect, expectTypeOf, it } from "vitest"; import { decodeProtocolPayload, + EmbeddedCheckoutProtocol, type Buyer, type Checkout as ProtocolCheckout, type CheckoutStatus, @@ -17,7 +18,7 @@ function protocolCheckout(overrides: Partial = {}): ProtocolCh links: [], status: "incomplete", totals: [], - ucp: { version: "2026-04-08", paymentHandlers: {} }, + ucp: { version: EmbeddedCheckoutProtocol.specVersion, paymentHandlers: {} }, ...overrides, }; } @@ -46,7 +47,10 @@ describe("toCheckout", () => { expect(snapshot).not.toBe(original); expect(snapshot).not.toHaveProperty("ucp"); expect({ ...snapshot, ucp: original.ucp }).toEqual(original); - expect(original.ucp).toEqual({ version: "2026-04-08", paymentHandlers: {} }); + expect(original.ucp).toEqual({ + version: EmbeddedCheckoutProtocol.specVersion, + paymentHandlers: {}, + }); expect(snapshot["com.example.extension"]).toEqual({ ucp: { preserved: true }, nested_key: null, @@ -77,7 +81,7 @@ describe("toCheckout", () => { }, ], buyer: { first_name: "Sample", custom_buyer_data: { original_key: false } }, - ucp: { version: "2026-04-08" }, + ucp: { version: EmbeddedCheckoutProtocol.specVersion }, custom_checkout_data: { original_key: [1, null, "sample"] }, }); @@ -141,7 +145,7 @@ describe("checkoutComparisonKey", () => { const first = toCheckout(protocolCheckout()); const second = toCheckout( protocolCheckout({ - ucp: { version: "2099-01-01", paymentHandlers: {}, custom_metadata: true }, + ucp: { version: "different-version", paymentHandlers: {}, custom_metadata: true }, }), ); diff --git a/platforms/web/src/models/error.test.ts b/platforms/web/src/models/error.test.ts index e7d17303f..1f8046f36 100644 --- a/platforms/web/src/models/error.test.ts +++ b/platforms/web/src/models/error.test.ts @@ -1,11 +1,14 @@ import { describe, expect, expectTypeOf, it } from "vitest"; -import type { ErrorResponse } from "@shopify/checkout-kit-protocol"; +import { EmbeddedCheckoutProtocol, type ErrorResponse } from "@shopify/checkout-kit-protocol"; import { toCheckoutError, type CheckoutError, type CheckoutErrorCode } from "./error"; function protocolError(messages: unknown): ErrorResponse { // The shared decoder does not validate every member of the messages field. - return { messages, ucp: { version: "2026-04-08", status: "error" } } as ErrorResponse; + return { + messages, + ucp: { version: EmbeddedCheckoutProtocol.specVersion, status: "error" }, + } as ErrorResponse; } describe("toCheckoutError", () => { diff --git a/protocol/README.md b/protocol/README.md index 6f89a746f..9f1c2bfbd 100644 --- a/protocol/README.md +++ b/protocol/README.md @@ -1,42 +1,32 @@ -# Protocol revision compatibility +# Pinned protocol models and tests The vendored schemas and service definition mirror the UCP revision pinned in `source-lock.json`. Run `dev protocol update-upstream --ref ` to refresh them -and `dev protocol check-upstream` to verify their provenance. Naming and decoder -compatibility adjustments belong in the temporary schema preparation in +and `dev protocol check-upstream` to verify their provenance. Model naming and +decoder adjustments belong in the temporary schema preparation in `scripts/generate_models.mjs`, never in the vendored schemas. -The current SDK handshake requests `2026-08-25`. The model tests also retain -`2026-04-08` checkout and error messages to cover older wire payloads. April dates -in those fixtures are intentional, not current-version defaults or package -release coordinates. +Tests use the generated protocol version constants. The metadata tests verify +that the TypeScript, Swift, and Kotlin constants match `source-lock.json`, so a +pin change requires regenerating the models without editing version literals +throughout the test suite. + +The shared payload fixtures cover shipping and custom fulfillment methods, +plain and rich-text descriptions, shipping-address and business-location +destinations, payment constraints, `ucp.map_order`, errors, and unknown extension +fields. All cases exercise the pinned schema. Fixtures use `{{SPEC_VERSION}}`, +which each test loader replaces with its generated version constant. -The compatibility fixtures exercise `ucp.map_order`, custom fulfillment method -strings (`drone_delivery`), destinations with and without the August `type` -discriminator, and unknown checkout, fulfillment-method, and signals fields. SwiftPM bundles fixtures within its test target; JVM tests use classpath resources. Each language therefore keeps identical JSON copies in its native -test-resource directory, and the TypeScript compatibility suite checks that all -three copies remain byte-for-byte equal. +test-resource directory, and the TypeScript payload suite checks that all three +copies remain byte-for-byte equal. The native models preserve unknown properties on their existing open model surfaces (including checkout and fulfillment methods) and arbitrary signals. Unknown UCP metadata is accepted and ignored by the native models; TypeScript preserves it. `map_order` is a known, typed member in all three languages. -The generated destination model includes both postal-address and business-location -fields. Its discriminator is optional to decode April destinations; this does not -relax the requirement for businesses emitting August responses to include `type`. - -Wire compatibility does not imply source or binary compatibility. Open fulfillment -strings replace the old closed method enums, and generated constructors and -structured fields change. Review the public API reports before a native release. - -The fixtures cover representative April messages, not every historical shape. -The fulfillment-option description decoder narrowly accepts the legacy April -string representation, normalizing it into the existing structured `Description` -model with `plain` set and the rich-text representations absent. Re-encoding -canonicalizes that legacy string to `{ "plain": "..." }`; it does not preserve the -original string wire shape. Payment-instrument constraints use the closed -`ConstraintExpression` model, and unknown legacy constraint keys are not promised -native round-trip preservation. +Wire support does not imply source or binary compatibility. Changes to generated +constructors, field types, and enums can affect consuming applications. Review +the public API reports before a native release. diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt index 7e8a231c0..51695ba52 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/EmbeddedCheckoutProtocolTest.kt @@ -13,11 +13,6 @@ import java.net.URLDecoder import java.nio.charset.StandardCharsets class EmbeddedCheckoutProtocolTest { - @Test - fun `SPEC_VERSION is the current negotiated revision`() { - assertThat(EmbeddedCheckoutProtocol.SPEC_VERSION).isEqualTo("2026-08-25") - } - @Test fun `event catalog exposes embedded checkout methods`() { assertThat(EmbeddedCheckoutProtocol.Event.all).containsExactlyInAnyOrder( @@ -122,7 +117,7 @@ class EmbeddedCheckoutProtocolTest { @Test fun `url replaces caller supplied protocol parameters and is idempotent`() { - val callerSupplied = "$BASE_URL?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom&ec_auth=stale&ec_color_scheme=light" + val callerSupplied = "$BASE_URL?ec_version=caller-supplied&ec_version=stale&ec_delegate=custom&ec_auth=stale&ec_color_scheme=light" val options = EmbeddedCheckoutProtocol.Options( delegations = listOf(EmbeddedCheckoutProtocol.Delegation.windowOpen), auth = "token", @@ -300,7 +295,7 @@ private val checkoutParamsFixture = """ { "checkout": { "ucp": { - "version": "2026-04-08", + "version": "${EmbeddedCheckoutProtocol.SPEC_VERSION}", "payment_handlers": {} }, "id": "checkout-123", @@ -317,7 +312,7 @@ private val errorParamsFixture = """ { "error": { "ucp": { - "version": "2026-04-08", + "version": "${EmbeddedCheckoutProtocol.SPEC_VERSION}", "status": "error" }, "messages": [ diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt index da85b9d6d..d1c9a69fa 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ExtensionPreservationTest.kt @@ -21,7 +21,7 @@ class ExtensionPreservationTest { "links": [], "status": "incomplete", "totals": [], - "ucp": {"payment_handlers": {}, "version": "2026-04-08"}, + "ucp": {"payment_handlers": {}, "version": "${EmbeddedCheckoutProtocol.SPEC_VERSION}"}, "signals": {"dev.ucp.buyer_ip": "203.0.113.7", "com.example.device_id": "abc-123"}, "com.example.foo": "bar" } diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ProtocolPayloadTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ProtocolPayloadTest.kt new file mode 100644 index 000000000..c6e5be05c --- /dev/null +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ProtocolPayloadTest.kt @@ -0,0 +1,72 @@ +package com.shopify.ucp.embedded.checkout + +import kotlinx.serialization.json.Json +import kotlinx.serialization.json.JsonObject +import kotlinx.serialization.json.jsonObject +import org.assertj.core.api.Assertions.assertThat +import org.junit.Test + +class ProtocolPayloadTest { + private val json = Json { ignoreUnknownKeys = true } + + @Test + fun `decodes shipping checkout preserving extensions`() { + assertCheckoutRoundTrips("checkout-shipping", customFulfillment = false) + } + + @Test + fun `decodes custom fulfillment checkout preserving extensions`() { + assertCheckoutRoundTrips("checkout-custom-fulfillment", customFulfillment = true) + } + + private fun assertCheckoutRoundTrips(name: String, customFulfillment: Boolean) { + val wire = fixture(name)["params"]!!.jsonObject["checkout"]!!.jsonObject + val checkout = json.decodeFromJsonElement(Checkout.serializer(), wire) + assertThat(checkout.ucp.version).isEqualTo(EmbeddedCheckoutProtocol.SPEC_VERSION) + assertThat(checkout.fulfillment?.methods?.first()?.type) + .isEqualTo(if (customFulfillment) "drone_delivery" else "shipping") + val option = requireNotNull(checkout.fulfillment?.methods?.first()?.groups?.first()?.options?.first()) + assertThat(option.description?.plain).isEqualTo("Arrives in 3-5 business days") + assertThat(option.description?.markdown) + .isEqualTo(if (customFulfillment) "Arrives in **3-5 business days**" else null) + assertThat(option.description?.html) + .isEqualTo(if (customFulfillment) "

Arrives in 3-5 business days

" else null) + val location = requireNotNull(checkout.fulfillment?.methods?.get(1)?.destinations?.first()) + assertThat(location.id).isEqualTo("location-1") + assertThat(location.name).isEqualTo("Example Pickup Store") + assertThat(location.type).isEqualTo("business_location") + val address = requireNotNull(location.address) + assertThat(address.streetAddress).isEqualTo("456 Example Avenue") + assertThat(address.extendedAddress).isEqualTo("Suite 2") + assertThat(address.addressLocality).isEqualTo("Example City") + assertThat(address.addressRegion).isEqualTo("NY") + assertThat(address.addressCountry).isEqualTo("US") + assertThat(address.postalCode).isEqualTo("10002") + assertThat(checkout.fulfillment?.methods?.first()?.destinations?.first()?.type).isEqualTo("shipping_address") + assertThat(checkout.ucp.mapOrder) + .isEqualTo(if (customFulfillment) mapOf("payment_handlers" to listOf("com.example.wallet")) else null) + assertThat(checkout.fulfillment?.availableMethods?.first()?.type) + .isEqualTo(if (customFulfillment) "drone_delivery" else "shipping") + val encoded = json.encodeToJsonElement(Checkout.serializer(), checkout) + // Native UCP metadata ignores unknown members; Checkout and signals + // retain the extension fields promised by their serializers. + val withoutUnknownMetadata = JsonObject( + wire + ("ucp" to JsonObject(wire["ucp"]!!.jsonObject - "future_metadata")), + ) + assertThat(encoded).isEqualTo(withoutUnknownMetadata) + } + + @Test + fun `decodes error payload`() { + val wire = fixture("error")["params"]!!.jsonObject["error"]!! + val error = json.decodeFromJsonElement(ErrorResponse.serializer(), wire) + assertThat(error.ucp.version).isEqualTo(EmbeddedCheckoutProtocol.SPEC_VERSION) + assertThat(error.messages.first().content).isEqualTo("Try again.") + assertThat(error.messages.first().severity).isEqualTo(Severity.Unrecoverable) + } + + private fun fixture(name: String) = json.parseToJsonElement( + requireNotNull(javaClass.getResource("/$name.json")).readText() + .replace("{{SPEC_VERSION}}", EmbeddedCheckoutProtocol.SPEC_VERSION), + ).jsonObject +} diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt deleted file mode 100644 index 0e16f4333..000000000 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/VersionCompatibilityTest.kt +++ /dev/null @@ -1,93 +0,0 @@ -package com.shopify.ucp.embedded.checkout - -import kotlinx.serialization.json.Json -import kotlinx.serialization.json.JsonArray -import kotlinx.serialization.json.JsonObject -import kotlinx.serialization.json.JsonPrimitive -import kotlinx.serialization.json.jsonArray -import kotlinx.serialization.json.jsonObject -import org.assertj.core.api.Assertions.assertThat -import org.junit.Test - -class VersionCompatibilityTest { - private val json = Json { ignoreUnknownKeys = true } - - @Test - fun `decodes August checkout preserving extensions`() { - assertCheckoutRoundTrips("2026-08-25") - } - - @Test - fun `decodes April checkout preserving extensions`() { - assertCheckoutRoundTrips("2026-04-08") - } - - private fun assertCheckoutRoundTrips(version: String) { - val wire = fixture("checkout-$version")["params"]!!.jsonObject["checkout"]!!.jsonObject - val checkout = json.decodeFromJsonElement(Checkout.serializer(), wire) - assertThat(checkout.ucp.version).isEqualTo(version) - assertThat(checkout.fulfillment?.methods?.first()?.type) - .isEqualTo(if (version == "2026-08-25") "drone_delivery" else "shipping") - val option = requireNotNull(checkout.fulfillment?.methods?.first()?.groups?.first()?.options?.first()) - assertThat(option.description?.plain).isEqualTo("Arrives in 3-5 business days") - assertThat(option.description?.markdown) - .isEqualTo(if (version == "2026-08-25") "Arrives in **3-5 business days**" else null) - assertThat(option.description?.html) - .isEqualTo(if (version == "2026-08-25") "

Arrives in 3-5 business days

" else null) - val location = requireNotNull(checkout.fulfillment?.methods?.get(1)?.destinations?.first()) - assertThat(location.id).isEqualTo("location-1") - assertThat(location.name).isEqualTo("Example Pickup Store") - // April retail locations predate the August destination discriminator. - assertThat(location.type).isEqualTo(if (version == "2026-08-25") "business_location" else null) - val address = requireNotNull(location.address) - assertThat(address.streetAddress).isEqualTo("456 Example Avenue") - assertThat(address.extendedAddress).isEqualTo("Suite 2") - assertThat(address.addressLocality).isEqualTo("Example City") - assertThat(address.addressRegion).isEqualTo("NY") - assertThat(address.addressCountry).isEqualTo("US") - assertThat(address.postalCode).isEqualTo("10002") - if (version == "2026-08-25") { - assertThat(checkout.ucp.mapOrder).isEqualTo(mapOf("payment_handlers" to listOf("com.example.wallet"))) - assertThat(checkout.fulfillment?.availableMethods?.first()?.type).isEqualTo("drone_delivery") - } - val encoded = json.encodeToJsonElement(Checkout.serializer(), checkout) - // Native UCP metadata ignores unknown members; Checkout and signals - // retain the extension fields promised by their serializers. - val withoutUnknownMetadata = JsonObject( - wire + ("ucp" to JsonObject(wire["ucp"]!!.jsonObject - "future_metadata")), - ) - val expected = canonicalizedLegacyDescription(withoutUnknownMetadata) - assertThat(encoded).isEqualTo(expected) - } - - @Test - fun `retains April error payload compatibility`() { - val wire = fixture("error-2026-04-08")["params"]!!.jsonObject["error"]!! - val error = json.decodeFromJsonElement(ErrorResponse.serializer(), wire) - assertThat(error.ucp.version).isEqualTo("2026-04-08") - assertThat(error.messages.first().content).isEqualTo("Try again.") - } - - private fun fixture(name: String) = json.parseToJsonElement( - requireNotNull(javaClass.getResource("/$name.json")).readText(), - ).jsonObject - - private fun canonicalizedLegacyDescription(checkout: JsonObject): JsonObject { - val fulfillment = checkout["fulfillment"]!!.jsonObject - val methods = fulfillment["methods"]!!.jsonArray.toMutableList() - val method = methods.first().jsonObject - val groups = method["groups"]!!.jsonArray.toMutableList() - val group = groups.first().jsonObject - val options = group["options"]!!.jsonArray.toMutableList() - val option = options.first().jsonObject - val description = option["description"] - if (description !is JsonPrimitive || !description.isString) return checkout - - options[0] = JsonObject(option + ("description" to JsonObject(mapOf("plain" to description)))) - groups[0] = JsonObject(group + ("options" to JsonArray(options))) - methods[0] = JsonObject(method + ("groups" to JsonArray(groups))) - return JsonObject( - checkout + ("fulfillment" to JsonObject(fulfillment + ("methods" to JsonArray(methods)))), - ) - } -} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-custom-fulfillment.json similarity index 90% rename from protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json rename to protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-custom-fulfillment.json index d7d3e16e9..9fe1f1569 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-08-25.json +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-custom-fulfillment.json @@ -3,19 +3,32 @@ "method": "ec.start", "params": { "checkout": { - "id": "checkout-compatibility", + "id": "checkout-payload", "currency": "USD", "line_items": [], "links": [], "status": "incomplete", - "totals": [], + "totals": [ + { + "type": "subtotal", + "amount": 0 + }, + { + "type": "fulfillment", + "amount": 500 + }, + { + "type": "total", + "amount": 500 + } + ], "ucp": { - "version": "2026-08-25", + "version": "{{SPEC_VERSION}}", "payment_handlers": { "com.example.wallet": [ { "id": "example-wallet", - "version": "2026-08-25", + "version": "{{SPEC_VERSION}}", "available_instruments": [ { "type": "card", @@ -135,7 +148,7 @@ ] }, "signals": { - "com.example.device_id": "compatibility-test" + "com.example.device_id": "payload-test" }, "com.example.extension": { "nested_value": 42 diff --git a/protocol/languages/typescript/test/fixtures/checkout-2026-04-08.json b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-shipping.json similarity index 76% rename from protocol/languages/typescript/test/fixtures/checkout-2026-04-08.json rename to protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-shipping.json index 25a5fee60..5a96efb81 100644 --- a/protocol/languages/typescript/test/fixtures/checkout-2026-04-08.json +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-shipping.json @@ -3,14 +3,27 @@ "method": "ec.start", "params": { "checkout": { - "id": "checkout-compatibility", + "id": "checkout-payload", "currency": "USD", "line_items": [], "links": [], "status": "incomplete", - "totals": [], + "totals": [ + { + "type": "subtotal", + "amount": 0 + }, + { + "type": "fulfillment", + "amount": 500 + }, + { + "type": "total", + "amount": 500 + } + ], "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "payment_handlers": {} }, "fulfillment": { @@ -22,7 +35,7 @@ ], "methods": [ { - "id": "drone-1", + "id": "shipping-1", "type": "shipping", "line_item_ids": [], "destinations": [ @@ -31,7 +44,8 @@ "street_address": "123 Example Street", "address_locality": "Example City", "address_country": "US", - "postal_code": "10001" + "postal_code": "10001", + "type": "shipping_address" } ], "groups": [ @@ -42,7 +56,9 @@ { "id": "option-standard", "title": "Standard Shipping", - "description": "Arrives in 3-5 business days", + "description": { + "plain": "Arrives in 3-5 business days" + }, "totals": [ { "type": "fulfillment", @@ -73,14 +89,15 @@ "address_region": "NY", "address_country": "US", "postal_code": "10002" - } + }, + "type": "business_location" } ] } ] }, "signals": { - "com.example.device_id": "compatibility-test" + "com.example.device_id": "payload-test" }, "com.example.extension": { "nested_value": 42 diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error.json similarity index 69% rename from protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json rename to protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error.json index 1c3f01423..b30374db1 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error-2026-04-08.json +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error.json @@ -4,14 +4,15 @@ "params": { "error": { "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "status": "error" }, "messages": [ { "type": "error", "code": "checkout_unavailable", - "content": "Try again." + "content": "Try again.", + "severity": "unrecoverable" } ] } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift index 6bc16f0ce..ebe5b3fc6 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift @@ -58,18 +58,15 @@ private final class DecodeErrorRecorder: @unchecked Sendable { @Suite("Client Tests") struct ClientTests { private func notificationFixture() throws -> String { - let url = Bundle.module.url(forResource: "notification", withExtension: "json", subdirectory: "Fixtures")! - return try String(contentsOf: url, encoding: .utf8) + try protocolFixture("notification") } private func readyFixture() throws -> String { - let url = Bundle.module.url(forResource: "ready_response", withExtension: "json", subdirectory: "Fixtures")! - return try String(contentsOf: url, encoding: .utf8) + try protocolFixture("ready_response") } private func requestFixture() throws -> String { - let url = Bundle.module.url(forResource: "request", withExtension: "json", subdirectory: "Fixtures")! - return try String(contentsOf: url, encoding: .utf8) + try protocolFixture("request") } @Test @MainActor func notificationDispatchesToRegisteredHandler() async throws { diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift index 0efced740..8ac798ce9 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift @@ -27,7 +27,7 @@ struct CodecDecodeTests { @Test func decodesErrorNotification() throws { let json = #""" - {"jsonrpc":"2.0","method":"ec.error","params":{"error":{"ucp":{"version":"2026-04-08","status":"error"},"messages":[{"type":"error","code":"unrecoverable","content":"Boom.","severity":"recoverable"}]}}} + {"jsonrpc":"2.0","method":"ec.error","params":{"error":{"ucp":{"version":"\#(EmbeddedCheckoutProtocol.specVersion)","status":"error"},"messages":[{"type":"error","code":"unrecoverable","content":"Boom.","severity":"recoverable"}]}}} """# let message = EmbeddedCheckoutProtocol.decode(jsonRpc: json) @@ -40,7 +40,7 @@ struct CodecDecodeTests { ) #expect(method == "ec.error") - #expect(error.ucp.version == "2026-04-08") + #expect(error.ucp.version == EmbeddedCheckoutProtocol.specVersion) #expect(error.ucp.status == .error) #expect(error.messages.first?.content == "Boom.") } @@ -216,6 +216,5 @@ struct CodecDecodeTests { } private func fixtureString(_ name: String) throws -> String { - let url = Bundle.module.url(forResource: name, withExtension: "json", subdirectory: "Fixtures")! - return try String(contentsOf: url, encoding: .utf8) + try protocolFixture(name) } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift index 7ac6c4ca7..ac53580a1 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/DescriptorTests.swift @@ -4,13 +4,6 @@ import Testing @Suite("Descriptor Tests") struct DescriptorTests { - @Suite("Spec Version") - struct SpecVersion { - @Test func advertisesAugustRevision() { - #expect(EmbeddedCheckoutProtocol.specVersion == "2026-08-25") - } - } - @Suite("Event Catalog") struct EventCatalog { @Test func bindsNotificationMethods() { diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift index 3bd838012..a87e4f9ea 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/EmbeddedCheckoutProtocolURLTests.swift @@ -48,10 +48,10 @@ struct CheckoutProtocolURLTests { } @Test func replacesCallerSuppliedProtocolQueryItems() throws { - let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=2026-04-08&ec_version=stale&ec_delegate=custom")) + let url = try #require(URL(string: "https://shop.com/cart/c/abc?ec_version=caller-supplied&ec_version=stale&ec_delegate=custom")) let items = queryItems(EmbeddedCheckoutProtocol.url(for: url, options: .init(delegations: ["window.open"]))) - #expect(items.filter { $0.name == "ec_version" }.map(\.value) == ["2026-08-25"]) + #expect(items.filter { $0.name == "ec_version" }.map(\.value) == [EmbeddedCheckoutProtocol.specVersion]) #expect(items.filter { $0.name == "ec_delegate" }.map(\.value) == ["window.open"]) } diff --git a/protocol/languages/typescript/test/fixtures/checkout-2026-08-25.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-custom-fulfillment.json similarity index 90% rename from protocol/languages/typescript/test/fixtures/checkout-2026-08-25.json rename to protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-custom-fulfillment.json index d7d3e16e9..9fe1f1569 100644 --- a/protocol/languages/typescript/test/fixtures/checkout-2026-08-25.json +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-custom-fulfillment.json @@ -3,19 +3,32 @@ "method": "ec.start", "params": { "checkout": { - "id": "checkout-compatibility", + "id": "checkout-payload", "currency": "USD", "line_items": [], "links": [], "status": "incomplete", - "totals": [], + "totals": [ + { + "type": "subtotal", + "amount": 0 + }, + { + "type": "fulfillment", + "amount": 500 + }, + { + "type": "total", + "amount": 500 + } + ], "ucp": { - "version": "2026-08-25", + "version": "{{SPEC_VERSION}}", "payment_handlers": { "com.example.wallet": [ { "id": "example-wallet", - "version": "2026-08-25", + "version": "{{SPEC_VERSION}}", "available_instruments": [ { "type": "card", @@ -135,7 +148,7 @@ ] }, "signals": { - "com.example.device_id": "compatibility-test" + "com.example.device_id": "payload-test" }, "com.example.extension": { "nested_value": 42 diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-shipping.json similarity index 76% rename from protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json rename to protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-shipping.json index 25a5fee60..5a96efb81 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-04-08.json +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-shipping.json @@ -3,14 +3,27 @@ "method": "ec.start", "params": { "checkout": { - "id": "checkout-compatibility", + "id": "checkout-payload", "currency": "USD", "line_items": [], "links": [], "status": "incomplete", - "totals": [], + "totals": [ + { + "type": "subtotal", + "amount": 0 + }, + { + "type": "fulfillment", + "amount": 500 + }, + { + "type": "total", + "amount": 500 + } + ], "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "payment_handlers": {} }, "fulfillment": { @@ -22,7 +35,7 @@ ], "methods": [ { - "id": "drone-1", + "id": "shipping-1", "type": "shipping", "line_item_ids": [], "destinations": [ @@ -31,7 +44,8 @@ "street_address": "123 Example Street", "address_locality": "Example City", "address_country": "US", - "postal_code": "10001" + "postal_code": "10001", + "type": "shipping_address" } ], "groups": [ @@ -42,7 +56,9 @@ { "id": "option-standard", "title": "Standard Shipping", - "description": "Arrives in 3-5 business days", + "description": { + "plain": "Arrives in 3-5 business days" + }, "totals": [ { "type": "fulfillment", @@ -73,14 +89,15 @@ "address_region": "NY", "address_country": "US", "postal_code": "10002" - } + }, + "type": "business_location" } ] } ] }, "signals": { - "com.example.device_id": "compatibility-test" + "com.example.device_id": "payload-test" }, "com.example.extension": { "nested_value": 42 diff --git a/protocol/languages/typescript/test/fixtures/error-2026-04-08.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error.json similarity index 69% rename from protocol/languages/typescript/test/fixtures/error-2026-04-08.json rename to protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error.json index 1c3f01423..b30374db1 100644 --- a/protocol/languages/typescript/test/fixtures/error-2026-04-08.json +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/error.json @@ -4,14 +4,15 @@ "params": { "error": { "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "status": "error" }, "messages": [ { "type": "error", "code": "checkout_unavailable", - "content": "Try again." + "content": "Try again.", + "severity": "unrecoverable" } ] } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification.json index 00c0e7693..9e6b8762d 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification.json +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification.json @@ -4,7 +4,7 @@ "params": { "checkout": { "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "payment_handlers": {} }, "id": "checkout-123", diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json index 1a86465b2..8b421152b 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json @@ -4,7 +4,7 @@ "params": { "checkout": { "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "payment_handlers": {} }, "id": "checkout-123", diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/request.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/request.json index bb58cd592..daa70e382 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/request.json +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/request.json @@ -5,7 +5,7 @@ "params": { "checkout": { "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "payment_handlers": {} }, "id": "checkout-789", diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift index f3dc37d47..14910aafc 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift @@ -122,7 +122,7 @@ struct ModelDecodingTests { "totals": [], "ucp": { "payment_handlers": {}, - "version": "2026-04-08" + "version": "\(EmbeddedCheckoutProtocol.specVersion)" } } """ @@ -186,7 +186,7 @@ struct ModelDecodingTests { "links": [], "status": "incomplete", "totals": [], - "ucp": {"payment_handlers": {}, "version": "2026-04-08"}, + "ucp": {"payment_handlers": {}, "version": "\(EmbeddedCheckoutProtocol.specVersion)"}, "signals": {"dev.ucp.buyer_ip": "203.0.113.7", "com.example.device_id": "abc-123"}, "com.example.foo": "bar" } @@ -209,6 +209,5 @@ struct ModelDecodingTests { } private func fixtureString(_ name: String) throws -> String { - let url = Bundle.module.url(forResource: name, withExtension: "json", subdirectory: "Fixtures")! - return try String(contentsOf: url, encoding: .utf8) + try protocolFixture(name) } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolFixtures.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolFixtures.swift new file mode 100644 index 000000000..02e98c839 --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolFixtures.swift @@ -0,0 +1,9 @@ +import Foundation +@testable import EmbeddedCheckoutProtocol +import Testing + +func protocolFixture(_ name: String) throws -> String { + let url = try #require(Bundle.module.url(forResource: name, withExtension: "json", subdirectory: "Fixtures")) + return try String(contentsOf: url, encoding: .utf8) + .replacingOccurrences(of: "{{SPEC_VERSION}}", with: EmbeddedCheckoutProtocol.specVersion) +} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolPayloadTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolPayloadTests.swift new file mode 100644 index 000000000..fe4c37442 --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ProtocolPayloadTests.swift @@ -0,0 +1,57 @@ +import Foundation +@testable import EmbeddedCheckoutProtocol +import Testing + +@Suite("Pinned protocol payloads") +struct ProtocolPayloadTests { + @Test(arguments: ["checkout-shipping", "checkout-custom-fulfillment"]) + func checkoutPayload(name: String) throws { + let customFulfillment = name == "checkout-custom-fulfillment" + let data = Data(try protocolFixture(name).utf8) + let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) + let checkout = envelope.params.checkout + #expect(checkout.ucp.version == EmbeddedCheckoutProtocol.specVersion) + #expect(checkout.fulfillment?.methods?.first?.type == (customFulfillment ? "drone_delivery" : "shipping")) + let option = try #require(checkout.fulfillment?.methods?.first?.groups?.first?.options?.first) + #expect(option.description?.plain == "Arrives in 3-5 business days") + #expect(option.description?.markdown == (customFulfillment ? "Arrives in **3-5 business days**" : nil)) + #expect(option.description?.html == (customFulfillment ? "

Arrives in 3-5 business days

" : nil)) + let pickup = try #require(checkout.fulfillment?.methods?.first { $0.id == "pickup-1" }) + let location = try #require(pickup.destinations?.first) + #expect(location.id == "location-1") + #expect(location.name == "Example Pickup Store") + #expect(location.type == "business_location") + let address = try #require(location.address) + #expect(address.streetAddress == "456 Example Avenue") + #expect(address.extendedAddress == "Suite 2") + #expect(address.addressLocality == "Example City") + #expect(address.addressRegion == "NY") + #expect(address.addressCountry == "US") + #expect(address.postalCode == "10002") + #expect(checkout.fulfillment?.methods?.first?.destinations?.first?.type == "shipping_address") + #expect(checkout.ucp.mapOrder == (customFulfillment ? ["payment_handlers": ["com.example.wallet"]] : nil)) + #expect(checkout.fulfillment?.availableMethods?.first?.type == (customFulfillment ? "drone_delivery" : "shipping")) + let original = try #require(try JSONSerialization.jsonObject(with: data) as? [String: Any]) + let params = try #require(original["params"] as? [String: Any]) + var expected = try #require(params["checkout"] as? [String: Any]) + // Native UCP metadata ignores unknown members; Checkout and signals + // are the existing extension-preservation surfaces. + var metadata = try #require(expected["ucp"] as? [String: Any]) + metadata.removeValue(forKey: "future_metadata") + expected["ucp"] = metadata + let encoded = try JSONEncoder().encode(checkout) + let actual = try #require(try JSONSerialization.jsonObject(with: encoded) as? NSDictionary) + #expect(actual == expected as NSDictionary) + } + + @Test func errorPayload() throws { + let data = Data(try protocolFixture("error").utf8) + let object = try #require(try JSONSerialization.jsonObject(with: data) as? [String: Any]) + let params = try #require(object["params"] as? [String: Any]) + let wire = try #require(params["error"] as? [String: Any]) + let error = try JSONDecoder().decode(EmbeddedCheckoutProtocol.ErrorResponse.self, from: JSONSerialization.data(withJSONObject: wire)) + #expect(error.ucp.version == EmbeddedCheckoutProtocol.specVersion) + #expect(error.messages.first?.content == "Try again.") + #expect(error.messages.first?.severity == .unrecoverable) + } +} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift deleted file mode 100644 index 702c5798e..000000000 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/VersionCompatibilityTests.swift +++ /dev/null @@ -1,84 +0,0 @@ -import Foundation -@testable import EmbeddedCheckoutProtocol -import Testing - -@Suite("Wire version compatibility") -struct VersionCompatibilityTests { - @Test(arguments: ["2026-08-25", "2026-04-08"]) - func checkoutPayload(version: String) throws { - let data = try fixture("checkout-" + version) - let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) - let checkout = envelope.params.checkout - #expect(checkout.ucp.version == version) - #expect(checkout.fulfillment?.methods?.first?.type == (version == "2026-08-25" ? "drone_delivery" : "shipping")) - let option = try #require(checkout.fulfillment?.methods?.first?.groups?.first?.options?.first) - #expect(option.description?.plain == "Arrives in 3-5 business days") - #expect(option.description?.markdown == (version == "2026-08-25" ? "Arrives in **3-5 business days**" : nil)) - #expect(option.description?.html == (version == "2026-08-25" ? "

Arrives in 3-5 business days

" : nil)) - let pickup = try #require(checkout.fulfillment?.methods?.first { $0.id == "pickup-1" }) - let location = try #require(pickup.destinations?.first) - #expect(location.id == "location-1") - #expect(location.name == "Example Pickup Store") - // April retail locations predate the August destination discriminator. - #expect(location.type == (version == "2026-08-25" ? "business_location" : nil)) - let address = try #require(location.address) - #expect(address.streetAddress == "456 Example Avenue") - #expect(address.extendedAddress == "Suite 2") - #expect(address.addressLocality == "Example City") - #expect(address.addressRegion == "NY") - #expect(address.addressCountry == "US") - #expect(address.postalCode == "10002") - if version == "2026-08-25" { - #expect(checkout.ucp.mapOrder == ["payment_handlers": ["com.example.wallet"]]) - #expect(checkout.fulfillment?.availableMethods?.first?.type == "drone_delivery") - } - let original = try #require(try JSONSerialization.jsonObject(with: data) as? [String: Any]) - let params = try #require(original["params"] as? [String: Any]) - var expected = try canonicalizedLegacyDescription(try #require(params["checkout"] as? [String: Any])) - // Native UCP metadata ignores unknown members; Checkout and signals - // are the existing extension-preservation surfaces. - var metadata = try #require(expected["ucp"] as? [String: Any]) - metadata.removeValue(forKey: "future_metadata") - expected["ucp"] = metadata - let encoded = try JSONEncoder().encode(checkout) - let actual = try #require(try JSONSerialization.jsonObject(with: encoded) as? NSDictionary) - #expect(actual == expected as NSDictionary) - } - - @Test func aprilErrorPayload() throws { - let data = try fixture("error-2026-04-08") - let object = try #require(try JSONSerialization.jsonObject(with: data) as? [String: Any]) - let params = try #require(object["params"] as? [String: Any]) - let wire = try #require(params["error"] as? [String: Any]) - let error = try JSONDecoder().decode(EmbeddedCheckoutProtocol.ErrorResponse.self, from: JSONSerialization.data(withJSONObject: wire)) - #expect(error.ucp.version == "2026-04-08") - #expect(error.messages.first?.content == "Try again.") - } - - private func fixture(_ name: String) throws -> Data { - let url = try #require(Bundle.module.url(forResource: name, withExtension: "json", subdirectory: "Fixtures")) - return try Data(contentsOf: url) - } - - private func canonicalizedLegacyDescription(_ checkout: [String: Any]) throws -> [String: Any] { - var checkout = checkout - var fulfillment = try #require(checkout["fulfillment"] as? [String: Any]) - var methods = try #require(fulfillment["methods"] as? [[String: Any]]) - var method = try #require(methods.first) - var groups = try #require(method["groups"] as? [[String: Any]]) - var group = try #require(groups.first) - var options = try #require(group["options"] as? [[String: Any]]) - var option = try #require(options.first) - if let description = option["description"] as? String { - option["description"] = ["plain": description] - } - options[0] = option - group["options"] = options - groups[0] = group - method["groups"] = groups - methods[0] = method - fulfillment["methods"] = methods - checkout["fulfillment"] = fulfillment - return checkout - } -} diff --git a/protocol/languages/typescript/test/codec-runtime.test.ts b/protocol/languages/typescript/test/codec-runtime.test.ts index 5f6e155e5..284018567 100644 --- a/protocol/languages/typescript/test/codec-runtime.test.ts +++ b/protocol/languages/typescript/test/codec-runtime.test.ts @@ -1,5 +1,6 @@ import {expect, test} from 'vitest'; +import {EmbeddedCheckoutProtocol} from '../src/embedded_checkout_protocol'; import { decodeProtocolObject, encodeProtocolObject, @@ -12,7 +13,7 @@ const wire = { links: [], status: 'incomplete', totals: [], - ucp: {version: '2026-04-08'}, + ucp: {version: EmbeddedCheckoutProtocol.specVersion}, x_partner_data: {nested_key: 'value'}, 'com.example.foo': 'bar', }; diff --git a/protocol/languages/typescript/test/descriptors.test.ts b/protocol/languages/typescript/test/descriptors.test.ts index 877707fec..e089a6529 100644 --- a/protocol/languages/typescript/test/descriptors.test.ts +++ b/protocol/languages/typescript/test/descriptors.test.ts @@ -1,5 +1,6 @@ import {describe, test, expect} from 'vitest'; +import {EmbeddedCheckoutProtocol} from '../src/embedded_checkout_protocol'; import { Delegations, notificationDescriptors, @@ -96,7 +97,7 @@ describe('notification descriptors', () => { const decoded = notificationDescriptors.error.decode({ error: { messages: [], - ucp: {version: '2026-04-08', status: 'error', payment_handlers: {}}, + ucp: {version: EmbeddedCheckoutProtocol.specVersion, status: 'error', payment_handlers: {}}, }, }); diff --git a/protocol/languages/typescript/test/extension-preservation.test.ts b/protocol/languages/typescript/test/extension-preservation.test.ts index 94bbb2705..8cb966d16 100644 --- a/protocol/languages/typescript/test/extension-preservation.test.ts +++ b/protocol/languages/typescript/test/extension-preservation.test.ts @@ -1,5 +1,6 @@ import {expect, test} from 'vitest'; +import {EmbeddedCheckoutProtocol} from '../src/embedded_checkout_protocol'; import {Convert} from '../src/generated/Models'; test('preserves unknown top-level and nested extension keys through Convert round-trip', () => { @@ -10,7 +11,7 @@ test('preserves unknown top-level and nested extension keys through Convert roun links: [], status: 'incomplete', totals: [], - ucp: {payment_handlers: {}, version: '2026-04-08'}, + ucp: {payment_handlers: {}, version: EmbeddedCheckoutProtocol.specVersion}, signals: { 'dev.ucp.buyer_ip': '203.0.113.7', 'com.example.device_id': 'abc-123', diff --git a/protocol/languages/typescript/test/fixtures.ts b/protocol/languages/typescript/test/fixtures.ts index 9bb1ad283..b506bcf4e 100644 --- a/protocol/languages/typescript/test/fixtures.ts +++ b/protocol/languages/typescript/test/fixtures.ts @@ -1,3 +1,5 @@ +import {EmbeddedCheckoutProtocol} from '../src/embedded_checkout_protocol'; + export const CHECKOUT_ENVELOPE = { id: 'checkout-123', currency: 'USD', @@ -170,13 +172,13 @@ export const CHECKOUT_ENVELOPE = { }, ], ucp: { - version: '2026-04-08', + version: EmbeddedCheckoutProtocol.specVersion, status: 'success', payment_handlers: { 'com.shopify.payments': [ { id: 'com.shopify.payments', - version: '2026-04-08', + version: EmbeddedCheckoutProtocol.specVersion, available_instruments: [ {type: 'card', brands: ['visa', 'mastercard']}, ], @@ -187,7 +189,7 @@ export const CHECKOUT_ENVELOPE = { 'com.shopify.checkout.embedded': [ { id: 'embedded-1', - version: '2026-04-08', + version: EmbeddedCheckoutProtocol.specVersion, config: {color_scheme: 'dark'}, }, ], @@ -202,6 +204,6 @@ export const CHECKOUT_ENVELOPE = { export const RESULT_FIXTURE = { ucp: { status: 'success', - version: '2026-04-08', + version: EmbeddedCheckoutProtocol.specVersion, }, }; diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json b/protocol/languages/typescript/test/fixtures/checkout-custom-fulfillment.json similarity index 90% rename from protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json rename to protocol/languages/typescript/test/fixtures/checkout-custom-fulfillment.json index d7d3e16e9..9fe1f1569 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/checkout-2026-08-25.json +++ b/protocol/languages/typescript/test/fixtures/checkout-custom-fulfillment.json @@ -3,19 +3,32 @@ "method": "ec.start", "params": { "checkout": { - "id": "checkout-compatibility", + "id": "checkout-payload", "currency": "USD", "line_items": [], "links": [], "status": "incomplete", - "totals": [], + "totals": [ + { + "type": "subtotal", + "amount": 0 + }, + { + "type": "fulfillment", + "amount": 500 + }, + { + "type": "total", + "amount": 500 + } + ], "ucp": { - "version": "2026-08-25", + "version": "{{SPEC_VERSION}}", "payment_handlers": { "com.example.wallet": [ { "id": "example-wallet", - "version": "2026-08-25", + "version": "{{SPEC_VERSION}}", "available_instruments": [ { "type": "card", @@ -135,7 +148,7 @@ ] }, "signals": { - "com.example.device_id": "compatibility-test" + "com.example.device_id": "payload-test" }, "com.example.extension": { "nested_value": 42 diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json b/protocol/languages/typescript/test/fixtures/checkout-shipping.json similarity index 76% rename from protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json rename to protocol/languages/typescript/test/fixtures/checkout-shipping.json index 25a5fee60..5a96efb81 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/checkout-2026-04-08.json +++ b/protocol/languages/typescript/test/fixtures/checkout-shipping.json @@ -3,14 +3,27 @@ "method": "ec.start", "params": { "checkout": { - "id": "checkout-compatibility", + "id": "checkout-payload", "currency": "USD", "line_items": [], "links": [], "status": "incomplete", - "totals": [], + "totals": [ + { + "type": "subtotal", + "amount": 0 + }, + { + "type": "fulfillment", + "amount": 500 + }, + { + "type": "total", + "amount": 500 + } + ], "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "payment_handlers": {} }, "fulfillment": { @@ -22,7 +35,7 @@ ], "methods": [ { - "id": "drone-1", + "id": "shipping-1", "type": "shipping", "line_item_ids": [], "destinations": [ @@ -31,7 +44,8 @@ "street_address": "123 Example Street", "address_locality": "Example City", "address_country": "US", - "postal_code": "10001" + "postal_code": "10001", + "type": "shipping_address" } ], "groups": [ @@ -42,7 +56,9 @@ { "id": "option-standard", "title": "Standard Shipping", - "description": "Arrives in 3-5 business days", + "description": { + "plain": "Arrives in 3-5 business days" + }, "totals": [ { "type": "fulfillment", @@ -73,14 +89,15 @@ "address_region": "NY", "address_country": "US", "postal_code": "10002" - } + }, + "type": "business_location" } ] } ] }, "signals": { - "com.example.device_id": "compatibility-test" + "com.example.device_id": "payload-test" }, "com.example.extension": { "nested_value": 42 diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json b/protocol/languages/typescript/test/fixtures/error.json similarity index 69% rename from protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json rename to protocol/languages/typescript/test/fixtures/error.json index 1c3f01423..b30374db1 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/resources/error-2026-04-08.json +++ b/protocol/languages/typescript/test/fixtures/error.json @@ -4,14 +4,15 @@ "params": { "error": { "ucp": { - "version": "2026-04-08", + "version": "{{SPEC_VERSION}}", "status": "error" }, "messages": [ { "type": "error", "code": "checkout_unavailable", - "content": "Try again." + "content": "Try again.", + "severity": "unrecoverable" } ] } diff --git a/protocol/languages/typescript/test/version-compatibility.test.ts b/protocol/languages/typescript/test/payloads.test.ts similarity index 60% rename from protocol/languages/typescript/test/version-compatibility.test.ts rename to protocol/languages/typescript/test/payloads.test.ts index d324a66a7..64091a9f1 100644 --- a/protocol/languages/typescript/test/version-compatibility.test.ts +++ b/protocol/languages/typescript/test/payloads.test.ts @@ -1,6 +1,7 @@ import {readFileSync} from 'node:fs'; import {describe, expect, test} from 'vitest'; +import {EmbeddedCheckoutProtocol} from '../src/embedded_checkout_protocol'; import {Convert} from '../src/generated/Models'; import {decodeCheckout, decodeErrorResponse} from '../src/generated/ProtocolCodecs'; import {encodeProtocolObject} from '../src/protocol_codec_runtime'; @@ -15,19 +16,20 @@ function fixture(name: string) { ]) { expect(readFileSync(new URL(directory + name + '.json', import.meta.url), 'utf8')).toBe(bytes); } - return JSON.parse(bytes); + return JSON.parse(bytes.replaceAll('{{SPEC_VERSION}}', EmbeddedCheckoutProtocol.specVersion)); } -describe('wire-version compatibility', () => { - test.each(['2026-08-25', '2026-04-08'])('decodes and preserves the %s checkout', (version) => { - const wire = fixture('checkout-' + version).params.checkout; +describe('pinned protocol payloads', () => { + test.each(['checkout-shipping', 'checkout-custom-fulfillment'])('decodes and preserves %s', (name) => { + const customFulfillment = name === 'checkout-custom-fulfillment'; + const wire = fixture(name).params.checkout; const checkout = decodeCheckout(wire); const converted = Convert.toCheckout(JSON.stringify(wire)); - expect(checkout.ucp.version).toBe(version); - expect(converted.ucp.version).toBe(version); - expect(checkout.fulfillment!.methods![0].type).toBe(version === '2026-08-25' ? 'drone_delivery' : 'shipping'); + expect(checkout.ucp.version).toBe(EmbeddedCheckoutProtocol.specVersion); + expect(converted.ucp.version).toBe(EmbeddedCheckoutProtocol.specVersion); + expect(checkout.fulfillment!.methods![0].type).toBe(customFulfillment ? 'drone_delivery' : 'shipping'); const expectedDescription = - version === '2026-08-25' + customFulfillment ? { plain: 'Arrives in 3-5 business days', markdown: 'Arrives in **3-5 business days**', @@ -41,8 +43,7 @@ describe('wire-version compatibility', () => { const location = decoded.fulfillment!.methods![1].destinations![0]; expect(location.id).toBe('location-1'); expect(location.name).toBe('Example Pickup Store'); - // April retail locations predate the August destination discriminator. - expect(location.type).toBe(version === '2026-08-25' ? 'business_location' : undefined); + expect(location.type).toBe('business_location'); expect(location.address!.streetAddress).toBe('456 Example Avenue'); expect(location.address!.extendedAddress).toBe('Suite 2'); expect(location.address!.addressLocality).toBe('Example City'); @@ -50,22 +51,22 @@ describe('wire-version compatibility', () => { expect(location.address!.addressCountry).toBe('US'); expect(location.address!.postalCode).toBe('10002'); } - const canonicalWire = JSON.parse(JSON.stringify(wire)); - if (version === '2026-04-08') { - canonicalWire.fulfillment.methods[0].groups[0].options[0].description = expectedDescription; - } - expect(encodeProtocolObject(checkout, 'Checkout')).toEqual(canonicalWire); - expect(JSON.parse(Convert.checkoutToJson(converted))).toEqual(canonicalWire); - if (version === '2026-08-25') { - expect(checkout.ucp.mapOrder).toEqual({payment_handlers: ['com.example.wallet']}); - expect(checkout.fulfillment!.availableMethods![0].type).toBe('drone_delivery'); - } + expect(checkout.fulfillment!.methods![0].destinations![0].type).toBe('shipping_address'); + expect(encodeProtocolObject(checkout, 'Checkout')).toEqual(wire); + expect(JSON.parse(Convert.checkoutToJson(converted))).toEqual(wire); + expect(checkout.ucp.mapOrder).toEqual( + customFulfillment ? {payment_handlers: ['com.example.wallet']} : undefined, + ); + expect(checkout.fulfillment!.availableMethods![0].type).toBe( + customFulfillment ? 'drone_delivery' : 'shipping', + ); }); - test('retains April error-payload compatibility', () => { - const wire = fixture('error-2026-04-08').params.error; + test('decodes an error payload', () => { + const wire = fixture('error').params.error; const error = decodeErrorResponse(wire); - expect(error.ucp.version).toBe('2026-04-08'); + expect(error.ucp.version).toBe(EmbeddedCheckoutProtocol.specVersion); expect(error.messages[0].content).toBe('Try again.'); + expect(error.messages[0].severity).toBe('unrecoverable'); }); }); diff --git a/protocol/languages/typescript/test/protocol.test.ts b/protocol/languages/typescript/test/protocol.test.ts index bb5f89fce..a353557d9 100644 --- a/protocol/languages/typescript/test/protocol.test.ts +++ b/protocol/languages/typescript/test/protocol.test.ts @@ -1,5 +1,6 @@ import {describe, test, expect} from 'vitest'; +import {EmbeddedCheckoutProtocol} from '../src/embedded_checkout_protocol'; import {decodeProtocolPayload} from '../src/protocol'; describe('decodeProtocolPayload', () => { @@ -11,7 +12,7 @@ describe('decodeProtocolPayload', () => { links: [], status: 'incomplete', totals: [], - ucp: {version: '2026-04-08'}, + ucp: {version: EmbeddedCheckoutProtocol.specVersion}, }) as Record; expect(decoded.lineItems).toEqual([]); diff --git a/protocol/languages/typescript/test/spec-metadata.test.ts b/protocol/languages/typescript/test/spec-metadata.test.ts index 51df3e861..14c635ef3 100644 --- a/protocol/languages/typescript/test/spec-metadata.test.ts +++ b/protocol/languages/typescript/test/spec-metadata.test.ts @@ -17,8 +17,8 @@ describe('spec metadata', () => { expect(SPEC_VERSION).toBe(protocolVersion); }); - // Catch skipped regeneration even when a native test still expects an older - // revision. These files are emitted by the same codegen commands used in CI. + // Catch skipped regeneration in every language even when fixtures use the + // generated constants. These files are emitted by the codegen commands in CI. test.each([ [ 'Swift', diff --git a/protocol/languages/typescript/test/url.test.ts b/protocol/languages/typescript/test/url.test.ts index 58e0e4590..f669bde1d 100644 --- a/protocol/languages/typescript/test/url.test.ts +++ b/protocol/languages/typescript/test/url.test.ts @@ -1,21 +1,22 @@ import {describe, test, expect} from 'vitest'; +import {EmbeddedCheckoutProtocol} from '../src/embedded_checkout_protocol'; import {url} from '../src/url'; import {Delegations} from '../src/generated/ProtocolNotifications'; describe('url handshake', () => { test('appends the spec version', () => { expect(url('https://shop.example/checkout')).toBe( - 'https://shop.example/checkout?ec_version=2026-08-25', + `https://shop.example/checkout?ec_version=${EmbeddedCheckoutProtocol.specVersion}`, ); }); test('replaces an existing protocol version and preserves other query params', () => { - const result = url('https://shop.example/c?ec_version=2026-04-08&ec_version=stale&foo=bar'); + const result = url('https://shop.example/c?ec_version=caller-supplied&ec_version=stale&foo=bar'); expect(result).toContain('foo=bar'); expect(result.match(/ec_version=/g)).toHaveLength(1); - expect(result).toContain('ec_version=2026-08-25'); + expect(result).toContain(`ec_version=${EmbeddedCheckoutProtocol.specVersion}`); }); test('encodes delegations, auth, and color scheme', () => { @@ -34,13 +35,13 @@ describe('url handshake', () => { const result = url('https://shop.example/c#section'); expect(result.endsWith('#section')).toBe(true); - expect(result).toContain('ec_version=2026-08-25'); + expect(result).toContain(`ec_version=${EmbeddedCheckoutProtocol.specVersion}`); }); test('keeps a query param with a malformed percent-encoded name', () => { const result = url('https://shop.example/c?%=1'); expect(result).toContain('%=1'); - expect(result).toContain('ec_version=2026-08-25'); + expect(result).toContain(`ec_version=${EmbeddedCheckoutProtocol.specVersion}`); }); }); From 38394c3e7d51a8ddc1a9536ee79521d9ab87a200 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 25 Sep 2026 12:26:05 +0100 Subject: [PATCH 4/6] fix(swift): use string fulfillment type in sample --- .../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 c77d5bc82..151e6fae5 100644 --- a/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift @@ -215,7 +215,7 @@ struct CartView: View { 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 } + guard method.type == "shipping", let destinationID = method.selectedDestinationID else { return } selections[method.id] = destinationID } } From 4249fef10ee89f160064eb22eca3ed4a36c112ce Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 25 Sep 2026 12:31:19 +0100 Subject: [PATCH 5/6] fix: preserve checkout actions and policies in native events --- platforms/android/lib/api/lib.api | 4 + .../java/com/shopify/checkoutkit/Checkout.kt | 21 ++ .../shopify/checkoutkit/CheckoutSerializer.kt | 34 +- .../checkoutkit/CheckoutEventAdapterTest.kt | 23 ++ .../com/shopify/checkoutkit/CheckoutTest.kt | 18 +- .../ShopifyCheckoutKit/Models/Checkout.swift | 20 +- .../CheckoutEventAdapterTests.swift | 32 ++ platforms/swift/api/ShopifyCheckoutKit.json | 292 +++++++++++++++++- 8 files changed, 421 insertions(+), 23 deletions(-) diff --git a/platforms/android/lib/api/lib.api b/platforms/android/lib/api/lib.api index 371177802..db845ec86 100644 --- a/platforms/android/lib/api/lib.api +++ b/platforms/android/lib/api/lib.api @@ -10,6 +10,7 @@ public final class com/shopify/checkoutkit/Checkout { public static final field Companion Lcom/shopify/checkoutkit/Checkout$Companion; public synthetic fun (Lcom/shopify/checkoutkit/Checkout$State;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun equals (Ljava/lang/Object;)Z + public final fun getActions ()Ljava/util/Map; public final fun getAdditionalProperties ()Ljava/util/Map; public final fun getAttribution ()Ljava/util/Map; public final fun getBuyer ()Lcom/shopify/ucp/embedded/checkout/Buyer; @@ -25,6 +26,7 @@ public final class com/shopify/checkoutkit/Checkout { public final fun getMessages ()Ljava/util/List; public final fun getOrder ()Lcom/shopify/ucp/embedded/checkout/OrderConfirmation; public final fun getPayment ()Lcom/shopify/ucp/embedded/checkout/Payment; + public final fun getPolicies ()Ljava/util/List; public final fun getSignals ()Lkotlinx/serialization/json/JsonObject; public final fun getStatus ()Lcom/shopify/ucp/embedded/checkout/CheckoutStatus; public final fun getTotals ()Ljava/util/List; @@ -35,6 +37,7 @@ public final class com/shopify/checkoutkit/Checkout { public final class com/shopify/checkoutkit/Checkout$Builder { public fun ()V + public final fun actions (Ljava/util/Map;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun additionalProperties (Ljava/util/Map;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun attribution (Ljava/util/Map;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun build ()Lcom/shopify/checkoutkit/Checkout; @@ -51,6 +54,7 @@ public final class com/shopify/checkoutkit/Checkout$Builder { public final fun messages (Ljava/util/List;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun order (Lcom/shopify/ucp/embedded/checkout/OrderConfirmation;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun payment (Lcom/shopify/ucp/embedded/checkout/Payment;)Lcom/shopify/checkoutkit/Checkout$Builder; + public final fun policies (Ljava/util/List;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun signals (Lkotlinx/serialization/json/JsonObject;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun status (Lcom/shopify/ucp/embedded/checkout/CheckoutStatus;)Lcom/shopify/checkoutkit/Checkout$Builder; public final fun totals (Ljava/util/List;)Lcom/shopify/checkoutkit/Checkout$Builder; diff --git a/platforms/android/lib/src/main/java/com/shopify/checkoutkit/Checkout.kt b/platforms/android/lib/src/main/java/com/shopify/checkoutkit/Checkout.kt index 00cf9cc67..dfd5b8684 100644 --- a/platforms/android/lib/src/main/java/com/shopify/checkoutkit/Checkout.kt +++ b/platforms/android/lib/src/main/java/com/shopify/checkoutkit/Checkout.kt @@ -11,6 +11,7 @@ import com.shopify.ucp.embedded.checkout.Link import com.shopify.ucp.embedded.checkout.Message import com.shopify.ucp.embedded.checkout.OrderConfirmation import com.shopify.ucp.embedded.checkout.Payment +import com.shopify.ucp.embedded.checkout.Policy import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonElement import kotlinx.serialization.json.JsonObject @@ -27,6 +28,9 @@ import com.shopify.ucp.embedded.checkout.Checkout as ProtocolCheckout */ @Serializable(with = CheckoutSerializer::class) public class Checkout private constructor(private val state: State) { + public val actions: Map>? + get() = state.actions + public val attribution: Map? get() = state.attribution @@ -69,6 +73,9 @@ public class Checkout private constructor(private val state: State) { public val payment: Payment? get() = state.payment + public val policies: List? + get() = state.policies + public val signals: JsonObject? get() = state.signals @@ -83,6 +90,7 @@ public class Checkout private constructor(private val state: State) { /** Returns a builder containing all values from this snapshot. */ public fun toBuilder(): Builder = Builder() + .actions(actions) .attribution(attribution) .buyer(buyer) .context(context) @@ -97,6 +105,7 @@ public class Checkout private constructor(private val state: State) { .messages(messages) .order(order) .payment(payment) + .policies(policies) .signals(signals) .status(status) .totals(totals) @@ -116,6 +125,7 @@ public class Checkout private constructor(private val state: State) { */ @Suppress("TooManyFunctions") public class Builder { + private var actions: Map>? = null private var attribution: Map? = null private var buyer: Buyer? = null private var context: Context? = null @@ -130,11 +140,14 @@ public class Checkout private constructor(private val state: State) { private var messages: List? = null private var order: OrderConfirmation? = null private var payment: Payment? = null + private var policies: List? = null private var signals: JsonObject? = null private var status: CheckoutStatus? = null private var totals: List? = null private var additionalProperties: Map = emptyMap() + public fun actions(value: Map>?): Builder = apply { actions = value } + public fun attribution(value: Map?): Builder = apply { attribution = value } public fun buyer(value: Buyer?): Builder = apply { buyer = value } @@ -163,6 +176,8 @@ public class Checkout private constructor(private val state: State) { public fun payment(value: Payment?): Builder = apply { payment = value } + public fun policies(value: List?): Builder = apply { policies = value } + public fun signals(value: JsonObject?): Builder = apply { signals = value } public fun status(value: CheckoutStatus): Builder = apply { status = value } @@ -178,6 +193,7 @@ public class Checkout private constructor(private val state: State) { */ public fun build(): Checkout = Checkout( State( + actions = actions, attribution = attribution, buyer = buyer, context = context, @@ -192,6 +208,7 @@ public class Checkout private constructor(private val state: State) { messages = messages, order = order, payment = payment, + policies = policies, signals = signals, status = checkNotNull(status) { "Missing required checkout field: status" }, totals = checkNotNull(totals) { "Missing required checkout field: totals" }, @@ -202,6 +219,7 @@ public class Checkout private constructor(private val state: State) { @Suppress("LongParameterList") private data class State( + val actions: Map>?, val attribution: Map?, val buyer: Buyer?, val context: Context?, @@ -216,6 +234,7 @@ public class Checkout private constructor(private val state: State) { val messages: List?, val order: OrderConfirmation?, val payment: Payment?, + val policies: List?, val signals: JsonObject?, val status: CheckoutStatus, val totals: List, @@ -224,6 +243,7 @@ public class Checkout private constructor(private val state: State) { public companion object { internal fun fromProtocol(checkout: ProtocolCheckout): Checkout = Builder() + .actions(checkout.actions) .attribution(checkout.attribution) .buyer(checkout.buyer) .context(checkout.context) @@ -238,6 +258,7 @@ public class Checkout private constructor(private val state: State) { .messages(checkout.messages) .order(checkout.order) .payment(checkout.payment) + .policies(checkout.policies) .signals(checkout.signals) .status(checkout.status) .totals(checkout.totals) diff --git a/platforms/android/lib/src/main/java/com/shopify/checkoutkit/CheckoutSerializer.kt b/platforms/android/lib/src/main/java/com/shopify/checkoutkit/CheckoutSerializer.kt index 4fef00cac..4f85d8bd3 100644 --- a/platforms/android/lib/src/main/java/com/shopify/checkoutkit/CheckoutSerializer.kt +++ b/platforms/android/lib/src/main/java/com/shopify/checkoutkit/CheckoutSerializer.kt @@ -18,8 +18,8 @@ internal object CheckoutSerializer : KSerializer { override val descriptor: SerialDescriptor = buildClassSerialDescriptor("com.shopify.checkoutkit.Checkout") internal val reservedKeys: Set = setOf( - "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", - "id", "line_items", "links", "messages", "order", "payment", "signals", "status", "totals", "ucp", + "actions", "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", + "id", "line_items", "links", "messages", "order", "payment", "policies", "signals", "status", "totals", "ucp", ) override fun deserialize(decoder: Decoder): Checkout { @@ -29,6 +29,7 @@ internal object CheckoutSerializer : KSerializer { ?: throw SerializationException("Checkout must be a JSON object") val json = input.json return Checkout.Builder() + .actions(fields.optional("actions", json)) .attribution(fields.optional("attribution", json)) .buyer(fields.optional("buyer", json)) .context(fields.optional("context", json)) @@ -43,6 +44,7 @@ internal object CheckoutSerializer : KSerializer { .messages(fields.optional("messages", json)) .order(fields.optional("order", json)) .payment(fields.optional("payment", json)) + .policies(fields.optional("policies", json)) .signals(fields.optional("signals", json)) .status(fields.required("status", json)) .totals(fields.required("totals", json)) @@ -55,27 +57,33 @@ internal object CheckoutSerializer : KSerializer { ?: throw SerializationException("Checkout can only be serialized to JSON") val json = output.json val fields = linkedMapOf() - value.attribution?.let { fields["attribution"] = json.encodeToJsonElement(it) } - value.buyer?.let { fields["buyer"] = json.encodeToJsonElement(it) } - value.context?.let { fields["context"] = json.encodeToJsonElement(it) } - value.continueURL?.let { fields["continue_url"] = json.encodeToJsonElement(it) } + fields.putOptional("actions", value.actions, json) + fields.putOptional("attribution", value.attribution, json) + fields.putOptional("buyer", value.buyer, json) + fields.putOptional("context", value.context, json) + fields.putOptional("continue_url", value.continueURL, json) fields["currency"] = json.encodeToJsonElement(value.currency) - value.discounts?.let { fields["discounts"] = json.encodeToJsonElement(it) } - value.expiresAt?.let { fields["expires_at"] = json.encodeToJsonElement(it) } - value.fulfillment?.let { fields["fulfillment"] = json.encodeToJsonElement(it) } + fields.putOptional("discounts", value.discounts, json) + fields.putOptional("expires_at", value.expiresAt, json) + fields.putOptional("fulfillment", value.fulfillment, json) fields["id"] = json.encodeToJsonElement(value.id) fields["line_items"] = json.encodeToJsonElement(value.lineItems) fields["links"] = json.encodeToJsonElement(value.links) - value.messages?.let { fields["messages"] = json.encodeToJsonElement(it) } - value.order?.let { fields["order"] = json.encodeToJsonElement(it) } - value.payment?.let { fields["payment"] = json.encodeToJsonElement(it) } - value.signals?.let { fields["signals"] = json.encodeToJsonElement(it) } + fields.putOptional("messages", value.messages, json) + fields.putOptional("order", value.order, json) + fields.putOptional("payment", value.payment, json) + fields.putOptional("policies", value.policies, json) + fields.putOptional("signals", value.signals, json) fields["status"] = json.encodeToJsonElement(value.status) fields["totals"] = json.encodeToJsonElement(value.totals) value.additionalProperties.filterKeys { it !in reservedKeys }.forEach { (key, element) -> fields[key] = element } output.encodeJsonElement(JsonObject(fields)) } + private inline fun MutableMap.putOptional(key: String, value: T?, json: Json) { + if (value != null) this[key] = json.encodeToJsonElement(value) + } + private inline fun JsonObject.required(key: String, json: Json): T = json.decodeFromJsonElement(get(key) ?: throw SerializationException("Missing $key for Checkout")) diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt index 57e0e267f..eb4215f50 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutEventAdapterTest.kt @@ -44,6 +44,27 @@ class CheckoutEventAdapterTest { assertThat(updated.map { it.checkout.totals.single().amount }).containsExactly(1L, 2L, 3L, 4L) } + @Test + fun `actions and policies survive lifecycle events and participate in deduplication`() { + val adapter = CheckoutEventAdapter(listener) + adapter.process(message("ec.start")) + assertThat(started.single().checkout.actions?.get("com.example.review")).hasSize(1) + assertThat(started.single().checkout.policies?.single()?.description?.plain).isEqualTo("Return within 30 days") + + val changedAction = message("ec.messages.change").replace("action-1", "action-2") + adapter.process(changedAction) + adapter.process(changedAction) + assertThat(updated).hasSize(1) + val changedPolicy = changedAction.replace("Return within 30 days", "Return within 60 days") + adapter.process(changedPolicy) + adapter.process(changedPolicy) + assertThat(updated).hasSize(2) + assertThat(updated.last().checkout.policies?.single()?.description?.plain).isEqualTo("Return within 60 days") + + adapter.process(changedPolicy.replace("ec.messages.change", "ec.complete")) + assertThat(completed.single().checkout).isEqualTo(updated.last().checkout) + } + @Test fun `equal updates across sources and ucp-only changes are suppressed`() { val adapter = CheckoutEventAdapter(listener) @@ -130,6 +151,8 @@ class CheckoutEventAdapterTest { extension: String = "value", ): String = """{ "jsonrpc":"2.0","method":"$method","params":{"checkout":{ + "actions":{"com.example.review":[{"id":"action-1"}]}, + "policies":[{"type":"com.example.return","description":{"plain":"Return within 30 days"}}], "id":"checkout-1","currency":"USD","status":"incomplete","line_items":[],"links":[], "messages":[{"type":"error","code":"out_of_stock","content":"Unavailable"}], "totals":[{"type":"total","amount":$total}],"com.example.extension":"$extension", diff --git a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt index 741252679..aa82c3fdf 100644 --- a/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt +++ b/platforms/android/lib/src/test/java/com/shopify/checkoutkit/CheckoutTest.kt @@ -55,11 +55,13 @@ class CheckoutTest { val absent = Checkout.fromProtocol(protocolCheckout) val empty = Checkout.fromProtocol( protocolCheckout.copy( + actions = emptyMap(), attribution = emptyMap(), discounts = CheckoutDiscounts(applied = emptyList(), codes = emptyList()), fulfillment = CheckoutFulfillment(availableMethods = emptyList(), methods = emptyList()), messages = emptyList(), payment = Payment(instruments = emptyList()), + policies = emptyList(), signals = JsonObject(emptyMap()), ), ) @@ -68,14 +70,18 @@ class CheckoutTest { assertThat(empty.messages).isEmpty() assertThat(empty).isNotEqualTo(absent) assertThat(json.encodeToJsonElement(absent).jsonObject).doesNotContainKeys( + "actions", "attribution", "discounts", "fulfillment", "messages", "payment", + "policies", "signals", ) val encoded = json.encodeToJsonElement(empty).jsonObject + assertThat(encoded["actions"]).isEqualTo(JsonObject(emptyMap())) + assertThat(encoded["policies"]).isEqualTo(JsonArray(emptyList())) assertThat(encoded["attribution"]).isEqualTo(JsonObject(emptyMap())) assertThat(encoded["signals"]).isEqualTo(JsonObject(emptyMap())) assertThat(encoded["messages"]).isEqualTo(JsonArray(emptyList())) @@ -89,8 +95,8 @@ class CheckoutTest { fun `optional checkout nulls decode without becoming default values`() { val fields = json.parseToJsonElement(minimalCheckout).jsonObject val nullFields = listOf( - "attribution", "buyer", "context", "continue_url", "discounts", "expires_at", "fulfillment", - "messages", "order", "payment", "signals", + "actions", "attribution", "buyer", "context", "continue_url", "discounts", "expires_at", "fulfillment", + "messages", "order", "payment", "policies", "signals", ).associateWith { JsonNull } val checkout = json.decodeFromJsonElement(JsonObject(fields + nullFields)) @@ -127,6 +133,8 @@ class CheckoutTest { fun `reserved extensions cannot override fields or restore protocol metadata`() { val protocolCheckout = json.decodeFromString(minimalCheckout) val extensions = mapOf( + "actions" to JsonObject(emptyMap()), + "policies" to JsonArray(emptyList()), "id" to JsonPrimitive("extension-checkout"), "buyer" to JsonObject(mapOf("email" to JsonPrimitive("synthetic@example.com"))), "line_items" to JsonObject(emptyMap()), @@ -143,7 +151,7 @@ class CheckoutTest { assertThat(encoded["id"]).isEqualTo(JsonPrimitive(protocolCheckout.id)) assertThat(encoded["line_items"]).isEqualTo(JsonArray(emptyList())) assertThat(encoded["com.example.empty"]).isEqualTo(JsonNull) - assertThat(encoded).doesNotContainKeys("buyer", "ucp") + assertThat(encoded).doesNotContainKeys("actions", "policies", "buyer", "ucp") assertThat(json.decodeFromJsonElement(encoded)).isEqualTo(projected) } @@ -228,6 +236,7 @@ class CheckoutTest { fun `snapshot equality accounts for every builder field`() { val checkout = json.decodeFromString(fullCheckout) val changes: Map Unit> = linkedMapOf( + "actions" to { it.actions(null) }, "attribution" to { it.attribution(null) }, "buyer" to { it.buyer(null) }, "context" to { it.context(null) }, @@ -242,6 +251,7 @@ class CheckoutTest { "messages" to { it.messages(null) }, "order" to { it.order(null) }, "payment" to { it.payment(null) }, + "policies" to { it.policies(null) }, "signals" to { it.signals(null) }, "status" to { it.status(CheckoutStatus.Incomplete) }, "totals" to { it.totals(emptyList()) }, @@ -271,6 +281,8 @@ class CheckoutTest { private val fullCheckout = """ { + "actions": {"com.example.review": [{"id": "action-1", "config": {"required": true, "value": null}}]}, + "policies": [{"type": "com.example.return", "description": {"plain": "Return within 30 days"}}], "attribution": {"com.example.campaign": "example-campaign"}, "buyer": { "email": "synthetic@example.com", diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/Models/Checkout.swift b/platforms/swift/Sources/ShopifyCheckoutKit/Models/Checkout.swift index 60e38f88c..a6965f020 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/Models/Checkout.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/Models/Checkout.swift @@ -6,6 +6,7 @@ import Foundation /// A checkout snapshot that excludes protocol metadata. public struct Checkout: Codable, Sendable { public var additionalProperties: [String: JSONAny] + public let actions: [String: [[String: JSONAny]]]? public let attribution: [String: String]? public let buyer: Buyer? public let context: Context? @@ -20,24 +21,25 @@ public struct Checkout: Codable, Sendable { public let messages: [Message]? public let order: OrderConfirmation? public let payment: Payment? + public let policies: [Policy]? public let signals: [String: JSONAny]? public let status: CheckoutStatus public let totals: [CheckoutTotal] enum CodingKeys: String, CodingKey { - case attribution, buyer, context + case actions, 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 + case links, messages, order, payment, policies, 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", + "actions", "attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", + "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "policies", "signals", "status", "totals", "ucp" ] @@ -45,6 +47,7 @@ public struct Checkout: Codable, Sendable { id: String, status: CheckoutStatus, currency: String, + actions: [String: [[String: JSONAny]]]? = nil, attribution: [String: String]? = nil, buyer: Buyer? = nil, context: Context? = nil, @@ -57,11 +60,13 @@ public struct Checkout: Codable, Sendable { messages: [Message]? = nil, order: OrderConfirmation? = nil, payment: Payment? = nil, + policies: [Policy]? = nil, signals: [String: JSONAny]? = nil, totals: [CheckoutTotal], additionalProperties: [String: JSONAny] = [:] ) { self.additionalProperties = additionalProperties + self.actions = actions self.attribution = attribution self.buyer = buyer self.context = context @@ -76,6 +81,7 @@ public struct Checkout: Codable, Sendable { self.messages = messages self.order = order self.payment = payment + self.policies = policies self.signals = signals self.status = status self.totals = totals @@ -83,6 +89,7 @@ public struct Checkout: Codable, Sendable { public init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self) + actions = try container.decodeIfPresent([String: [[String: JSONAny]]].self, forKey: .actions) 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) @@ -97,6 +104,7 @@ public struct Checkout: Codable, Sendable { messages = try container.decodeIfPresent([Message].self, forKey: .messages) order = try container.decodeIfPresent(OrderConfirmation.self, forKey: .order) payment = try container.decodeIfPresent(Payment.self, forKey: .payment) + policies = try container.decodeIfPresent([Policy].self, forKey: .policies) 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) @@ -110,6 +118,7 @@ public struct Checkout: Codable, Sendable { public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(actions, forKey: .actions) try container.encodeIfPresent(attribution, forKey: .attribution) try container.encodeIfPresent(buyer, forKey: .buyer) try container.encodeIfPresent(context, forKey: .context) @@ -124,6 +133,7 @@ public struct Checkout: Codable, Sendable { try container.encodeIfPresent(messages, forKey: .messages) try container.encodeIfPresent(order, forKey: .order) try container.encodeIfPresent(payment, forKey: .payment) + try container.encodeIfPresent(policies, forKey: .policies) try container.encodeIfPresent(signals, forKey: .signals) try container.encode(status, forKey: .status) try container.encode(totals, forKey: .totals) @@ -176,6 +186,7 @@ extension Checkout { id: checkout.id, status: checkout.status, currency: checkout.currency, + actions: checkout.actions, attribution: checkout.attribution, buyer: checkout.buyer, context: checkout.context, @@ -188,6 +199,7 @@ extension Checkout { messages: checkout.messages, order: checkout.order, payment: checkout.payment, + policies: checkout.policies, signals: checkout.signals, totals: checkout.totals, additionalProperties: checkout.additionalProperties.filter { diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift index 4c93e7862..4d71ab031 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutEventAdapterTests.swift @@ -27,9 +27,15 @@ final class CheckoutEventAdapterTests: XCTestCase { // Reserved keys must stay excluded even if an in-memory protocol model contains them. protocolCheckout.additionalProperties["ucp"] = protocolCheckout.additionalProperties["com.example.extension"] protocolCheckout.additionalProperties["currency"] = protocolCheckout.additionalProperties["com.example.extension"] + protocolCheckout.additionalProperties["actions"] = protocolCheckout.additionalProperties["com.example.extension"] + protocolCheckout.additionalProperties["policies"] = protocolCheckout.additionalProperties["com.example.extension"] let checkout = ShopifyCheckoutKit.Checkout(protocolCheckout: protocolCheckout) XCTAssertNil(checkout.additionalProperties["ucp"]) XCTAssertNil(checkout.additionalProperties["currency"]) + XCTAssertNil(checkout.additionalProperties["actions"]) + XCTAssertNil(checkout.additionalProperties["policies"]) + XCTAssertEqual(checkout.actions?["com.example.review"]?.first?["id"]?.value as? String, "action-1") + XCTAssertEqual(checkout.policies?.first?.description.plain, "Return within 30 days") XCTAssertEqual(checkout.attribution, ["source": "agent"]) XCTAssertEqual(checkout.context?.addressCountry, "IE") XCTAssertEqual(checkout.continueURL, "https://example.com/continue") @@ -64,6 +70,7 @@ final class CheckoutEventAdapterTests: XCTestCase { XCTAssertEqual(extensionValue?["enabled"] as? Bool, true) let encoded = try JSONEncoder().encode(checkout) + XCTAssertEqual(try JSONDecoder().decode(ShopifyCheckoutKit.Checkout.self, from: encoded), checkout) let object = try XCTUnwrap(JSONSerialization.jsonObject(with: encoded) as? [String: Any]) XCTAssertNil(object["ucp"]) XCTAssertNotNil(object["com.example.extension"]) @@ -76,6 +83,29 @@ final class CheckoutEventAdapterTests: XCTestCase { XCTAssertEqual(object as NSDictionary, encodedProtocolObject as NSDictionary) } + func testActionsAndPoliciesSurviveLifecycleEventsAndParticipateInDeduplication() async throws { + let sink = RecordingCheckoutEventSink() + let adapter = CheckoutEventAdapter(sink: sink) + _ = await adapter.process(fullCheckoutMessage) + let started = try XCTUnwrap(sink.started.first) + XCTAssertEqual(started.actions?["com.example.review"]?.first?["id"]?.value as? String, "action-1") + XCTAssertEqual(started.policies?.first?.description.plain, "Return within 30 days") + + var update = fullCheckoutMessage.replacingOccurrences(of: "ec.start", with: "ec.messages.change") + for (index, change) in [("action-1", "action-2"), ("Return within 30 days", "Return within 60 days")].enumerated() { + update = update.replacingOccurrences(of: change.0, with: change.1) + _ = await adapter.process(update) + _ = await adapter.process(update) + XCTAssertEqual(sink.updated.count, index + 1) + } + let updated = try XCTUnwrap(sink.updated.last) + XCTAssertEqual(updated.actions?["com.example.review"]?.first?["id"]?.value as? String, "action-2") + XCTAssertEqual(updated.policies?.first?.description.plain, "Return within 60 days") + + _ = await adapter.process(update.replacingOccurrences(of: "ec.messages.change", with: "ec.complete")) + XCTAssertEqual(sink.completed.first, updated) + } + func testCheckoutEqualityPreservesSubMillisecondDatePrecision() { let first = ShopifyCheckoutKit.Checkout( id: "checkout-1", status: .incomplete, currency: "USD", @@ -241,6 +271,8 @@ final class CheckoutEventAdapterTests: XCTestCase { private var fullCheckoutMessage: String { """ {"jsonrpc":"2.0","method":"ec.start","params":{"checkout":{ + "actions":{"com.example.review":[{"id":"action-1","config":{"required":true,"value":null}}]}, + "policies":[{"type":"com.example.return","description":{"plain":"Return within 30 days"}}], "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"}, diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 63af1579c..49d6de485 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -500,6 +500,140 @@ } ] }, + { + "kind": "Var", + "name": "actions", + "printedName": "actions", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "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:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V7actionsSDySSSaySDySS08EmbeddedB8Protocol7JSONAnyCGGGSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V7actionsSDySSSaySDySS08EmbeddedB8Protocol7JSONAnyCGGGSgvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "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:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V7actionsSDySSSaySDySS08EmbeddedB8Protocol7JSONAnyCGGGSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V7actionsSDySSSaySDySS08EmbeddedB8Protocol7JSONAnyCGGGSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "attribution", @@ -1380,6 +1514,84 @@ } ] }, + { + "kind": "Var", + "name": "policies", + "printedName": "policies", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B0V8policiesSay08EmbeddedB8Protocol6PolicyVGSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B0V8policiesSay08EmbeddedB8Protocol6PolicyVGSgvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B0V8policiesSay08EmbeddedB8Protocol6PolicyVGSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B0V8policiesSay08EmbeddedB8Protocol6PolicyVGSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { "kind": "Var", "name": "signals", @@ -1606,7 +1818,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(id:status:currency:attribution:buyer:context:continueURL:discounts:expiresAt:fulfillment:lineItems:links:messages:order:payment:signals:totals:additionalProperties:)", + "printedName": "init(id:status:currency:actions:attribution:buyer:context:continueURL:discounts:expiresAt:fulfillment:lineItems:links:messages:order:payment:policies:signals:totals:additionalProperties:)", "children": [ { "kind": "TypeNominal", @@ -1632,6 +1844,57 @@ "printedName": "Swift.String", "usr": "s:SS" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [[Swift.String : EmbeddedCheckoutProtocol.JSONAny]]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "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:Sa" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -1833,6 +2096,29 @@ "hasDefaultArg": true, "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Policy]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Policy]", + "children": [ + { + "kind": "TypeNominal", + "name": "Policy", + "printedName": "EmbeddedCheckoutProtocol.Policy", + "usr": "s:24EmbeddedCheckoutProtocol6PolicyV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -1899,8 +2185,8 @@ } ], "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B0V2id6status8currency11attribution5buyer7context11continueURL9discounts9expiresAt11fulfillment9lineItems5links8messages5order7payment7signals6totals20additionalPropertiesACSS_08EmbeddedB8Protocol0B6StatusOSSSDyS2SGSgAV5BuyerVSgAV7ContextVSgSSSgAV0B9DiscountsVSg10Foundation4DateVSgAV0B11FulfillmentVSgSayAV8LineItemVGSayAV4LinkVGSayAV7MessageVGSgAV17OrderConfirmationVSgAV7PaymentVSgSDySSAV7JSONAnyCGSgSayAV0B5TotalVGA34_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B0V2id6status8currency11attribution5buyer7context11continueURL9discounts9expiresAt11fulfillment9lineItems5links8messages5order7payment7signals6totals20additionalPropertiesACSS_08EmbeddedB8Protocol0B6StatusOSSSDyS2SGSgAV5BuyerVSgAV7ContextVSgSSSgAV0B9DiscountsVSg10Foundation4DateVSgAV0B11FulfillmentVSgSayAV8LineItemVGSayAV4LinkVGSayAV7MessageVGSgAV17OrderConfirmationVSgAV7PaymentVSgSDySSAV7JSONAnyCGSgSayAV0B5TotalVGA34_tcfc", + "usr": "s:18ShopifyCheckoutKit0B0V2id6status8currency7actions11attribution5buyer7context11continueURL9discounts9expiresAt11fulfillment9lineItems5links8messages5order7payment8policies7signals6totals20additionalPropertiesACSS_08EmbeddedB8Protocol0B6StatusOSSSDySSSaySDySSAX7JSONAnyCGGGSgSDyS2SGSgAX5BuyerVSgAX7ContextVSgSSSgAX0B9DiscountsVSg10Foundation4DateVSgAX0B11FulfillmentVSgSayAX8LineItemVGSayAX4LinkVGSayAX7MessageVGSgAX17OrderConfirmationVSgAX7PaymentVSgSayAX6PolicyVGSgA1_SgSayAX0B5TotalVGA1_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B0V2id6status8currency7actions11attribution5buyer7context11continueURL9discounts9expiresAt11fulfillment9lineItems5links8messages5order7payment8policies7signals6totals20additionalPropertiesACSS_08EmbeddedB8Protocol0B6StatusOSSSDySSSaySDySSAX7JSONAnyCGGGSgSDyS2SGSgAX5BuyerVSgAX7ContextVSgSSSgAX0B9DiscountsVSg10Foundation4DateVSgAX0B11FulfillmentVSgSayAX8LineItemVGSayAX4LinkVGSayAX7MessageVGSgAX17OrderConfirmationVSgAX7PaymentVSgSayAX6PolicyVGSgA1_SgSayAX0B5TotalVGA1_tcfc", "moduleName": "ShopifyCheckoutKit", "init_kind": "Designated" }, From 3b4cac98a7d805db795de1f9f8a8964470d0188c Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 25 Sep 2026 12:32:36 +0100 Subject: [PATCH 6/6] fix(protocol): preserve explicit null payment constraints --- .../swift/api/EmbeddedCheckoutProtocol.json | 1 - .../api/embedded-checkout-protocol.api | 11 --- .../shopify/ucp/embedded/checkout/Models.kt | 36 ++++++++- .../checkout/ConstraintExpressionTest.kt | 37 +++++++++ .../Generated/Models.swift | 9 +++ .../ConstraintExpressionTests.swift | 35 +++++++++ protocol/scripts/generate_models.mjs | 78 ++++++++++++++++--- 7 files changed, 185 insertions(+), 22 deletions(-) create mode 100644 protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ConstraintExpressionTest.kt create mode 100644 protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ConstraintExpressionTests.swift diff --git a/platforms/swift/api/EmbeddedCheckoutProtocol.json b/platforms/swift/api/EmbeddedCheckoutProtocol.json index 7c79e6b6d..312376ec6 100644 --- a/platforms/swift/api/EmbeddedCheckoutProtocol.json +++ b/platforms/swift/api/EmbeddedCheckoutProtocol.json @@ -10568,7 +10568,6 @@ "usr": "s:24EmbeddedCheckoutProtocol18ConstraintPropertyV4fromACs7Decoder_p_tKcfc", "mangledName": "$s24EmbeddedCheckoutProtocol18ConstraintPropertyV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "init_kind": "Designated" }, diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api b/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api index c41db449b..4e16bd435 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api +++ b/protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api @@ -696,17 +696,6 @@ public final class com/shopify/ucp/embedded/checkout/ConstraintProperty { public fun toString ()Ljava/lang/String; } -public final synthetic class com/shopify/ucp/embedded/checkout/ConstraintProperty$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Lcom/shopify/ucp/embedded/checkout/ConstraintProperty$$serializer; - public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/shopify/ucp/embedded/checkout/ConstraintProperty; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/shopify/ucp/embedded/checkout/ConstraintProperty;)V - public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V - public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; -} - public final class com/shopify/ucp/embedded/checkout/ConstraintProperty$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt index 8fe37bfa1..38ade4a6c 100644 --- a/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/main/java/com/shopify/ucp/embedded/checkout/Models.kt @@ -1469,7 +1469,7 @@ public data class PaymentHandlerResponseSchemaAvailableInstrument ( * * A Value Constraint containing `enum`, `const`, or both. */ -@Serializable +@Serializable(with = ConstraintPropertySerializer::class) public data class ConstraintProperty ( /** * Alternative Object Constraints. The constrained object must satisfy at least one. A @@ -3057,3 +3057,37 @@ public object PolicySerializer : KSerializer { output.encodeJsonElement(JsonObject(map)) } } + +internal object ConstraintPropertySerializer : KSerializer { + override val descriptor: SerialDescriptor = + buildClassSerialDescriptor("com.shopify.ucp.embedded.checkout.ConstraintProperty") + override fun deserialize(decoder: Decoder): ConstraintProperty { + val input = decoder as? JsonDecoder + ?: throw SerializationException("ConstraintProperty can only be deserialized from JSON") + val obj = input.decodeJsonElement().jsonObject + val json = input.json + val known = setOf("anyOf", "properties", "required", "const", "enum") + if (!json.configuration.ignoreUnknownKeys && obj.keys.any { it !in known }) { + throw SerializationException("Unknown property for ConstraintProperty") + } + return ConstraintProperty( + anyOf = obj["anyOf"]?.let { json.decodeFromJsonElement(serializer>(), it) }, + properties = obj["properties"]?.let { json.decodeFromJsonElement(serializer>(), it) }, + required = obj["required"]?.let { json.decodeFromJsonElement(serializer>(), it) }, + const = obj["const"]?.let { json.decodeFromJsonElement(serializer(), it) }, + enum = obj["enum"]?.let { json.decodeFromJsonElement(serializer(), it) }, + ) + } + override fun serialize(encoder: Encoder, value: ConstraintProperty) { + val output = encoder as? JsonEncoder + ?: throw SerializationException("ConstraintProperty can only be serialized to JSON") + val json = output.json + val map = linkedMapOf() + value.anyOf?.let { map["anyOf"] = json.encodeToJsonElement(serializer>(), it) } + value.properties?.let { map["properties"] = json.encodeToJsonElement(serializer>(), it) } + value.required?.let { map["required"] = json.encodeToJsonElement(serializer>(), it) } + value.const?.let { map["const"] = json.encodeToJsonElement(serializer(), it) } + value.enum?.let { map["enum"] = json.encodeToJsonElement(serializer(), it) } + output.encodeJsonElement(JsonObject(map)) + } +} diff --git a/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ConstraintExpressionTest.kt b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ConstraintExpressionTest.kt new file mode 100644 index 000000000..f305a5ae6 --- /dev/null +++ b/protocol/languages/kotlin/embedded-checkout-protocol/src/test/java/com/shopify/ucp/embedded/checkout/ConstraintExpressionTest.kt @@ -0,0 +1,37 @@ +package com.shopify.ucp.embedded.checkout + +import kotlinx.serialization.json.Json +import kotlinx.serialization.json.JsonNull +import org.assertj.core.api.Assertions.assertThat +import org.junit.Test + +class ConstraintExpressionTest { + @Test + fun `preserves null constants and missing constants`() { + val wire = Json.parseToJsonElement( + """ + { + "type": "card", + "constraints": { + "required": ["billing_address"], + "properties": { + "billing_address": {"const": null}, + "network": {"enum": [null, "visa"]}, + "metadata": {"const": {"optional": null}}, + "values": {"const": [null, false, 0, ""]} + }, + "anyOf": [{"properties": {"token": {"const": null}}}] + } + } + """.trimIndent(), + ) + val instrument = Json.decodeFromJsonElement(PaymentHandlerResponseSchemaAvailableInstrument.serializer(), wire) + val constraints = requireNotNull(instrument.constraints) + val properties = requireNotNull(constraints.properties) + assertThat(properties["billing_address"]?.const).isSameAs(JsonNull) + assertThat(properties["network"]?.const).isNull() + assertThat(constraints.anyOf?.first()?.properties?.get("token")?.const).isSameAs(JsonNull) + assertThat(Json.encodeToJsonElement(PaymentHandlerResponseSchemaAvailableInstrument.serializer(), instrument)) + .isEqualTo(wire) + } +} diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift index 1573b00c7..af7ef3013 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift @@ -3190,6 +3190,15 @@ public struct ConstraintProperty: Codable, Sendable { self.const = const self.constraintPropertyEnum = constraintPropertyEnum } + + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: CodingKeys.self) + self.anyOf = try container.decodeIfPresent([ConstraintExpression].self, forKey: .anyOf) + self.properties = try container.decodeIfPresent([String: ConstraintProperty].self, forKey: .properties) + self.constraintPropertyRequired = try container.decodeIfPresent([String].self, forKey: .constraintPropertyRequired) + self.const = container.contains(.const) ? try container.decode(JSONAny.self, forKey: .const) : nil + self.constraintPropertyEnum = try container.decodeIfPresent([JSONAny].self, forKey: .constraintPropertyEnum) + } } // MARK: ConstraintProperty convenience initializers and mutators diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ConstraintExpressionTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ConstraintExpressionTests.swift new file mode 100644 index 000000000..e667fc64a --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ConstraintExpressionTests.swift @@ -0,0 +1,35 @@ +@testable import EmbeddedCheckoutProtocol +import Foundation +import Testing + +@Suite("Payment constraints") +struct ConstraintExpressionTests { + @Test func preservesNullConstantsAndMissingConstants() throws { + let data = Data(#""" + { + "type": "card", + "constraints": { + "required": ["billing_address"], + "properties": { + "billing_address": {"const": null}, + "network": {"enum": [null, "visa"]}, + "metadata": {"const": {"optional": null}}, + "values": {"const": [null, false, 0, ""]} + }, + "anyOf": [{"properties": {"token": {"const": null}}}] + } + } + """#.utf8) + let instrument = try JSONDecoder().decode(PaymentHandlerResponseSchemaAvailableInstrument.self, from: data) + let constraints = try #require(instrument.constraints) + let properties = try #require(constraints.properties) + #expect(properties["billing_address"]?.const?.value is JSONNull) + #expect(properties["network"]?.const == nil) + #expect(constraints.anyOf?.first?.properties?["token"]?.const?.value is JSONNull) + + let encoded = try JSONEncoder().encode(instrument) + let expected = try #require(try JSONSerialization.jsonObject(with: data) as? NSDictionary) + let actual = try #require(try JSONSerialization.jsonObject(with: encoded) as? NSDictionary) + #expect(actual == expected) + } +} diff --git a/protocol/scripts/generate_models.mjs b/protocol/scripts/generate_models.mjs index 8eed76866..bffc7eb53 100755 --- a/protocol/scripts/generate_models.mjs +++ b/protocol/scripts/generate_models.mjs @@ -668,7 +668,7 @@ function kotlinDecodeField(name, field) { : ` ${field.name} = json.decodeFromJsonElement(serializer<${field.type}>(), obj["${field.wire}"] ?: throw SerializationException("Missing ${field.wire} for ${name}")),`; } -function kotlinSerializerObject(name, fields) { +function kotlinSerializerObject(name, fields, {preserveAdditionalProperties = true} = {}) { const knownList = fields.map((field) => `"${field.wire}"`).join(", "); const ctorArgs = fields.map((field) => kotlinDecodeField(name, field)).join("\n"); @@ -683,7 +683,7 @@ function kotlinSerializerObject(name, fields) { return [ "", - `public object ${name}Serializer : KSerializer<${name}> {`, + `${preserveAdditionalProperties ? "public" : "internal"} object ${name}Serializer : KSerializer<${name}> {`, " override val descriptor: SerialDescriptor =", ` buildClassSerialDescriptor("com.shopify.ucp.embedded.checkout.${name}")`, "", @@ -693,9 +693,14 @@ function kotlinSerializerObject(name, fields) { " val obj = input.decodeJsonElement().jsonObject", " val json = input.json", ` val known = setOf(${knownList})`, + ...(!preserveAdditionalProperties ? [ + " if (!json.configuration.ignoreUnknownKeys && obj.keys.any { it !in known }) {", + ` throw SerializationException("Unknown property for ${name}")`, + " }", + ] : []), ` return ${name}(`, ctorArgs, - " additionalProperties = obj.filterKeys { it !in known }", + ...(preserveAdditionalProperties ? [" additionalProperties = obj.filterKeys { it !in known }"] : []), " )", " }", "", @@ -703,12 +708,14 @@ function kotlinSerializerObject(name, fields) { " val output = encoder as? JsonEncoder", ` ?: throw SerializationException("${name} can only be serialized to JSON")`, " val json = output.json", - ` val known = setOf(${knownList})`, + ...(preserveAdditionalProperties ? [` val known = setOf(${knownList})`] : []), " val map = linkedMapOf()", serLines, - " value.additionalProperties", - " .filterKeys { it !in known }", - " .forEach { (key, element) -> map[key] = element }", + ...(preserveAdditionalProperties ? [ + " value.additionalProperties", + " .filterKeys { it !in known }", + " .forEach { (key, element) -> map[key] = element }", + ] : []), " output.encodeJsonElement(JsonObject(map))", " }", "}", @@ -749,6 +756,29 @@ function injectKotlinAdditionalProperties(source, openModelNames) { return `${result}\n${serializers.join("\n")}\n`; } +// A missing const and a const whose JSON value is null have different meanings. +// Decode present fields with their non-nullable serializers so JSON null remains +// JsonNull, while a missing key retains the Kotlin null default. +function preserveKotlinConstraintConstants(source) { + let serializer; + const result = source.replace( + /^@Serializable\npublic data class ConstraintProperty \(\n([\s\S]*?)\n\)$/m, + (match, inner) => { + if (!inner.includes(" public val const: JsonElement? = null,")) { + throw new Error("Kotlin constraint constant injection failed; quicktype output may have changed"); + } + serializer = kotlinSerializerObject("ConstraintProperty", parseKotlinFields(inner), { + preserveAdditionalProperties: false, + }); + return `@Serializable(with = ConstraintPropertySerializer::class)\npublic data class ConstraintProperty (\n${inner}\n)`; + }, + ); + if (!serializer) { + throw new Error("Kotlin ConstraintProperty model was not found"); + } + return `${result}\n${serializer}\n`; +} + function removeKotlinMapModel(source, modelName) { return source.replace( new RegExp(`\\n@Serializable\\npublic data class ${modelName} \\(\\n[\\s\\S]*?\\n\\)\\n`, "m"), @@ -805,7 +835,7 @@ async function generateKotlin(specDir, output, {openModelNames, mapModelNames}) throw new Error("ExtendsSerializer injection failed; quicktype Extends output may have changed"); } - return injectKotlinAdditionalProperties(withSerializer, openModelNames); + return preserveKotlinConstraintConstants(injectKotlinAdditionalProperties(withSerializer, openModelNames)); }); } @@ -903,6 +933,35 @@ function injectSwiftAdditionalProperties(source, openModelNames) { return result; } +// Synthesized decodeIfPresent treats JSON null as absence. Constraint constants +// accept every JSON value, so check key presence before decoding JSONAny instead. +function preserveSwiftConstraintConstants(source) { + let injected = false; + const result = source.replace( + /^public struct ConstraintProperty: Codable, Sendable \{\n([\s\S]*?)\n\}$/m, + (match, inner) => { + if (!inner.includes(" public let const: JSONAny?") || inner.includes("public init(from decoder:")) { + throw new Error("Swift constraint constant injection failed; quicktype output may have changed"); + } + const properties = [...inner.matchAll(/^ public let (\w+): (.+)\?$/gm)]; + const lines = ["", "", " public init(from decoder: Decoder) throws {", + " let container = try decoder.container(keyedBy: CodingKeys.self)"]; + for (const [, name, type] of properties) { + lines.push(name === "const" + ? " self.const = container.contains(.const) ? try container.decode(JSONAny.self, forKey: .const) : nil" + : ` self.${name} = try container.decodeIfPresent(${type}.self, forKey: .${name})`); + } + lines.push(" }"); + injected = true; + return `public struct ConstraintProperty: Codable, Sendable {\n${inner}${lines.join("\n")}\n}`; + }, + ); + if (!injected) { + throw new Error("Swift ConstraintProperty model was not found"); + } + return result; +} + function removeSwiftMapModel(source, modelName) { return source .replace( @@ -964,7 +1023,8 @@ async function generateSwift(specDir, output, {openModelNames, mapModelNames}) { const stripped = `${source.slice(0, helperStart)}${SWIFT_JSON_HELPER_REPLACEMENT}`; const withMapModels = useSwiftMapsForModels(stripped, mapModelNames); - return namespaceSwiftPayloadModels(injectSwiftAdditionalProperties(withMapModels, openModelNames)); + const withAdditionalProperties = injectSwiftAdditionalProperties(withMapModels, openModelNames); + return namespaceSwiftPayloadModels(preserveSwiftConstraintConstants(withAdditionalProperties)); }); await run("node", [path.join(PROTOCOL_DIR, "scripts", "generate_swift_catalog.mjs")]);