public CardPaymentService(IMerchantAccountService merchantAccountService, IPaymentRequestRepository paymentRequestRepository, IUnifiedSalesService unifiedSalesService, ILogger <CardPaymentService> logger) : base(unifiedSalesService, paymentRequestRepository) { _merchantAccountService = merchantAccountService; _paymentRequestRepository = paymentRequestRepository; _unifiedSalesService = unifiedSalesService; _logger = logger; }
public HubtelMePaymentService(IMerchantAccountService merchantAccountService, IPaymentRequestRepository paymentRequestRepository, IUnifiedSalesService unifiedSalesService, ILogger <HubtelMePaymentService> logger, IHttpContextAccessor httpContextAccessor) : base(unifiedSalesService, paymentRequestRepository) { _merchantAccountService = merchantAccountService; _paymentRequestRepository = paymentRequestRepository; _unifiedSalesService = unifiedSalesService; _logger = logger; _httpContextAccessor = httpContextAccessor; }
public PaymentsController(ICardPaymentService cardPaymentService, IMomoPaymentService momoPaymentService, IMapper mapper, IPaymentRequestRepository paymentRequestRepository, IServiceProvider provider, IPaymentTypeConfiguration paymentTypeConfiguration, IUnifiedSalesService unifiedSalesService, IMerchantAccountService merchantAccountService, ICustomerProfileService customerProfileService) { _mapper = mapper; _paymentRequestRepository = paymentRequestRepository; _cardPaymentService = cardPaymentService; _momoPaymentService = momoPaymentService; _provider = provider; _paymentTypeConfiguration = paymentTypeConfiguration; _unifiedSalesService = unifiedSalesService; _merchantAccountService = merchantAccountService; _customerProfileService = customerProfileService; }