Пример #1
0
 public ProducerBusiness(Company companyDetails = null, Partnership partnership = null,
                         ProducerContact correspondentForNoticesContact = null)
 {
     CompanyDetails = companyDetails;
     Partnership    = partnership;
     CorrespondentForNoticesContact = correspondentForNoticesContact;
 }
Пример #2
0
        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);
                }
            }
        }
Пример #3
0
 public Company(string name, string registrationNumber, ProducerContact registeredOfficeContact)
 {
     Name                    = name;
     CompanyNumber           = registrationNumber;
     RegisteredOfficeContact = registeredOfficeContact;
 }
Пример #4
0
 public Partnership(string name, ProducerContact principalPlaceOfBusiness, List <Partner> partnersList)
 {
     PartnersList             = partnersList;
     Name                     = name;
     PrincipalPlaceOfBusiness = principalPlaceOfBusiness;
 }