Ejemplo n.º 1
0
 public ReferralsService(ILogFactory logFactory,
                         IMapper mapper,
                         ICustomerProfileClient customerProfileClient,
                         IPartnerAndLocationHelper partnerAndLocationHelper,
                         IReferralClient referralClient,
                         IPartnerManagementClient partnerManagementClient)
 {
     _mapper = mapper;
     _customerProfileClient    = customerProfileClient;
     _partnerAndLocationHelper = partnerAndLocationHelper;
     _referralClient           = referralClient;
     _partnerManagementClient  = partnerManagementClient;
     _log = logFactory.CreateLog(this);
 }
Ejemplo n.º 2
0
 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);
 }