/// <remarks/> public void CreateNewOrderAsync(string identity, OrderFlightItem[] flights, OrderPassengerItem[] passengers, OrderPriceItem[] prices) { this.CreateNewOrderAsync(identity, flights, passengers, prices, null); }
/// <remarks/> public void CreateNewOrderAsync(string identity, OrderFlightItem[] flights, OrderPassengerItem[] passengers, OrderPriceItem[] prices, object userState) { if ((this.CreateNewOrderOperationCompleted == null)) { this.CreateNewOrderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateNewOrderOperationCompleted); } this.InvokeAsync("CreateNewOrder", new object[] { identity, flights, passengers, prices}, this.CreateNewOrderOperationCompleted, userState); }
public string CreateNewOrder(string identity, OrderFlightItem[] flights, OrderPassengerItem[] passengers, OrderPriceItem[] prices) { object[] results = this.Invoke("CreateNewOrder", new object[] { identity, flights, passengers, prices}); return ((string)(results[0])); }