Beispiel #1
0
        private BillStatusResponse OnPayAtTableGetBillStatus(string billId, string tableId, string operatorId)
        {
            BillStatusInfo billStatusInfo = new BillStatusInfo();

            billStatusInfo.BillId     = billId;
            billStatusInfo.TableId    = tableId;
            billStatusInfo.OperatorId = operatorId;

            BillStatusResponse billStatusResponse = new BillStatusResponse();

            callBackPayAtTableGetBillStatus(billStatusInfo, out billStatusResponse);
            return(billStatusResponse);
        }
        private BillStatusResponse OnPayAtTableGetBillStatus(string billId, string tableId, string operatorId, bool paymentFlowStarted)
        {
            BillStatusInfo billStatusInfo = new BillStatusInfo
            {
                BillId             = billId,
                TableId            = tableId,
                OperatorId         = operatorId,
                PaymentFlowStarted = paymentFlowStarted
            };

            BillStatusResponse billStatusResponse = new BillStatusResponse();

            callBackPayAtTableGetBillStatus(billStatusInfo, out billStatusResponse);
            return(billStatusResponse);
        }