public PaymentsService(IMapper mapper, ILogFactory logFactory, IPartnerAndLocationHelper partnerAndLocationHelper, IPartnersPaymentsClient partnersPaymentsClient, IPartnerManagementClient partnerManagementClient, IMessagesService messagesService, IPaymentCallbackRepository paymentCallbackRepository, IHttpClientFactory httpClientFactory, int externalPartnerPaymentConnectionRetries) { _mapper = mapper; _partnerAndLocationHelper = partnerAndLocationHelper; _partnersPaymentsClient = partnersPaymentsClient; _partnerManagementClient = partnerManagementClient; _messagesService = messagesService; _paymentCallbackRepository = paymentCallbackRepository; _httpClientFactory = httpClientFactory; _externalPartnerPaymentConnectionRetries = externalPartnerPaymentConnectionRetries; _log = logFactory.CreateLog(this); }
public CallbackService(IPaymentCallbackRepository paymentCallbackRepository) { _paymentCallbackRepository = paymentCallbackRepository ?? throw new ArgumentNullException(nameof(paymentCallbackRepository)); }