Skip to content

Commit

Permalink
Merge branch 'NewPartyInfoAndDocumentDetailsProperties'
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton92nd committed Mar 5, 2020
2 parents 0c81106 + d370b9b commit 19c12d9
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# История изменений

## v1.1 - 2020.03.05
- Добавлена информация о принятии организацией публичной оферты: свойство `LicenseAgreementAccepted` в `PartyInfo`.
- Добавлена информация о стратегии маршрутизации EDI-сообщений: свойства `BuyerBoxSelectionStrategy`, `SupplierBoxSelectionStrategy` в `PartyInfo`.
- Добавлен GLN точки доставки сообщения в метод `GetInboxMessageMeta`: свойство `DeliveryPointGln` в `DocumentDetails`.

## v1.0 - 2020.01.28
- Выпустили первую версию API-клиента EDI.
1 change: 1 addition & 0 deletions EdiApi.Client/Types/Messages/DocumentDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ public class DocumentDetails
public bool DocumentIsTest { get; set; }
public string DocumentNumber { get; set; }
public DateTime? DocumentDate { get; set; }
public string DeliveryPointGln { get; set; }
}
}
11 changes: 11 additions & 0 deletions EdiApi.Client/Types/Parties/BuyerBoxSelectionStrategy.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace SkbKontur.EdiApi.Client.Types.Parties
{
public enum BuyerBoxSelectionStrategy
{
Default,
Buyer,
DeliveryPoint,
Invoicee,
Payer,
}
}
3 changes: 3 additions & 0 deletions EdiApi.Client/Types/Parties/PartyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ public class PartyInfo
public PartyType PartyTypeCode { get; set; }
public string DiadocOrgId { get; set; }
public DateTime? OrganizationCatalogueUpdateTime { get; set; }
public bool LicenseAgreementAccepted { get; set; }
public BuyerBoxSelectionStrategy BuyerBoxSelectionStrategy {get; set; }
public SupplierBoxSelectionStrategy SupplierBoxSelectionStrategy {get; set; }
}
}
9 changes: 9 additions & 0 deletions EdiApi.Client/Types/Parties/SupplierBoxSelectionStrategy.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace SkbKontur.EdiApi.Client.Types.Parties
{
public enum SupplierBoxSelectionStrategy
{
Default,
Supplier,
Shipper,
}
}
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": "1.0",
"version": "1.1",
"assemblyVersion": {
"precision": "build"
},
Expand Down

0 comments on commit 19c12d9

Please sign in to comment.