Пример #1
0
        public System.Threading.Tasks.Task <queryUPRNResponse1> queryUPRNAsync(queryUPRN queryUPRN)
        {
            queryUPRNRequest1 inValue = new queryUPRNRequest1();

            inValue.queryUPRN = queryUPRN;
            return(((QueryUPRNService)(this)).queryUPRNAsync(inValue));
        }
Пример #2
0
        public queryUPRNResponse queryUPRN(queryUPRN queryUPRN1)
        {
            queryUPRNRequest1 inValue = new queryUPRNRequest1();

            inValue.queryUPRN = queryUPRN1;
            queryUPRNResponse1 retVal = ((QueryUPRNService)(this)).queryUPRN(inValue);

            return(retVal.queryUPRNResponse);
        }
Пример #3
0
        public queryUPRNRequest1(string CallerToken, string UPRN)
        {
            queryUPRN myQueryUPRN = new queryUPRN();

            myQueryUPRN.CallerToken                  = CallerToken;
            myQueryUPRN.queryUPRNRequest             = new QueryUPRNRequest();
            myQueryUPRN.queryUPRNRequest.RequestBody = new RequestBody();
            UPRNType myUPRNType = new UPRNType();

            myUPRNType.Value = UPRN;
            myQueryUPRN.queryUPRNRequest.RequestBody.Item = myUPRNType;
            this.queryUPRN = myQueryUPRN;
        }
Пример #4
0
        public queryUPRNRequest1(string CallerToken, string addressLine1, string addressLine2, string addressLine3, string town, string postCode)
        {
            if (CallerToken == null || CallerToken == string.Empty || CallerToken == "")
            {
                throw new System.ArgumentException("Parameter cannot be null", "CallerToken");
            }
            queryUPRN myQueryUPRN = new queryUPRN();

            myQueryUPRN.CallerToken                  = CallerToken;
            myQueryUPRN.queryUPRNRequest             = new QueryUPRNRequest();
            myQueryUPRN.queryUPRNRequest.RequestBody = new RequestBody();
            AddressDetails myAddressDetails = new AddressDetails();
            AddressLine    myAddressLine    = new AddressLine();

            myAddressLine.AddressLine1       = addressLine1;
            myAddressLine.AddressLine2       = addressLine2;
            myAddressLine.AddressLine3       = addressLine3;
            myAddressDetails.AddressLine     = myAddressLine;
            myAddressDetails.PostCode        = postCode;
            myAddressDetails.Town            = town;
            myAddressDetails.LACodeSpecified = false;
            myQueryUPRN.queryUPRNRequest.RequestBody.Item = myAddressDetails;
            this.queryUPRN = myQueryUPRN;
        }
Пример #5
0
 public queryUPRNRequest1(queryUPRN queryUPRN)
 {
     this.queryUPRN = queryUPRN;
 }