public PaymentStatusesController(
     IPaymentGatewayProcessorProxy paymentGatewayProcessorProxy,
     IMapper mapper)
 {
     _paymentGatewayProcessorProxy = paymentGatewayProcessorProxy;
     _mapper = mapper;
 }
Exemple #2
0
 public PaymentService(
     IPaymentGatewayProcessorProxy paymentGatewayProcessorProxy,
     IPaymentGatewayProxy paymentGatewayProxy,
     IConfiguration configuration)
 {
     _paymentGatewayProcessorProxy = paymentGatewayProcessorProxy;
     _paymentGatewayProxy          = paymentGatewayProxy;
     if (!Guid.TryParse(configuration["MerchantId"], out merchantIdGuid))
     {
         throw  new ArgumentNullException("MerchantId");
     }
 }