public Promise Complete(PaymentComplete result) { return(this.CallMethod <Promise>("complete", result)); }
public void Consume(PaymentComplete message) { Console.WriteLine("Barista: got payment notification"); State.GotPayment = true; SubmitOrderIfDone(); }