/* Options: Date: 2024-07-06 12:41:05 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://wp-cddws-test.worldpay.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CompaniesHouseRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/CompaniesHouse", Verbs="GET, POST") // @Route(Path="/CompaniesHouse/{CompanyNumber}", Verbs="GET, POST") open class CompaniesHouseRequest : IReturn { /** * The registered company number. */ @Required() var CompanyNumber:String? = null /** * The Csr of the application (if available). */ var Csr:String? = null companion object { private val responseType = CompaniesHouseResponse::class.java } override fun getResponseType(): Any? = CompaniesHouseRequest.responseType } open class CompaniesHouseResponse { /** * Contains the companies house lookup result when successful. */ var Result:CompaniesHouseData? = null /** * Contains response status, details and errors. */ var ResponseStatus:ResponseStatus? = null } open class CompaniesHouseData { var registeredName:String? = null var address:CompaniesHouseAddress? = null var dateOfIncorporation:CompaniesHouseIncorporationDate? = null var shareHolders:ArrayList = ArrayList() var directors:ArrayList = ArrayList() } open class CompaniesHouseAddress { var address1:String? = null var address2:String? = null var address3:String? = null var city:String? = null var postcode:String? = null } open class CompaniesHouseIncorporationDate { var day:Int? = null var month:Int? = null var year:Int? = null } open class CompaniesHouseShareHolderData { var title:String? = null var firstName:String? = null var middleNames:String? = null var lastName:String? = null var percentageOfVotingSharesOwned:Double? = null } open class CompaniesHouseDirectorsData { var title:String? = null var firstName:String? = null var middleNames:String? = null var lastName:String? = null }