Esempio n. 1
0
 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);
                }
            }
        }
Esempio n. 3
0
 public Company(string name, string registrationNumber, ProducerContact registeredOfficeContact)
 {
     Name                    = name;
     CompanyNumber           = registrationNumber;
     RegisteredOfficeContact = registeredOfficeContact;
 }
Esempio n. 4
0
 public Partnership(string name, ProducerContact principalPlaceOfBusiness, List <Partner> partnersList)
 {
     PartnersList             = partnersList;
     Name                     = name;
     PrincipalPlaceOfBusiness = principalPlaceOfBusiness;
 }