public void Initialize() { _validatePaymentFactory = new ValidatePaymentFactory(); }
public void Initialize() { _validatePaymentFactory = new ValidatePaymentFactory(); _account = new Account(); _request = new MakePaymentRequest(); }
public PaymentService(IAccountDataStore accountDataStore, IValidatePaymentFactory validatePaymentFactory) { _accountDataStore = accountDataStore; _validatePaymentFactory = validatePaymentFactory; }