/* Options: Date: 2026-02-14 10:06:22 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: AddInvoice.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using DX.Framework.Core.Commands; using DX.STF.Models.Dto.GS1; using DX.STF.Application.ClientApi.Messages.Invoice; using DX.Framework.Core.Commands.Dto; namespace DX.Framework.Core.Commands { public partial interface ICommandResponse { } } namespace DX.Framework.Core.Commands.Dto { public partial class TokenDto : ICommandResponse { public virtual Guid Token { get; set; } } } namespace DX.STF.Application.ClientApi.Messages.Invoice { /// ///Invoice /// [Route("/invoice", "POST")] [Api(Description="Invoice")] [ApiResponse(Description="Add invoice request received", IsDefaultResponse=true, StatusCode=200)] [ApiResponse(Description="Invoice not accepted, Confirm Sender GLN", ResponseType=typeof(System.UnauthorizedAccessException), StatusCode=403)] public partial class AddInvoice : 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 virtual InvoiceMessage Invoice { get; set; } } } namespace DX.STF.Models.Dto.GS1 { public partial class InvoiceMessage { public virtual Header Header { get; set; } public virtual InvoiceClass Invoice { get; set; } } }