From 3ec966187d5dadf72b3651ac79889993c7698d99 Mon Sep 17 00:00:00 2001 From: Sergei Lugovykh Date: Wed, 17 Apr 2024 12:42:35 +0500 Subject: [PATCH] add DocumentsSettingsForPartner.GoodItemsSettings.GtinIsRequired --- .../Types/Messages/DocumentsSettingsForPartner.cs | 3 +++ EdiApi.Client/Types/Messages/GoodItemsSettings.cs | 9 +++++++++ version.json | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 EdiApi.Client/Types/Messages/GoodItemsSettings.cs diff --git a/EdiApi.Client/Types/Messages/DocumentsSettingsForPartner.cs b/EdiApi.Client/Types/Messages/DocumentsSettingsForPartner.cs index a8f14ff..c24bae2 100644 --- a/EdiApi.Client/Types/Messages/DocumentsSettingsForPartner.cs +++ b/EdiApi.Client/Types/Messages/DocumentsSettingsForPartner.cs @@ -8,5 +8,8 @@ public class DocumentsSettingsForPartner /// Набор документов, которыми можно обмениваться с контрагентом public DocumentSettings[] DocumentSettings { get; set; } + + /// Настройки товарных позиций + public GoodItemsSettings GoodItemsSettings { get; set; } } } \ No newline at end of file diff --git a/EdiApi.Client/Types/Messages/GoodItemsSettings.cs b/EdiApi.Client/Types/Messages/GoodItemsSettings.cs new file mode 100644 index 0000000..f1d6635 --- /dev/null +++ b/EdiApi.Client/Types/Messages/GoodItemsSettings.cs @@ -0,0 +1,9 @@ +namespace SkbKontur.EdiApi.Client.Types.Messages +{ + /// Настройки товарных позиций + public class GoodItemsSettings + { + /// GTIN требуется в товарной позиции + public bool GtinIsRequired { get; set; } + } +} \ No newline at end of file diff --git a/version.json b/version.json index 6eb54a0..3a6fd82 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "2.4", + "version": "2.5-pre.2", "assemblyVersion": { "precision": "build" },