Exemplo n.º 1
0
 public VippsPollingService(PollingEntityDbContext pollingEntityContext,
                            IVippsService vippsService,
                            IVippsOrderProcessor vippsOrderCreator,
                            SchedulerOptions schedulerOptions)
 {
     _pollingEntityContext = pollingEntityContext;
     _vippsService         = vippsService;
     _vippsOrderCreator    = vippsOrderCreator;
     _schedulerOptions     = schedulerOptions;
 }
 public VippsPollingService(
     PollingEntityDbContext pollingEntityContext,
     IVippsService vippsService,
     IVippsOrderProcessor vippsOrderProcessor,
     IVippsOrderSynchronizer vippsOrderSynchronizer)
 {
     _pollingEntityContext   = pollingEntityContext;
     _vippsService           = vippsService;
     _vippsOrderProcessor    = vippsOrderProcessor;
     _vippsOrderSynchronizer = vippsOrderSynchronizer;
 }
Exemplo n.º 3
0
 public DefaultVippsResponseFactory(
     IPromotionEngine promotionEngine,
     IOrderGroupFactory orderGroupFactory,
     IOrderGroupCalculator orderGroupCalculator,
     IVippsOrderProcessor vippsOrderCreator,
     IVippsService vippsService)
 {
     _promotionEngine      = promotionEngine;
     _orderGroupFactory    = orderGroupFactory;
     _orderGroupCalculator = orderGroupCalculator;
     _vippsOrderCreator    = vippsOrderCreator;
     _vippsService         = vippsService;
 }
Exemplo n.º 4
0
 public VippsPaymentService(
     IOrderRepository orderRepository,
     VippsServiceApiFactory vippsServiceApiFactory,
     IVippsRequestFactory requestFactory,
     IVippsOrderProcessor vippsOrderCreator,
     IVippsPollingService vippsPollingService,
     IVippsConfigurationLoader configurationLoader)
 {
     _orderRepository        = orderRepository;
     _vippsServiceApiFactory = vippsServiceApiFactory;
     _requestFactory         = requestFactory;
     _vippsOrderCreator      = vippsOrderCreator;
     _vippsPollingService    = vippsPollingService;
     _configurationLoader    = configurationLoader;
 }
 public VippsAsyncPaymentService(IVippsOrderProcessor vippsOrderProcessor)
 {
     _vippsOrderProcessor = vippsOrderProcessor;
 }