Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }