/* Options: Date: 2026-02-14 10:18:08 SwiftVersion: 6.0 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: AddCustomerMaster.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * 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(UnauthorizedAccessException), StatusCode=403) public class AddCustomerMaster : IReturn, Codable { public typealias Return = TokenDto /** * 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 var customerMaster:CustomerMasterMessage? required public init(){} } public class TokenDto : ICommandResponse, Codable { public var token:String? required public init(){} } public protocol ICommandResponse { } public class CustomerMasterMessage : Codable { public var dataSource:TransactionalParty? public var dataRecipient:TransactionalParty? public var customerMasterIdentification:String? public var customer:[CustomerMasterType] = [] public var documentStatusCode:String? public var documentActionCode:String? public var creationDateTime:Date? public var lastUpdateDateTime:Date? required public init(){} }