Skip to content

Commit

Permalink
Merge pull request #4 from 24twelve/PortalGroupIdIsObsolete
Browse files Browse the repository at this point in the history
Add InternalPartyInfo.BillingAccountId, obsolete PortalGroupId
  • Loading branch information
AndrewKostousov authored Apr 20, 2020
2 parents bfde147 + fc5d067 commit 406b968
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# История изменений

## v1.3 - 2020.04.20
- Добавлено свойство `BillingAccountId` в `InternalPartyInfo`. Это тоже самое, что `PortalGroupId`. `PortalGroupId` теперь obsolete и будет удалено в будущих версиях.

## v1.2 - 2020.04.05
- Доработка метода `AddOrUpdateParty` для интеграции с Контур.Продажами (EDISUP-13100).
- Метод `AddEmployee` использует POST-запрос.
Expand Down
8 changes: 7 additions & 1 deletion EdiApi.Client/Types/Parties/InternalPartyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
namespace SkbKontur.EdiApi.Client.Types.Parties
using System;

namespace SkbKontur.EdiApi.Client.Types.Parties
{
public class InternalPartyInfo : PartyInfo
{
public string ProviderPartyId { get; set; }

[Obsolete("Use BillingAccountId instead. These fields are equivalent and PortalGroupId will be removed in future releases.")]
public string PortalGroupId { get; set; }

public string BillingAccountId { get; set; }
public TradingPartnerSettings[] TradingPartnerSettings { get; set; }
}
}
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.2",
"version": "1.3",
"assemblyVersion": {
"precision": "build"
},
Expand Down

0 comments on commit 406b968

Please sign in to comment.