-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Переход на новую структуру ошибок при проверке МЧД
- Loading branch information
Showing
6 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
EdiApi.Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyValidationCheckStatus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Результат выполнения проверки МЧД</summary> | ||
public enum DiadocPowerOfAttorneyValidationCheckStatus | ||
{ | ||
/// <summary>Значение по умолчанию</summary> | ||
UnknownCheckStatus = 0, | ||
|
||
/// <summary>Проверка успешно пройдена</summary> | ||
Ok = 1, | ||
|
||
/// <summary>Есть предупреждение</summary> | ||
Warning = 2, | ||
|
||
/// <summary>Есть ошибка</summary> | ||
Error = 3, | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
EdiApi.Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyValidationProtocol.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Протокол валидации, содержащий результаты выполнения проверок МЧД</summary> | ||
public class DiadocPowerOfAttorneyValidationProtocol | ||
{ | ||
/// <summary>Результаты выполнения проверок МЧД</summary> | ||
public DiadocPowerOfAttorneyValidationProtocolCheckResult[] CheckResults { get; set; } | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...nt/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyValidationProtocolCheckResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Результат проверки МЧД</summary> | ||
public class DiadocPowerOfAttorneyValidationProtocolCheckResult | ||
{ | ||
/// <summary>Результат выполнения проверки</summary> | ||
public DiadocPowerOfAttorneyValidationCheckStatus Status { get; set; } | ||
|
||
/// <summary>Текстовый идентификатор проверки</summary> | ||
public string Name { get; set; } | ||
|
||
/// <summary>Информация об ошибке или предупреждении</summary> | ||
public DiadocPowerOfAttorneyValidationStatusError Error { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters