/* Options: Date: 2026-02-14 09:52:58 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AddInvoice.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Invoice */ @Route(Path="/invoice", Verbs="POST") @Api(Description="Invoice") @ApiResponse(Description="Add invoice request received", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="Invoice not accepted, Confirm Sender GLN", ResponseType=UnauthorizedAccessException.class, StatusCode=403) public static class AddInvoice implements IReturn { /** * Invoice model containing all of the invoice data */ @ApiMember(DataType="InvoiceMessage", Description="Invoice model containing all of the invoice data", Name="invoice", ParameterType="model") public InvoiceMessage invoice = null; public InvoiceMessage getInvoice() { return invoice; } public AddInvoice setInvoice(InvoiceMessage value) { this.invoice = value; return this; } private static Object responseType = TokenDto.class; public Object getResponseType() { return responseType; } } public static class TokenDto implements ICommandResponse { public UUID token = null; public UUID getToken() { return token; } public TokenDto setToken(UUID value) { this.token = value; return this; } } public static interface ICommandResponse { } public static class InvoiceMessage { public Header header = null; public InvoiceClass invoice = null; public Header getHeader() { return header; } public InvoiceMessage setHeader(Header value) { this.header = value; return this; } public InvoiceClass getInvoice() { return invoice; } public InvoiceMessage setInvoice(InvoiceClass value) { this.invoice = value; return this; } } }