From ee702a418727ec92bee1e987e137de4974953eca Mon Sep 17 00:00:00 2001 From: Sergei Lugovykh Date: Thu, 6 Jun 2024 11:48:36 +0500 Subject: [PATCH] add ForeignPartyInfo to organizations from organization catalogue --- .../Types/Organization/ForeignPartyInfo.cs | 15 +++++++++++++++ EdiApi.Client/Types/Organization/PartyInfo.cs | 5 ++++- .../Types/Organization/RussianPartyInfo.cs | 2 +- version.json | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 EdiApi.Client/Types/Organization/ForeignPartyInfo.cs diff --git a/EdiApi.Client/Types/Organization/ForeignPartyInfo.cs b/EdiApi.Client/Types/Organization/ForeignPartyInfo.cs new file mode 100644 index 0000000..ffd406b --- /dev/null +++ b/EdiApi.Client/Types/Organization/ForeignPartyInfo.cs @@ -0,0 +1,15 @@ +namespace SkbKontur.EdiApi.Client.Types.Organization +{ + /// Реквизиты иностранной организации или точки доставки/отгрузки + public class ForeignPartyInfo + { + /// Код страны (цифровой по формату ISO 3166-1) + public string CountryCode { get; set; } + + /// Налоговый номер + public string Tin { get; set; } + + /// Название иностранной организации + public string Name { get; set; } + } +} \ No newline at end of file diff --git a/EdiApi.Client/Types/Organization/PartyInfo.cs b/EdiApi.Client/Types/Organization/PartyInfo.cs index cda1a6a..fcdac29 100644 --- a/EdiApi.Client/Types/Organization/PartyInfo.cs +++ b/EdiApi.Client/Types/Organization/PartyInfo.cs @@ -16,9 +16,12 @@ public class PartyInfo /// Георгафические координаты public GeoCoordinates GeoCoordinates { get; set; } - /// Реквизиты + /// Реквизиты российской организации public RussianPartyInfo RussianPartyInfo { get; set; } + /// Реквизиты иностранной организации + public ForeignPartyInfo ForeignPartyInfo { get; set; } + /// Банковские реквизиты public BankAccount BankAccount { get; set; } diff --git a/EdiApi.Client/Types/Organization/RussianPartyInfo.cs b/EdiApi.Client/Types/Organization/RussianPartyInfo.cs index 6d8149f..61396e9 100644 --- a/EdiApi.Client/Types/Organization/RussianPartyInfo.cs +++ b/EdiApi.Client/Types/Organization/RussianPartyInfo.cs @@ -1,6 +1,6 @@ namespace SkbKontur.EdiApi.Client.Types.Organization { - /// Реквизиты организации или точки доставки/отгрузки + /// Реквизиты российской организации или точки доставки/отгрузки public class RussianPartyInfo { /// Реквизиты юридического лица diff --git a/version.json b/version.json index c697d86..f2da83a 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.5", + "version": "2.6-pre.1", "assemblyVersion": { "precision": "build" },