Example #1
0
        private FlightHelper()
        {
            int AllianceID = 5783;
            int SID = 149038;
            string SecretKey = "4F40E963-3A2D-44FA-B69A-E0EE8DB9D99A";
            //以上配置信息,请使用联盟自己的

            apiCallProxy = new APICallProxy(AllianceID, SID, SecretKey);
        }
Example #2
0
 public void SetReturnEntity(APICallProxy apiCallProxy)
 {
     // hotel.HotelList = this.SetIDinList(this.hotelIDs);
     returnEntity = (D_HotelSearchCallReturnEntity)apiCallProxy.CallAPISyn(hotel);
 }
Example #3
0
 public void SetReturnEntity(APICallProxy apiCallProxy)
 {
     returnEntity = (OTA_FlightSearchCallReturnEntity)apiCallProxy.CallAPISyn(flight);
 }