public PaymentController( IProcessPaymentService processPaymentService, IRetrievePaymentService retrievePaymentService, ILogger <PaymentController> logger) { this.processPaymentService = processPaymentService; this.retrievePaymentService = retrievePaymentService; this.logger = logger; }
public Worker(ILogger <Worker> logger, IConsumer <string, Payment> consumerPayment, IConfiguration configuration, IProcessPaymentService processPaymentService, IConsumer <string, RollbackPayment> consumerRollbackPayment) { _logger = logger; _consumerPayment = consumerPayment; _configuration = configuration; _processPaymentService = processPaymentService; _consumerRollbackPayment = consumerRollbackPayment; }
public PaymentController(IProcessPaymentService processPaymentService, ILogger logger) { _processPaymentService = processPaymentService; _logger = logger; }
public ProcessPaymentController(IProcessPaymentService paymentService) { _processPaymentService = paymentService; }
public CheapPaymentGateway(IProcessPaymentService processPaymentService) { _processPaymentService = processPaymentService; }
public ProcessPaymentUnitTest() { _service = new ProcessPaymentServiceFake(); _controller = new PaymentController(_service); }
public ExpensivePaymentGateway(IProcessPaymentService processPaymentService) { _processPaymentService = processPaymentService; }
public PaymentControllerTest() { _processPaymentService = new Mock <IProcessPaymentService>().Object; _logger = new Mock <ILogger>().Object; }
public ProcessPaymentController(IProcessPaymentService paymentService, IPaymentHistoryService historyService) { _paymentService = paymentService; _historyService = historyService; }
//private readonly IEasyRetry _easyRetry; public PremiumPaymentGateway(IProcessPaymentService processPaymentService /*,IEasyRetry easyRetry*/) { _processPaymentService = processPaymentService; //_easyRetry = easyRetry; }
public OrderProcessingService(IManageInventory inventory, IProcessPaymentService processPaymentService, IEmailService emailService) { _inventory = inventory; _processPaymentService = processPaymentService; _emailService = emailService; }