From 29d20ab5ec91317bf88e2c79c8777bf24a335759 Mon Sep 17 00:00:00 2001
From: Evgenii Kolosov <108291208+Ljutyj@users.noreply.github.com>
Date: Thu, 14 Nov 2024 14:54:14 +0300
Subject: [PATCH] VCST-2044: Extended Cart Schema with CheckoutId (#17)
---
src/VirtoCommerce.XCart.Core/Schemas/CartType.cs | 1 +
src/VirtoCommerce.XCart.Core/VirtoCommerce.XCart.Core.csproj | 2 +-
src/VirtoCommerce.XCart.Web/module.manifest | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/VirtoCommerce.XCart.Core/Schemas/CartType.cs b/src/VirtoCommerce.XCart.Core/Schemas/CartType.cs
index f079f97..d2799f1 100644
--- a/src/VirtoCommerce.XCart.Core/Schemas/CartType.cs
+++ b/src/VirtoCommerce.XCart.Core/Schemas/CartType.cs
@@ -39,6 +39,7 @@ public CartType(
Field(x => x.Cart.IsRecuring, nullable: true).Description("Displays whether the shopping cart is recurring");
Field(x => x.Cart.Comment, nullable: true).Description("Shopping cart text comment");
Field(x => x.Cart.PurchaseOrderNumber, nullable: true).Description("Purchase order number");
+ Field(x => x.Cart.CheckoutId, nullable: false).Description("Cart checkout ID");
// Characteristics
Field(x => x.Cart.VolumetricWeight, nullable: true).Description("Shopping cart volumetric weight value");
diff --git a/src/VirtoCommerce.XCart.Core/VirtoCommerce.XCart.Core.csproj b/src/VirtoCommerce.XCart.Core/VirtoCommerce.XCart.Core.csproj
index 88d054d..c6bf6cb 100644
--- a/src/VirtoCommerce.XCart.Core/VirtoCommerce.XCart.Core.csproj
+++ b/src/VirtoCommerce.XCart.Core/VirtoCommerce.XCart.Core.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/VirtoCommerce.XCart.Web/module.manifest b/src/VirtoCommerce.XCart.Web/module.manifest
index c8de93b..b37e3a4 100644
--- a/src/VirtoCommerce.XCart.Web/module.manifest
+++ b/src/VirtoCommerce.XCart.Web/module.manifest
@@ -6,7 +6,7 @@
3.861.0
-
+