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