-
Notifications
You must be signed in to change notification settings - Fork 0
/
VatNumberValidationResponse.cs
39 lines (32 loc) · 1.05 KB
/
VatNumberValidationResponse.cs
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 Flexinets.VatNumberClient.EU;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
namespace Flexinets.VatNumberClient
{
public class VatNumberValidationResponse
{
/// <summary>
/// True if the Vat number was successfully validated
/// </summary>
public Boolean valid { get; set; }
/// <summary>
/// Typed validation result
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public VatNumberValidationResult result { get; set; }
/// <summary>
/// A parsed version of the Vat number
/// </summary>
public String parsedVatNumber { get; set; }
/// <summary>
/// Status or error message
/// </summary>
public String message { get; set; }
/// <summary>
/// If successful, returns the name of the entity associated with the Vat number
/// </summary>
public String name { get; set; }
public checkVatResponseBody checkVatResponseBody { get; set; }
}
}