Exemple #1
0
        public override string AuthorizerRequest(Requisition requisition)
        {
            string message;

            if (requisition.Amount > MaximumAmount)
            {
                message = MessageFormat.GetRejectionMessage(requisition.Concept, AuthorizerName);
            }
            else
            {
                message = MessageFormat.GetAuthorizationMessage(requisition.Concept, AuthorizerName);
            }

            return(message);
        }