public CancelHotelOrderByIdResponse CancelHotelOrderById(CancelHotelOrderByIdRequest CancelHotelOrderByIdRequest)
 {
     object[] results = this.Invoke("CancelHotelOrderById", new object[] {
         CancelHotelOrderByIdRequest
     });
     return((CancelHotelOrderByIdResponse)(results[0]));
 }
Beispiel #2
0
        public JsResultObject cancelHotelOrderById(int orderId,string cancelCode,string cancelReason)
        {
            if (!this.login())
            {
                return LoginFailHandler("");
            }

            CancelHotelOrderByIdRequest req = new CancelHotelOrderByIdRequest();
            req.RequestHead = this.requestHead;
            req.CancelCode = cancelCode;
            req.CancelReason = cancelReason;
            req.HotelOrderId = orderId;
            CancelHotelOrderByIdResponse res = elongService.CancelHotelOrderById(req);
            return CancelHotelOrderByIdHandler(res);
        }
Beispiel #3
0
        public JsResultObject cancelHotelOrderById(int orderId, string cancelCode, string cancelReason)
        {
            if (!this.login())
            {
                return(LoginFailHandler(""));
            }

            CancelHotelOrderByIdRequest req = new CancelHotelOrderByIdRequest();

            req.RequestHead  = this.requestHead;
            req.CancelCode   = cancelCode;
            req.CancelReason = cancelReason;
            req.HotelOrderId = orderId;
            CancelHotelOrderByIdResponse res = elongService.CancelHotelOrderById(req);

            return(CancelHotelOrderByIdHandler(res));
        }
 public CancelHotelOrderByIdResponse CancelHotelOrderById(CancelHotelOrderByIdRequest CancelHotelOrderByIdRequest)
 {
     object[] results = this.Invoke("CancelHotelOrderById", new object[] {
             CancelHotelOrderByIdRequest});
     return ((CancelHotelOrderByIdResponse)(results[0]));
 }
 /// <remarks/>
 public System.IAsyncResult BeginCancelHotelOrderById(CancelHotelOrderByIdRequest CancelHotelOrderByIdRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CancelHotelOrderById", new object[] {
             CancelHotelOrderByIdRequest}, callback, asyncState);
 }
 /// <remarks/>
 public System.IAsyncResult BeginCancelHotelOrderById(CancelHotelOrderByIdRequest CancelHotelOrderByIdRequest, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("CancelHotelOrderById", new object[] {
         CancelHotelOrderByIdRequest
     }, callback, asyncState));
 }