Skip to content

Commit

Permalink
add ForeignPartyInfo to organizations from organization catalogue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Lugovykh committed Aug 22, 2024
1 parent c1d4093 commit ee702a4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
15 changes: 15 additions & 0 deletions EdiApi.Client/Types/Organization/ForeignPartyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
namespace SkbKontur.EdiApi.Client.Types.Organization
{
/// <summary>Реквизиты иностранной организации или точки доставки/отгрузки</summary>
public class ForeignPartyInfo
{
/// <summary>Код страны (цифровой по формату ISO 3166-1)</summary>
public string CountryCode { get; set; }

/// <summary>Налоговый номер</summary>
public string Tin { get; set; }

/// <summary>Название иностранной организации</summary>
public string Name { get; set; }
}
}
5 changes: 4 additions & 1 deletion EdiApi.Client/Types/Organization/PartyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ public class PartyInfo
/// <summary>Георгафические координаты</summary>
public GeoCoordinates GeoCoordinates { get; set; }

/// <summary>Реквизиты</summary>
/// <summary>Реквизиты российской организации</summary>
public RussianPartyInfo RussianPartyInfo { get; set; }

/// <summary>Реквизиты иностранной организации</summary>
public ForeignPartyInfo ForeignPartyInfo { get; set; }

/// <summary>Банковские реквизиты</summary>
public BankAccount BankAccount { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion EdiApi.Client/Types/Organization/RussianPartyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace SkbKontur.EdiApi.Client.Types.Organization
{
/// <summary>Реквизиты организации или точки доставки/отгрузки</summary>
/// <summary>Реквизиты российской организации или точки доставки/отгрузки</summary>
public class RussianPartyInfo
{
/// <summary>Реквизиты юридического лица</summary>
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down

0 comments on commit ee702a4

Please sign in to comment.