Example #1
0
 public CardPaymentService(IMerchantAccountService merchantAccountService,
                           IPaymentRequestRepository paymentRequestRepository, IUnifiedSalesService unifiedSalesService,
                           ILogger <CardPaymentService> logger) : base(unifiedSalesService, paymentRequestRepository)
 {
     _merchantAccountService   = merchantAccountService;
     _paymentRequestRepository = paymentRequestRepository;
     _unifiedSalesService      = unifiedSalesService;
     _logger = logger;
 }
Example #2
0
 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;
 }
Example #3
0
 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;
 }