/* Options: Date: 2024-07-06 12:12:36 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://wpcdd-featuretest-ws.worldpay.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CompaniesHouseRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using CDD_Engine_DLL.DataObjects; using CDD_Engine_WS.dto.Requests; using CDD_Engine_WS.dto.Responses; namespace CDD_Engine_DLL.DataObjects { public partial class CompaniesHouseAddress { public virtual string address1 { get; set; } public virtual string address2 { get; set; } public virtual string address3 { get; set; } public virtual string city { get; set; } public virtual string postcode { get; set; } } public partial class CompaniesHouseData { public CompaniesHouseData() { shareHolders = new List{}; directors = new List{}; } public virtual string registeredName { get; set; } public virtual CompaniesHouseAddress address { get; set; } public virtual CompaniesHouseIncorporationDate dateOfIncorporation { get; set; } public virtual List shareHolders { get; set; } public virtual List directors { get; set; } } public partial class CompaniesHouseDirectorsData { public virtual string title { get; set; } public virtual string firstName { get; set; } public virtual string middleNames { get; set; } public virtual string lastName { get; set; } } public partial class CompaniesHouseIncorporationDate { public virtual int day { get; set; } public virtual int month { get; set; } public virtual int year { get; set; } } public partial class CompaniesHouseShareHolderData { public virtual string title { get; set; } public virtual string firstName { get; set; } public virtual string middleNames { get; set; } public virtual string lastName { get; set; } public virtual double? percentageOfVotingSharesOwned { get; set; } } } namespace CDD_Engine_WS.dto.Requests { [Route("/CompaniesHouse", "GET, POST")] [Route("/CompaniesHouse/{CompanyNumber}", "GET, POST")] public partial class CompaniesHouseRequest : IReturn { /// ///The registered company number. /// [Required] public virtual string CompanyNumber { get; set; } /// ///The Csr of the application (if available). /// public virtual string Csr { get; set; } } } namespace CDD_Engine_WS.dto.Responses { public partial class CompaniesHouseResponse { /// ///Contains the companies house lookup result when successful. /// public virtual CompaniesHouseData Result { get; set; } /// ///Contains response status, details and errors. /// public virtual ResponseStatus ResponseStatus { get; set; } } }