Exemplo n.º 1
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);
     }
 }
Exemplo n.º 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);
            }
        }