//dummy content, replace with call to get actual data
        private string GetPendingTransactions(BankingResource resource)
        {
            string response = "As of September 16th you have 2 pending transactions.";

            response += "Debit of 12 dollars and 76 cents at Valero.";
            response += "Deposit of 100 dollars and 0 cents from Your Employer.";
            return(response);
        }
        //dummy content, replace with call to get actual data
        private string TransferFunds(BankingResource resource, IntentRequest request)
        {
            string dollars = string.IsNullOrEmpty(request.Intent.Slots["DollarSlot"].Value) ? "" : request.Intent.Slots["DollarSlot"].Value + " dollars ";
            string cents   = string.IsNullOrEmpty(request.Intent.Slots["CentSlot"].Value) ? "" : request.Intent.Slots["CentSlot"].Value + " cents ";
            string and     = !string.IsNullOrEmpty(request.Intent.Slots["DollarSlot"].Value) && !string.IsNullOrEmpty(request.Intent.Slots["CentSlot"].Value) ? " and " : " ";
            string from    = request.Intent.Slots["FromShareSlot"].Value;
            string to      = request.Intent.Slots["ToShareSlot"].Value;

            return($"You want me to transfer {dollars}{and}{cents}from {from} to {to}.  Is that correct?");
        }
        //dummy content, replace with call to get actual data
        private string GetRecentActivity(BankingResource resource)
        {
            string t0 = "Withdrawal 40 dollars from ATM at Valero #1424 on September 9th, 2017.";
            string t1 = "Withdrawal 40 dollars from ATM at Valero #1424 on September 12th, 2017.";
            string t2 = "Deposit 800 dollars on September 9th, 2017.";
            string t3 = "Withdrawal 40 dollars from ATM at Valero #4224 on September 16th, 2017.";
            string t4 = "Debit 161 dollars and 18 cents at Walmart #68417 on September 16th, 2017.";

            return($"Your last five transactions are {t0}, {t1}, {t2}, {t3}, {t4}");
        }
        public List <BankingResource> GetResources()
        {
            List <BankingResource> resources    = new List <BankingResource>();
            BankingResource        enUSResource = new BankingResource("en-US");

            enUSResource.SkillName       = "Credit Human Voice";
            enUSResource.ResponsePreface = "As of January first 2017: ";
            enUSResource.HelpMessage     = "You can say tell me my current balance, tell me my pending transactions, tell me recent activity, tell me my credit score, or, you can say exit... What can I help you with?";
            enUSResource.HelpReprompt    = "You can say tell me my current balance, tell me my pending transactions, tell me recent activity, tell me my credit score, or, you can say exit.";
            enUSResource.StopMessage     = "Goodbye!";
            resources.Add(enUSResource);
            return(resources);
        }
        //dummy content, replace with call to get actual data
        private string GetCurrentBalance(BankingResource resource)
        {
            string response = "As of September 16th your current balance is 1023 dollars and 62 cents.";

            return(response);
        }
        //dummy content, replace with call to get actual data
        private string GetCreditScore(BankingResource resource)
        {
            string response = "As of March 2nd your credit score is 702.";

            return(response);
        }
 //dummy content, replace with call to get actual data
 private string BadInput(BankingResource resource)
 {
     return("I'm sorry, I didn't understand.  You can say tell me my current balance, tell me my pending transactions, tell me recent activity, tell me my credit score, or, you can say exit... What can I help you with?");
 }