Пример #1
0
 public PaymentService_Brasseler(IUnitOfWorkFactory unitOfWorkFactory, IPaymentGatewayFactory paymentGatewayFactory, ICustomerService customerService, IUserProfileUtilities userProfileUtilities, PaymentSettings paymentSettings, ICartOrderProviderFactory cartOrderProviderFactory, CustomSettings customSettings) : base(unitOfWorkFactory)
 {
     this.paymentGatewayFactory    = paymentGatewayFactory;
     this.customerService          = customerService;
     this.userProfileUtilities     = userProfileUtilities;
     this.paymentSettings          = paymentSettings;
     this.cartOrderProviderFactory = cartOrderProviderFactory;
     this.customSettings           = customSettings;
 }
Пример #2
0
 public ProcessGateway(IPaymentGatewayFactory factory, IMapper mapper, IDataDal dal)
 {
     _factory = factory;
     _mapper  = mapper;
     _dal     = dal;
 }
Пример #3
0
 public PaymentService(ILogger <PaymentService> logger, IUnitOfWork unitOfWork, IPaymentGatewayFactory paymentGatewayFactory)
 {
     this.logger                = logger;
     this.unitOfWork            = unitOfWork;
     this.paymentGatewayFactory = paymentGatewayFactory;
 }
 public PaymentGatewayService(IPaymentGatewayFactory paymentGatewayFactory)
 {
     this.paymentGatewayFactory = paymentGatewayFactory;
 }
Пример #5
0
 public PaymentProcessor()
 {
     paymentGateWay = new PaymentGatewayFactory();
 }