private BillStatusResponse OnPayAtTableGetBillStatus(string billId, string tableId, string operatorId, bool paymentFlowStarted) { BillStatusRequest billStatusRequest = new BillStatusRequest { BillId = billId, TableId = tableId, OperatorId = operatorId, PaymentFlowStarted = paymentFlowStarted }; BillStatusResponse billStatusResponse = new BillStatusResponse(); callBackPayAtTableGetBillStatus(billStatusRequest, out billStatusResponse); return(billStatusResponse); }
private GetOpenTablesResponse OnPayAtTableGetOpenTables(string operatorId) { BillStatusRequest billStatusRequest = new BillStatusRequest { BillId = "", TableId = "", OperatorId = operatorId, PaymentFlowStarted = false }; GetOpenTablesResponse getOpenTablesResponse = new GetOpenTablesResponse(); callBackPayAtTableGetOpenTables(billStatusRequest, out getOpenTablesResponse); return(getOpenTablesResponse); }