private void ValidateCreditCard(CreditCard creditCard) { if (!_orderProcessor.IsCreditCardValid(creditCard)) { throw new InvalidOperationException("The credit card is not valid"); } }