public queryUCRNRequest1(string CallerToken, string Forename, string Surname, DateTime DoB, GenderType Gender, string PlaceOfBirth, string MotherBirthSurname)
        {
            try
            {
                MyAccount.QueryUCRNService.queryUCRN myQueryUCRN = new queryUCRN();
                myQueryUCRN.CallerToken                  = CallerToken;
                myQueryUCRN.queryUCRNRequest             = new QueryUCRNRequest();
                myQueryUCRN.queryUCRNRequest.RequestBody = new RequestBody();

                CitizenDetails myCitizenDetails = new CitizenDetails();
                myCitizenDetails.DateOfBirth = DoB;
                myCitizenDetails.Gender      = Gender;
                Name myName = new Name();
                myName.FirstName      = Forename;
                myName.LastName       = Surname;
                myCitizenDetails.Name = new Name();
                myCitizenDetails.Name = myName;
                myCitizenDetails.MothersBirthSurname          = MotherBirthSurname;
                myCitizenDetails.PlaceOfBirth                 = PlaceOfBirth;
                myQueryUCRN.queryUCRNRequest.RequestBody.Item = myCitizenDetails;
                this.queryUCRN = myQueryUCRN;
            }
            catch (Exception ex)
            {
                throw;
            }
        }
        public System.Threading.Tasks.Task <queryUCRNResponse1> queryUCRNAsync(queryUCRN queryUCRN)
        {
            queryUCRNRequest1 inValue = new queryUCRNRequest1();

            inValue.queryUCRN = queryUCRN;
            return(((QueryUCRNService)(this)).queryUCRNAsync(inValue));
        }
        public queryUCRNResponse queryUCRN(queryUCRN queryUCRN1)
        {
            queryUCRNRequest1 inValue = new queryUCRNRequest1();

            inValue.queryUCRN = queryUCRN1;
            queryUCRNResponse1 retVal = ((QueryUCRNService)(this)).queryUCRN(inValue);

            return(retVal.queryUCRNResponse);
        }
        public queryUCRNRequest1(string CallerToken, UCRNType UCRN)
        {
            // queryUCRN myQueryUCRN = new queryUCRN();
            MyAccount.QueryUCRNService.queryUCRN myQueryUCRN = new queryUCRN();
            myQueryUCRN.CallerToken                  = CallerToken;
            myQueryUCRN.queryUCRNRequest             = new QueryUCRNRequest();
            myQueryUCRN.queryUCRNRequest.RequestBody = new RequestBody();

            myQueryUCRN.queryUCRNRequest.RequestBody.Item = UCRN;
            this.queryUCRN = myQueryUCRN;
        }
        public queryUCRNRequest1(string CallerToken, string UCRN)
        {
            // queryUCRN myQueryUCRN = new queryUCRN();
            MyAccount.QueryUCRNService.queryUCRN myQueryUCRN = new queryUCRN();
            myQueryUCRN.CallerToken                  = CallerToken;
            myQueryUCRN.queryUCRNRequest             = new QueryUCRNRequest();
            myQueryUCRN.queryUCRNRequest.RequestBody = new RequestBody();
            UCRNType myUCRNType = new UCRNType();

            myUCRNType.Value = UCRN;
            myUCRNType.UCRNType1Specified = false;
            myQueryUCRN.queryUCRNRequest.RequestBody.Item = myUCRNType;
            this.queryUCRN = myQueryUCRN;
        }
        public queryUCRNRequest1(string CallerToken, string Forename, string Surname, DateTime DoB, GenderType Gender)
        {
            MyAccount.QueryUCRNService.queryUCRN myQueryUCRN = new queryUCRN();
            myQueryUCRN.CallerToken                  = CallerToken;
            myQueryUCRN.queryUCRNRequest             = new QueryUCRNRequest();
            myQueryUCRN.queryUCRNRequest.RequestBody = new RequestBody();
            CitizenDetails myCitizenDetails = new CitizenDetails();

            myCitizenDetails.DateOfBirth = DoB;
            myCitizenDetails.Gender      = Gender;
            Name myName = new Name();

            myName.FirstName = Forename;
            myName.LastName  = Surname;

            myCitizenDetails.Name = new Name();
            myCitizenDetails.Name = myName;

            myQueryUCRN.queryUCRNRequest.RequestBody.Item = myCitizenDetails;
            this.queryUCRN = myQueryUCRN;
        }
 public queryUCRNRequest1(queryUCRN queryUCRN)
 {
     this.queryUCRN = queryUCRN;
 }