Exemplo n.º 1
0
        private void SendNotifyPartySMS(Party party)
        {
            var message = "This message is sent on behalf of the Restaurant Waitlist. ";

            message += "Your seat is ready in approximately 10 minutes. Please make sure your entire party is present in the restaurant or you risk losing your seat.";

            _textMessageClient.SendTextMessage(party.Customer.Phone.PhoneNumber, message);
        }
Exemplo n.º 2
0
        private void SendPhoneVerificationSMS(Customer customer)
        {
            var message = "This message is sent on behalf of the Restaurant Waitlist. ";

            message += "Please verify your phone number using the following verification code, case-sensitive and valid for " + _verificationCodeExpiryMinutes + " minutes(s): " + customer.Phone.Verification.VerificationCode;

            _textMessageClient.SendTextMessage(customer.Phone.PhoneNumber, message);
        }
Exemplo n.º 3
0
        public void SendLoginVerificationSMS(Admin admin)
        {
            var message = "Front-desk login verification code, valid for " + _adminLoginVerificationExpiryMinutes + " minute(s): " + admin.LoginVerification.VerificationCode;

            _textMessageClient.SendTextMessage(admin.PhoneNumber, message);
        }