blob: 647191358d8316bbebe050957f0e6db1b0d4cf52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
using System.Text.Json.Serialization;
namespace IOL.VippsEcommerce.Models.Api
{
/// <summary>
/// VippsErrorResponse
/// </summary>
public class VippsErrorResponse
{
/// <summary>
/// The error group. See: https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#error-groups
/// </summary>
/// <value>The error group. See: https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#error-groups</value>
[JsonPropertyName("errorGroup")]
public EErrorGroupEnum ErrorGroup { get; }
/// <summary>
/// The error code. See: https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#error-codes
/// </summary>
/// <value>The error code. See: https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#error-codes</value>
[JsonPropertyName("errorCode")]
public string ErrorCode { get; }
/// <summary>
/// A description of what went wrong. See https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#errors
/// </summary>
/// <value>A description of what went wrong. See https://github.com/vippsas/vipps-ecom-api/blob/master/vipps-ecom-api.md#errors</value>
[JsonPropertyName("errorMessage")]
public string ErrorMessage { get; }
/// <summary>
/// A unique id for this error, useful for searching in logs
/// </summary>
/// <value>A unique id for this error, useful for searching in logs</value>
[JsonPropertyName("contextId")]
public string ContextId { get; }
}
}
|