public Task <TransactionReceipt> CreateShipmentRequestAndWaitForReceiptAsync(string airlineAdd, string agentAdd, string ghaAdd, string awbNumber, string airlineCompanyID, string airlineCity, string agentCompanyID, string agentCity, CancellationTokenSource cancellationToken = null)
        {
            var createShipmentFunction = new CreateShipmentFunction();

            createShipmentFunction.AirlineAdd       = airlineAdd;
            createShipmentFunction.AgentAdd         = agentAdd;
            createShipmentFunction.GhaAdd           = ghaAdd;
            createShipmentFunction.AwbNumber        = awbNumber;
            createShipmentFunction.AirlineCompanyID = airlineCompanyID;
            createShipmentFunction.AirlineCity      = airlineCity;
            createShipmentFunction.AgentCompanyID   = agentCompanyID;
            createShipmentFunction.AgentCity        = agentCity;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(createShipmentFunction, cancellationToken));
        }
        public Task <string> CreateShipmentRequestAsync(string airlineAdd, string agentAdd, string ghaAdd, string awbNumber, string airlineCompanyID, string airlineCity, string agentCompanyID, string agentCity)
        {
            var createShipmentFunction = new CreateShipmentFunction();

            createShipmentFunction.AirlineAdd       = airlineAdd;
            createShipmentFunction.AgentAdd         = agentAdd;
            createShipmentFunction.GhaAdd           = ghaAdd;
            createShipmentFunction.AwbNumber        = awbNumber;
            createShipmentFunction.AirlineCompanyID = airlineCompanyID;
            createShipmentFunction.AirlineCity      = airlineCity;
            createShipmentFunction.AgentCompanyID   = agentCompanyID;
            createShipmentFunction.AgentCity        = agentCity;

            return(ContractHandler.SendRequestAsync(createShipmentFunction));
        }
 public Task <TransactionReceipt> CreateShipmentRequestAndWaitForReceiptAsync(CreateShipmentFunction createShipmentFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(createShipmentFunction, cancellationToken));
 }
 public Task <string> CreateShipmentRequestAsync(CreateShipmentFunction createShipmentFunction)
 {
     return(ContractHandler.SendRequestAsync(createShipmentFunction));
 }