Example #1
0
        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);
        }
Example #2
0
        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);
        }