Ejemplo n.º 1
0
        public static Task <SubmitBasketResponse> HandleMessage(SubmitBasketRequest request)
        {
            Received(request);
            var response = new SubmitBasketResponse {
                Id      = request.Id,
                POSData = request.POSData,
                Result  = new Result {
                    Status = Status.Success
                }
            };

            Sending(response);
            return(Task.FromResult(response));
        }
Ejemplo n.º 2
0
 public static Task HandleMessage(SubmitBasketResponse response)
 {
     Console.WriteLine($"Received SubmitBasketResponse Response: {response?.Result?.Status}, {response?.Id}");
     return(Task.CompletedTask);
 }
Ejemplo n.º 3
0
 public static Task HandleMessage(SubmitBasketResponse response)
 {
     Received(response);
     return(Task.CompletedTask);
 }