public ProducerBusiness(Company companyDetails = null, Partnership partnership = null, ProducerContact correspondentForNoticesContact = null) { CompanyDetails = companyDetails; Partnership = partnership; CorrespondentForNoticesContact = correspondentForNoticesContact; }
public AuthorisedRepresentative(string name, ProducerContact overseasContact = null) { OverseasProducerName = name; OverseasContact = overseasContact; if (overseasContact != null) { if (!overseasContact.IsOverseas) { string errorMessage = "The overseas producer of an authorised representative cannot be based in the UK."; throw new ArgumentException(errorMessage); } } }
public Company(string name, string registrationNumber, ProducerContact registeredOfficeContact) { Name = name; CompanyNumber = registrationNumber; RegisteredOfficeContact = registeredOfficeContact; }
public Partnership(string name, ProducerContact principalPlaceOfBusiness, List <Partner> partnersList) { PartnersList = partnersList; Name = name; PrincipalPlaceOfBusiness = principalPlaceOfBusiness; }