/* Options:
Date: 2026-02-14 10:09:38
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: AddCustomerMaster.*
//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.MasterData;
using DX.STF.Application.ClientApi.Messages.CustomerMaster;
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.CustomerMaster
{
///
///Customer Master
///
[Route("/customerMaster", "POST")]
[Api(Description="Customer Master")]
[ApiResponse(Description="Add customer master request received", IsDefaultResponse=true, StatusCode=200)]
[ApiResponse(Description="Customer master request not accepted, Confirm Sender GLN", ResponseType=typeof(System.UnauthorizedAccessException), StatusCode=403)]
public partial class AddCustomerMaster
: IReturn
{
///
///Customer Master model containing all of the Customer Master data
///
[ApiMember(Description="Customer Master model containing all of the Customer Master data", ParameterType="model")]
public virtual CustomerMasterMessage CustomerMaster { get; set; }
}
}
namespace DX.STF.Models.Dto.MasterData
{
public partial class CustomerMasterMessage
{
public virtual TransactionalParty DataSource { get; set; }
public virtual TransactionalParty DataRecipient { get; set; }
public virtual string CustomerMasterIdentification { get; set; }
public virtual List Customer { get; set; } = [];
public virtual string DocumentStatusCode { get; set; }
public virtual string DocumentActionCode { get; set; }
public virtual DateTime CreationDateTime { get; set; }
public virtual DateTime LastUpdateDateTime { get; set; }
}
}