public bool IsPaymentAllowed(Account account, decimal amount) { if (_accountSuitableRule.IsAccountSuitable(account, AllowedPaymentSchemes.Bacs)) { return(true); } return(false); }
public bool IsPaymentAllowed(Account account, decimal amount) { if (_accountSuitableRule.IsAccountSuitable(account, AllowedPaymentSchemes.Chaps) && account.Status == AccountStatus.Live) { return(true); } return(false); }
public bool IsPaymentAllowed(Account account, decimal amount) { if (_accountSuitableRule.IsAccountSuitable(account, AllowedPaymentSchemes.FasterPayments) && account.Balance >= amount) { return(true); } return(false); }