ZUGFeRDRESTService: WIP Prepare validation of buyer order reference
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZUGFeRDRESTService.Controllers
|
||||
{
|
||||
|
||||
public class ValidationResponse
|
||||
{
|
||||
public string status;
|
||||
public string message;
|
||||
public List<string> errors;
|
||||
|
||||
public ValidationResponse()
|
||||
{
|
||||
status = ValidationController.RESPONSE_OK;
|
||||
message = string.Empty;
|
||||
errors = new List<string>();
|
||||
}
|
||||
|
||||
public ValidationResponse(string Status, string Message)
|
||||
{
|
||||
status = Status;
|
||||
message = Message;
|
||||
errors = new List<string>();
|
||||
}
|
||||
|
||||
public ValidationResponse(string Status, string Message, List<String> Errors)
|
||||
{
|
||||
status = Status;
|
||||
message = Message;
|
||||
errors = Errors;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user