Example #1
0
        public HotelResModifyRS Modify(string pnr)
        {
            var session = SabreSessionManager.Create();
            ReadTravelerInfo readInfo = new ReadTravelerInfo();
            var result = readInfo.ReadInfo(session.SecurityValue.BinarySecurityToken, pnr);

            HotelResModifyRQ req = new HotelResModifyRQ();

            HotelResModifyService client = new HotelResModifyService();
            var modifyResult = client.HotelResModifyRQ(req);

            SessionClose close = new SessionClose();
            close.Close(session.SecurityValue.BinarySecurityToken);

            return modifyResult;
        }
Example #2
0
 /// <remarks/>
 public void HotelResModifyRQAsync(HotelResModifyRQ HotelResModifyRQ1, object userState) {
     if ((this.HotelResModifyRQOperationCompleted == null)) {
         this.HotelResModifyRQOperationCompleted = new System.Threading.SendOrPostCallback(this.OnHotelResModifyRQOperationCompleted);
     }
     this.InvokeAsync("HotelResModifyRQ", new object[] {
                 HotelResModifyRQ1}, this.HotelResModifyRQOperationCompleted, userState);
 }
Example #3
0
 /// <remarks/>
 public void HotelResModifyRQAsync(HotelResModifyRQ HotelResModifyRQ1) {
     this.HotelResModifyRQAsync(HotelResModifyRQ1, null);
 }