コード例 #1
0
 public ConnectApiController(IStripeConnectService service, ILogger <ConnectApiController> logger, IAuthenticationService <int> authService, IOptions <AppKeys> appKeys) : base(logger)
 {
     _service     = service;
     _authService = authService;
     _appKeys     = appKeys.Value;
     _client      = new StripeClient(_appKeys.StripeApiKey);
 }
コード例 #2
0
        public PaymentStripeController(
            ISettingDictionaryService settingDictionaryService,
            IUnitOfWorkAsync unitOfWorkAsync,
            DataCacheService dataCacheService,
            IOrderService orderService,
            IStripeTransactionService transationService,
            IStripeConnectService stripConnectService,
            [Dependency("unitOfWorkStripe")] IUnitOfWorkAsync unitOfWorkAsyncStripe)
        {
            _settingDictionaryService = settingDictionaryService;
            _unitOfWorkAsync = unitOfWorkAsync;
            _dataCacheService = dataCacheService;

            _orderService = orderService;

            _transactionService = transationService;
            _stripConnectService = stripConnectService;
            _unitOfWorkAsyncStripe = unitOfWorkAsyncStripe;
        }
コード例 #3
0
        public PaymentStripeController(
            ISettingDictionaryService settingDictionaryService,
            IUnitOfWorkAsync unitOfWorkAsync,
            DataCacheService dataCacheService,
            IOrderService orderService,
            IStripeTransactionService transationService,
            IStripeConnectService stripConnectService,
            [Dependency("unitOfWorkStripe")] IUnitOfWorkAsync unitOfWorkAsyncStripe)
        {
            _settingDictionaryService = settingDictionaryService;
            _unitOfWorkAsync          = unitOfWorkAsync;
            _dataCacheService         = dataCacheService;

            _orderService = orderService;

            _transactionService    = transationService;
            _stripConnectService   = stripConnectService;
            _unitOfWorkAsyncStripe = unitOfWorkAsyncStripe;
        }
コード例 #4
0
        public PaymentController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IItemService itemService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            IContentPageService contentPageService,
            IOrderService orderService,
            IOrderTransactionService orderTransationService,
            IStripeConnectService stripConnectService,
            ISettingDictionaryService settingDictionaryService,
            IEmailTemplateService emailTemplateService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _itemService = itemService;
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;

            _orderService = orderService;
            _stripConnectService = stripConnectService;
            _orderTransactionService = orderTransationService;

            _emailTemplateService = emailTemplateService;
            _contentPageService = contentPageService;
            _unitOfWorkAsync = unitOfWorkAsync;
            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;
        }
コード例 #5
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IItemService itemService,
            IPictureService pictureService,
            IItemPictureService itemPictureService,
            IOrderService orderService,
            IOrderTransactionService orderTransationService,
            IStripeConnectService stripConnectService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldItemService customFieldItemService,
            ISettingDictionaryService settingDictionaryService,
            IItemStatService itemStatService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _itemService = itemService;
            _pictureService = pictureService;
            _itemPictureService = itemPictureService;
            _orderService = orderService;
            _stripConnectService = stripConnectService;
            _orderTransactionService = orderTransationService;
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldItemService = customFieldItemService;
            _itemStatService = itemStatService;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }