public override void OnConfirmPaymentRequest(ConfirmPaymentRequest request) { Connector.AcceptPayment(request.Payment); }
public override Task <Empty> AcceptPayment(AcceptPaymentRequest request, ServerCallContext context) { Program.WriteLine("AcceptPayment"); Connector.AcceptPayment(Translate.From(request.Payment)); return(Task.FromResult(new Empty())); }