public TicketController(ITicketService ticketService, IPaymentMethodService paymentMethodService, ISeanceService seanceService, IReservedSeatService reservedSeatService)
 {
     _ticketService        = ticketService;
     _paymentMethodService = paymentMethodService;
     _seanceService        = seanceService;
     _reservedSeatService  = reservedSeatService;
 }
 public GetPaymentMethodsQueryHandler(
     ILogger <GetPaymentMethodsQuery> logger,
     IPaymentMethodService paymentMethodService)
     : base(logger)
 {
     _paymentMethodService = paymentMethodService;
 }
Example #3
0
        internal GatewayProviderService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory,
                                        IShipMethodService shipMethodService, IShipRateTierService shipRateTierService,
                                        IShipCountryService shipCountryService, IInvoiceService invoiceService, IOrderService orderService, ITaxMethodService taxMethodService,
                                        IPaymentService paymentService, IPaymentMethodService paymentMethodService)
        {
            Mandate.ParameterNotNull(provider, "provider");
            Mandate.ParameterNotNull(repositoryFactory, "repositoryFactory");
            Mandate.ParameterNotNull(shipMethodService, "shipMethodService");
            Mandate.ParameterNotNull(shipRateTierService, "shipRateTierService");
            Mandate.ParameterNotNull(shipCountryService, "shipCountryService");
            Mandate.ParameterNotNull(taxMethodService, "countryTaxRateService");
            Mandate.ParameterNotNull(paymentService, "paymentService");
            Mandate.ParameterNotNull(paymentMethodService, "paymentMethodService");
            Mandate.ParameterNotNull(invoiceService, "invoiceService");
            Mandate.ParameterNotNull(orderService, "orderService");

            _uowProvider          = provider;
            _repositoryFactory    = repositoryFactory;
            _shipMethodService    = shipMethodService;
            _shipRateTierService  = shipRateTierService;
            _shipCountryService   = shipCountryService;
            _invoiceService       = invoiceService;
            _orderService         = orderService;
            _taxMethodService     = taxMethodService;
            _paymentService       = paymentService;
            _paymentMethodService = paymentMethodService;
        }
        public CustomerController(ICustomerService customerService,
            IDynamicMapper<CustomerDynamic, Customer> customerMapper,
            IDynamicMapper<AddressDynamic, Address> addressMapper, ICountryService countryService,
            IGenericService<AdminProfile> adminProfileService, IDynamicServiceAsync<AddressDynamic, Address> addressService,
            IDynamicServiceAsync<CustomerNoteDynamic, CustomerNote> notesService,
            IDynamicMapper<CustomerNoteDynamic, CustomerNote> noteMapper, ILoggerFactory loggerProvider,
            IStorefrontUserService storefrontUserService,
            IObjectHistoryLogService objectHistoryLogService,
            ICsvExportService<ExtendedVCustomer, CustomersForAffiliatesCsvMap> csvExportCustomersForAffiliatesService,
            ICsvExportService<WholesaleListitem, WholesaleListitemCsvMap> csvExportWholesaleListitemService,
            IPaymentMethodService paymentMethodService, 
            ExtendedUserManager userManager,
            INotificationService notificationService, ReferenceData referenceData)
        {
            _customerService = customerService;
            _countryService = countryService;
            _adminProfileService = adminProfileService;
	        _customerMapper = customerMapper;
            _addressMapper = addressMapper;
            _addressService = addressService;
            _notesService = notesService;
            _noteMapper = noteMapper;
            this.logger = loggerProvider.CreateLogger<CustomerController>();
	        _storefrontUserService = storefrontUserService;
            _objectHistoryLogService = objectHistoryLogService;
            _csvExportCustomersForAffiliatesService = csvExportCustomersForAffiliatesService;
            _csvExportWholesaleListitemService = csvExportWholesaleListitemService;
	        _paymentMethodService = paymentMethodService;
            _userManager = userManager;
            _notificationService = notificationService;
            _referenceData = referenceData;
        }
 public CheckoutController(IOrderService orderService, ICartService cartService, IPaymentMethodService paymentMethodService, IUnitOfWork unitOfWork)
 {
     _orderService         = orderService;
     _cartService          = cartService;
     _paymentMethodService = paymentMethodService;
     _unitOfWork           = unitOfWork;
 }
        internal GatewayProviderService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory, 
            IShipMethodService shipMethodService, IShipRateTierService shipRateTierService, 
            IShipCountryService shipCountryService, IInvoiceService invoiceService, IOrderService orderService, ITaxMethodService taxMethodService, 
            IPaymentService paymentService, IPaymentMethodService paymentMethodService)
        {
            Mandate.ParameterNotNull(provider, "provider");
            Mandate.ParameterNotNull(repositoryFactory, "repositoryFactory");
            Mandate.ParameterNotNull(shipMethodService, "shipMethodService");
            Mandate.ParameterNotNull(shipRateTierService, "shipRateTierService");
            Mandate.ParameterNotNull(shipCountryService, "shipCountryService");
            Mandate.ParameterNotNull(taxMethodService, "countryTaxRateService");
            Mandate.ParameterNotNull(paymentService, "paymentService");
            Mandate.ParameterNotNull(paymentMethodService, "paymentMethodService");
            Mandate.ParameterNotNull(invoiceService, "invoiceService");
            Mandate.ParameterNotNull(orderService, "orderService");

            _uowProvider = provider;
            _repositoryFactory = repositoryFactory;
            _shipMethodService = shipMethodService;
            _shipRateTierService = shipRateTierService;
            _shipCountryService = shipCountryService;
            _invoiceService = invoiceService;
            _orderService = orderService;
            _taxMethodService = taxMethodService;
            _paymentService = paymentService;
            _paymentMethodService = paymentMethodService;
        }
Example #7
0
 internal GatewayProviderService(
     IDatabaseUnitOfWorkProvider provider,
     RepositoryFactory repositoryFactory,
     ILogger logger,
     IShipMethodService shipMethodService,
     IShipRateTierService shipRateTierService,
     IShipCountryService shipCountryService,
     IInvoiceService invoiceService,
     IOrderService orderService,
     ITaxMethodService taxMethodService,
     IPaymentService paymentService,
     IPaymentMethodService paymentMethodService,
     INotificationMethodService notificationMethodService,
     INotificationMessageService notificationMessageService,
     IWarehouseService warehouseService)
     : this(
         provider,
         repositoryFactory,
         logger,
         new TransientMessageFactory(),
         shipMethodService,
         shipRateTierService,
         shipCountryService,
         invoiceService,
         orderService,
         taxMethodService,
         paymentService,
         paymentMethodService,
         notificationMethodService,
         notificationMessageService,
         warehouseService)
 {
 }
        public PaymentMethodDetailController(

            IPaymentMethodService PaymentMethodService
            )
        {
            this.PaymentMethodService = PaymentMethodService;
        }
 public BuckarooPaymentProcessor(
     IPaymentMethodService paymentMethodService,
     CommerceInstanceContext commerceInstanceContext)
 {
     _paymentMethodService = paymentMethodService;
     _commerceInstanceContext = commerceInstanceContext;
 }
 /// <summary></summary>
 public PaymentMethodsController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IPaymentMethodService service)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _service         = service;
 }
Example #11
0
        internal GatewayProviderService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory, ILogger logger, IEventMessagesFactory eventMessagesFactory,
                                        IShipMethodService shipMethodService,
                                        IShipRateTierService shipRateTierService, IShipCountryService shipCountryService,
                                        IInvoiceService invoiceService, IOrderService orderService,
                                        ITaxMethodService taxMethodService, IPaymentService paymentService, IPaymentMethodService paymentMethodService,
                                        INotificationMethodService notificationMethodService, INotificationMessageService notificationMessageService, IWarehouseService warehouseService)
            : base(provider, repositoryFactory, logger, eventMessagesFactory)
        {
            Mandate.ParameterNotNull(shipMethodService, "shipMethodService");
            Mandate.ParameterNotNull(shipRateTierService, "shipRateTierService");
            Mandate.ParameterNotNull(shipCountryService, "shipCountryService");
            Mandate.ParameterNotNull(taxMethodService, "countryTaxRateService");
            Mandate.ParameterNotNull(paymentService, "paymentService");
            Mandate.ParameterNotNull(paymentMethodService, "paymentMethodService");
            Mandate.ParameterNotNull(invoiceService, "invoiceService");
            Mandate.ParameterNotNull(orderService, "orderService");
            Mandate.ParameterNotNull(notificationMethodService, "notificationMethodService");
            Mandate.ParameterNotNull(notificationMessageService, "notificationMessageService");
            Mandate.ParameterNotNull(warehouseService, "warehouseService");

            _shipMethodService          = shipMethodService;
            _shipRateTierService        = shipRateTierService;
            _shipCountryService         = shipCountryService;
            _invoiceService             = invoiceService;
            _orderService               = orderService;
            _taxMethodService           = taxMethodService;
            _paymentService             = paymentService;
            _paymentMethodService       = paymentMethodService;
            _notificationMethodService  = notificationMethodService;
            _notificationMessageService = notificationMessageService;
            _warehouseService           = warehouseService;
        }
 public PaymentMethodController(IPaymentMethodService paymentMethod, ICommonService iCommonService, IStringLocalizer <RocketPOSResources> sharedLocalizer, LocService locService)
 {
     _iPaymentMethodService = paymentMethod;
     _iCommonService        = iCommonService;
     _sharedLocalizer       = sharedLocalizer;
     _locService            = locService;
 }
 public PaymentMethodController(
     ApiDbContext apiDbContext,
     IPaymentMethodService paymentMethodService)
 {
     _apiDbContext         = apiDbContext;
     _paymentMethodService = paymentMethodService;
 }
        public PaymentMethodMasterController(

            IPaymentMethodService PaymentMethodService
            )
        {
            this.PaymentMethodService = PaymentMethodService;
        }
Example #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GatewayProviderService"/> class.
 /// </summary>
 /// <param name="logger">
 /// The logger.
 /// </param>
 /// <param name="repositoryFactory">
 /// The repository factory.
 /// </param>
 /// <param name="shipMethodService">
 /// The ship method service.
 /// </param>
 /// <param name="shipRateTierService">
 /// The ship rate tier service.
 /// </param>
 /// <param name="shipCountryService">
 /// The ship country service.
 /// </param>
 /// <param name="invoiceService">
 /// The invoice service.
 /// </param>
 /// <param name="orderService">
 /// The order service.
 /// </param>
 /// <param name="taxMethodService">
 /// The tax method service.
 /// </param>
 /// <param name="paymentService">
 /// The payment service.
 /// </param>
 /// <param name="paymentMethodService">
 /// The payment method service.
 /// </param>
 /// <param name="notificationMethodService">
 /// The notification method service.
 /// </param>
 /// <param name="notificationMessageService">
 /// The notification message service.
 /// </param>
 /// <param name="warehouseService">
 /// The warehouse service.
 /// </param>
 internal GatewayProviderService(
     ILogger logger,
     RepositoryFactory repositoryFactory,
     IShipMethodService shipMethodService,
     IShipRateTierService shipRateTierService,
     IShipCountryService shipCountryService,
     IInvoiceService invoiceService,
     IOrderService orderService,
     ITaxMethodService taxMethodService,
     IPaymentService paymentService,
     IPaymentMethodService paymentMethodService,
     INotificationMethodService notificationMethodService,
     INotificationMessageService notificationMessageService,
     IWarehouseService warehouseService)
     : this(
         new PetaPocoUnitOfWorkProvider(logger),
         repositoryFactory,
         logger,
         shipMethodService,
         shipRateTierService,
         shipCountryService,
         invoiceService,
         orderService,
         taxMethodService,
         paymentService,
         paymentMethodService,
         notificationMethodService,
         notificationMessageService,
         warehouseService)
 {
 }
Example #16
0
 public OrderService(ICartService cartService, IGlobalEventor eventor, IShippingMethodsService shippingMethodService, IPaymentMethodService paymentService, Repositories.IOrderRepository orderReposytory)
 {
     _paymentMethodService  = paymentService;
     _orderRepository       = orderReposytory;
     _cartService           = cartService;
     _globalEventor         = eventor;
     _shippingMethodService = shippingMethodService;
 }
Example #17
0
 public SaleService(ApplicationDbContext context, IMapper mapper, ICountryService countryService, IProductService productService, ICartService cartService, IPaymentMethodService paymentMethodService)
     : base(context)
 {
     this.countryService       = countryService;
     this.productService       = productService;
     this.cartService          = cartService;
     this.paymentMethodService = paymentMethodService;
 }
 public Installer(IDatabaseFactory databaseFactory, IStoreService storeService, IPaymentMethodService paymentMethodService, IOrderService orderService)
 {
     _databaseFactory      = databaseFactory;
     _storeService         = storeService;
     _paymentMethodService = paymentMethodService;
     _orderService         = orderService;
     _persistenceInstaller = new PersistenceInstaller(databaseFactory);
 }
Example #19
0
 public AddRegistrationModel(IOrderService orders, IEventInfoService eventInfos, IRegistrationService registrations, IPaymentMethodService paymentMethods, UserManager <ApplicationUser> userManager)
 {
     _eventsService        = eventInfos;
     _orders               = orders;
     _registrations        = registrations;
     _paymentMethodService = paymentMethods;
     _userManager          = userManager;
 }
 public Installer( IDatabaseFactory databaseFactory, IStoreService storeService, IPaymentMethodService paymentMethodService, IOrderService orderService )
 {
     _databaseFactory = databaseFactory;
       _storeService = storeService;
       _paymentMethodService = paymentMethodService;
       _orderService = orderService;
       _persistenceInstaller = new PersistenceInstaller( databaseFactory );
 }
Example #21
0
 public frmPurchasePayments(IPurchaseService purchaseService, IPaymentMethodService paymentMethodService, int purchaseID, DateTime purchaseDate)
 {
     InitializeComponent();
     _purchaseService      = purchaseService;
     _purchaseID           = purchaseID;
     _paymentMethodService = paymentMethodService;
     _purchaseDate         = purchaseDate;
 }
 public PayPalPaymentProcessor(
     IOrderService orderService,
     ISettingService settingService,
     IPaymentMethodService paymentMethodService)
 {
     _orderService = orderService;
     _settingsService = settingService;
     _paymentMethodService = paymentMethodService;
 }
Example #23
0
 public iDealController(
     ISettingService keyValueService,
     IPaymentService paymentService,
     IPaymentMethodService paymentMethodService)
 {
     _keyValueService = keyValueService;
     _paymentService = paymentService;
     _paymentMethodService = paymentMethodService;
 }
 public ShoppingCartController(IShoppingCartItemService shoppingCartItemService
                               , IPostService postService, IWorkContext workContext, IGenericAttributeService genericAttributeService,
                               IPaymentMethodService paymentMethodService)
 {
     _shoppingCartItemService = shoppingCartItemService;
     _postService             = postService;
     _workContext             = workContext;
     _genericAttributeService = genericAttributeService;
 }
 internal GatewayProviderService(RepositoryFactory repositoryFactory, IShipMethodService shipMethodService, 
      IShipRateTierService shipRateTierService, IShipCountryService shipCountryService, 
      IInvoiceService invoiceService, IOrderService orderService,
      ITaxMethodService taxMethodService, IPaymentService paymentService, IPaymentMethodService paymentMethodService)
     : this(new PetaPocoUnitOfWorkProvider(), repositoryFactory, shipMethodService, 
      shipRateTierService, shipCountryService, invoiceService, orderService, taxMethodService,
      paymentService, paymentMethodService)
 {
 }
 public OrganizationService(
     ApplicationDbContext db,
     IPaymentMethodService paymentMethods,
     ILogger <RegistrationService> logger)
 {
     _db             = db;
     _paymentMethods = paymentMethods;
     _logger         = logger;
 }
Example #27
0
 public PaymentMethodController(
     IPaymentMethodService paymentMethodService,
     IUserService userService,
     LogService logService)
 {
     _paymentMethodService = paymentMethodService;
     _userService          = userService;
     _logService           = logService;
 }
Example #28
0
        public PaymentMethodController(IPaymentMethodService paymentMethodService)
        {
            if (paymentMethodService == null)
            {
                throw new ArgumentNullException(nameof(paymentMethodService));
            }

            _paymentMethodService = paymentMethodService;
        }
Example #29
0
 public HomeController(IExpenditureService expenditureService, IPaymentMethodService paymentMethodService, IBankAccountService bankAccountService,
                       IUserProfileService userProfileService, ICurrencyService currencyService) : base(bankAccountService)
 {
     this._expenditureService   = expenditureService;
     this._paymentMethodService = paymentMethodService;
     this._bankAccountService   = bankAccountService;
     this._userProfileService   = userProfileService;
     this._currencyService      = currencyService;
 }
Example #30
0
 public SyncService(IOrderService orderService, ISyncServerService serverSyncService, IProductStorageService productStorageService, IThemeStorageService themeStorageService, IShippingMethodsService shippingMethodsService, IPaymentMethodService paymentMethodsService)
 {
     _orderService           = orderService;
     _syncServerService      = serverSyncService;
     _productStorageService  = productStorageService;
     _themeStorageService    = themeStorageService;
     _shippingMethodsService = shippingMethodsService;
     _paymentMethodsService  = paymentMethodsService;
 }
Example #31
0
 public AddRegistrationModel(IOrderService orders, IEventInfoRetrievalService eventInfos, IRegistrationService registrations, IPaymentMethodService paymentMethods, UserManager <ApplicationUser> userManager, ApplicationDbContext db)
 {
     _eventsService        = eventInfos;
     _orders               = orders;
     _registrations        = registrations;
     _paymentMethodService = paymentMethods;
     _userManager          = userManager;
     _db = db;
 }
Example #32
0
 public AssignPaymentInfo(IPaymentMethodService paymentMethodService, IGetCurrentUser getCurrentUser,
     IGetBillingAddressSameAsShippingAddress billingAddressSameAsShippingAddress,
     IGetShippingAddress getShippingAddress, ICartSessionManager cartSessionManager)
 {
     _paymentMethodService = paymentMethodService;
     _getCurrentUser = getCurrentUser;
     _billingAddressSameAsShippingAddress = billingAddressSameAsShippingAddress;
     _getShippingAddress = getShippingAddress;
     _cartSessionManager = cartSessionManager;
 }
 public ExpenditureController(IExpenditureService expenditureService, IExpenditureTypeService expenditureTypeService, IBankAccountService bankAccountService,
                              IPaymentMethodService paymentMethodService, IAtmWithdrawService atmWithdrawService, IBudgetPlanService budgetPlanService) : base(bankAccountService)
 {
     this._bankAccountService     = bankAccountService;
     this._expenditureService     = expenditureService;
     this._expenditureTypeService = expenditureTypeService;
     this._paymentMethodService   = paymentMethodService;
     this._atmWithdrawService     = atmWithdrawService;
     this._budgetPlanService      = budgetPlanService;
 }
Example #34
0
 public AssignPaymentInfo(IPaymentMethodService paymentMethodService, IGetCurrentUser getCurrentUser,
                          IGetBillingAddressSameAsShippingAddress billingAddressSameAsShippingAddress,
                          IGetShippingAddress getShippingAddress, ICartSessionManager cartSessionManager)
 {
     _paymentMethodService = paymentMethodService;
     _getCurrentUser       = getCurrentUser;
     _billingAddressSameAsShippingAddress = billingAddressSameAsShippingAddress;
     _getShippingAddress = getShippingAddress;
     _cartSessionManager = cartSessionManager;
 }
 public CreatePaymentMethodCommandHandler(
     IValidator <CreatePaymentMethodCommand> validator,
     ILogger <CreatePaymentMethodCommand> logger,
     IPaymentMethodService paymentMethodService,
     IMapper mapper)
     : base(validator, logger)
 {
     _paymentMethodService = paymentMethodService;
     _mapper = mapper;
 }
        public Seeder(IServiceProvider serviceProvider, IConfiguration configuration)
        {
            var connectionString = configuration.GetConnectionString("DefaultConnection");

            this.context = new ApplicationDbContext(connectionString);

            //Set up blob service client
            this.blobServiceClient = new BlobServiceClient(configuration["AzureBlobStorage:ConnectionString"]);

            //Set up azure blob service
            this.azureBlobService = new AzureBlobService(this.blobServiceClient);

            //Set up gender service
            this.genderService = new GenderService(context);

            //Set up roleService
            var roleManager = serviceProvider.GetRequiredService <RoleManager <Role> >();

            this.roleService = new RoleService(context, roleManager);

            //Set up automapper
            var mapperConfig = new MapperConfiguration(cfg =>
            {
                cfg.AddMaps(typeof(UserProfile));
            });

            this.mapper = mapperConfig.CreateMapper();

            //Set up userService
            var userManager = serviceProvider.GetRequiredService <UserManager <User> >();

            this.userService = new UserService(context, this.roleService as RoleService, this.genderService as GenderService, userManager, this.mapper);

            //Set up productImageService
            this.productImageService = new ProductImageService(context, this.azureBlobService);

            //Set up categoryService
            this.categoryService = new CategoryService(context);

            //Set up productService
            this.productService = new ProductService(context, this.mapper, this.productImageService, this.categoryService);

            //Set up productCommentService
            this.productCommentService = new ProductCommentService(context);

            //Set up countryService
            this.countryService = new CountryService(context);

            //Set up countryService
            this.paymentMethodService = new PaymentMethodService(context);

            //Set up sales service
            this.saleService = new SaleService(context);
        }
Example #37
0
 public EditModel(
     ApplicationDbContext context,
     IPaymentMethodService paymentMethods,
     IEventInfoRetrievalService eventInfoRetrievalService,
     IUserRetrievalService userListingService)
 {
     _context                   = context;
     _paymentMethods            = paymentMethods;
     _eventInfoRetrievalService = eventInfoRetrievalService;
     _userListingService        = userListingService;
 }
Example #38
0
 public SettingsController(ISettingsMapper mapper, IEstimateStatusService estimateStatusService, IInmateUnitService inmateUnitService, IInvoiceStatusService invoiceStatusService, IPaymentMethodService paymentMethodService, IProductCategoryService productCategoryService, IProductService productService, ITaxRateService taxRateService, IUserService userService)
 {
     _mapper = mapper;
     _estimateStatusService = estimateStatusService;
     _inmateUnitService = inmateUnitService;
     _invoiceStatusService = invoiceStatusService;
     _paymentMethodService = paymentMethodService;
     _productCategoryService = productCategoryService;
     _productService = productService;
     _taxRateService = taxRateService;
     _userService = userService;
 }
Example #39
0
        public OrderController(ICommerceDatabase db, IOrderService orderService, ICustomerService customerService, IProductService productService, ICountryService countryService, IPaymentMethodService paymentMethodService,
            IExtendedQueryManager extendedQueryManager)
        {
            _db = db;
            _orderService = orderService;
            _customerService = customerService;
            _productService = productService;
            _countryService = countryService;
            _paymentMethodService = paymentMethodService;

            _extendedQueryManager = extendedQueryManager;
        }
 public CheckoutDataRepository(IAddressService addressService, IPaymentMethodService paymentMethodService, IAccountService accountService)
 {
     _addressService = addressService;
     _paymentMethodService = paymentMethodService;
     _accountService = accountService;
     if (accountService != null)
     {
         accountService.UserChanged += (sender, args) =>
                                           {
                                               ExpireCachedAddresses();
                                               ExpireCachedPaymentMethods();
                                           };
     }
 }
 public PaymentMethodController(IPaymentMethodService paymentMethodService, ICountryService countryService)
 {
     this.paymentMethodService = paymentMethodService;
     this.countryService = countryService;
 }
Example #42
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GatewayProviderService"/> class.
 /// </summary>
 /// <param name="logger">
 /// The logger.
 /// </param>
 /// <param name="repositoryFactory">
 /// The repository factory.
 /// </param>
 /// <param name="shipMethodService">
 /// The ship method service.
 /// </param>
 /// <param name="shipRateTierService">
 /// The ship rate tier service.
 /// </param>
 /// <param name="shipCountryService">
 /// The ship country service.
 /// </param>
 /// <param name="invoiceService">
 /// The invoice service.
 /// </param>
 /// <param name="orderService">
 /// The order service.
 /// </param>
 /// <param name="taxMethodService">
 /// The tax method service.
 /// </param>
 /// <param name="paymentService">
 /// The payment service.
 /// </param>
 /// <param name="paymentMethodService">
 /// The payment method service.
 /// </param>
 /// <param name="notificationMethodService">
 /// The notification method service.
 /// </param>
 /// <param name="notificationMessageService">
 /// The notification message service.
 /// </param>
 /// <param name="warehouseService">
 /// The warehouse service.
 /// </param>
 internal GatewayProviderService(
     ILogger logger,
     RepositoryFactory repositoryFactory,
     IShipMethodService shipMethodService,
     IShipRateTierService shipRateTierService,
     IShipCountryService shipCountryService,
     IInvoiceService invoiceService,
     IOrderService orderService,
     ITaxMethodService taxMethodService,
     IPaymentService paymentService,
     IPaymentMethodService paymentMethodService,
     INotificationMethodService notificationMethodService,
     INotificationMessageService notificationMessageService,
     IWarehouseService warehouseService)
     : this(new PetaPocoUnitOfWorkProvider(logger),
         repositoryFactory,
         logger,
         shipMethodService,
         shipRateTierService,
         shipCountryService,
         invoiceService,
         orderService,
         taxMethodService,
         paymentService,
         paymentMethodService,
         notificationMethodService,
         notificationMessageService,
         warehouseService)
 {
 }
Example #43
0
 internal GatewayProviderService(
     IDatabaseUnitOfWorkProvider provider, 
     RepositoryFactory repositoryFactory, 
     ILogger logger, 
     IShipMethodService shipMethodService, 
     IShipRateTierService shipRateTierService, 
     IShipCountryService shipCountryService, 
     IInvoiceService invoiceService, 
     IOrderService orderService, 
     ITaxMethodService taxMethodService, 
     IPaymentService paymentService, 
     IPaymentMethodService paymentMethodService, 
     INotificationMethodService notificationMethodService, 
     INotificationMessageService notificationMessageService,
     IWarehouseService warehouseService)
     : this(provider,
         repositoryFactory,
         logger,
         new TransientMessageFactory(),
         shipMethodService,
         shipRateTierService,
         shipCountryService,
         invoiceService,
         orderService,
         taxMethodService,
         paymentService,
         paymentMethodService,
         notificationMethodService,
         notificationMessageService,
         warehouseService)
 {
 }
Example #44
0
        internal GatewayProviderService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory, ILogger logger, IEventMessagesFactory eventMessagesFactory,
            IShipMethodService shipMethodService, 
             IShipRateTierService shipRateTierService, IShipCountryService shipCountryService, 
             IInvoiceService invoiceService, IOrderService orderService,
             ITaxMethodService taxMethodService, IPaymentService paymentService, IPaymentMethodService paymentMethodService,
             INotificationMethodService notificationMethodService, INotificationMessageService notificationMessageService, IWarehouseService warehouseService)
            : base(provider, repositoryFactory, logger, eventMessagesFactory)
        {
            Mandate.ParameterNotNull(shipMethodService, "shipMethodService");
            Mandate.ParameterNotNull(shipRateTierService, "shipRateTierService");
            Mandate.ParameterNotNull(shipCountryService, "shipCountryService");
            Mandate.ParameterNotNull(taxMethodService, "countryTaxRateService");
            Mandate.ParameterNotNull(paymentService, "paymentService");
            Mandate.ParameterNotNull(paymentMethodService, "paymentMethodService");
            Mandate.ParameterNotNull(invoiceService, "invoiceService");
            Mandate.ParameterNotNull(orderService, "orderService");
            Mandate.ParameterNotNull(notificationMethodService, "notificationMethodService");
            Mandate.ParameterNotNull(notificationMessageService, "notificationMessageService");
            Mandate.ParameterNotNull(warehouseService, "warehouseService");

            _shipMethodService = shipMethodService;
            _shipRateTierService = shipRateTierService;
            _shipCountryService = shipCountryService;
            _invoiceService = invoiceService;
            _orderService = orderService;
            _taxMethodService = taxMethodService;
            _paymentService = paymentService;
            _paymentMethodService = paymentMethodService;
            _notificationMethodService = notificationMethodService;
            _notificationMessageService = notificationMessageService;
            _warehouseService = warehouseService;
        }
 public AuthorizeNetPaymentProcessor(IPaymentMethodService paymentMethodService)
 {
     _paymentMethodService = paymentMethodService;
 }
Example #46
0
 public ConfigController(IPaymentMethodService paymentMethodService)
 {
     _paymentMethodService = paymentMethodService;
 }
Example #47
0
 public PaymentMethodAPI(IPaymentMethodService paymentMethodService)
 {
     _paymentMethodService = paymentMethodService;
 }
 public PaymentMethodController()
 {
     validationDictionary = new ModelStateWrapper(ModelState);
     _paymentMethodService = new PaymentMethodService(validationDictionary);
 }
Example #49
0
 public PaymentMethodsController(IPaymentMethodService paymentMethodService)
 {
     _paymentMethodService = paymentMethodService;
 }