public void LockForAccountOverdraft(string comment, IPricingService service)
 {
     if (_state.ManualBilling) return;
     var threshold = service.GetOverdraftThreshold(_state.Currency);
     if (_state.Balance < threshold)
     {
         LockCustomer("Overdraft. " + comment);
     }
 }
Example #2
0
        public void LockForAccountOverdraft(string comment, IPricingService service)
        {
            if (_state.ManualBilling)
            {
                return;
            }
            var threshold = service.GetOverdraftThreshold(_state.Currency);

            if (_state.Balance < threshold)
            {
                LockCustomer("Overdraft. " + comment);
            }
        }