Ejemplo n.º 1
0
 public UserService(IStripeCustomerService stripeCustomerService, IStripeService stripeService, DbObjectContext context, IConfiguration config)
 {
     _context               = context;
     _config                = config;
     _stripeService         = stripeService;
     _stripeCustomerService = stripeCustomerService;
 }
Ejemplo n.º 2
0
 public PaymentsApiController(IStripeCustomerService service, ILogger <PaymentsApiController> logger, IAuthenticationService <int> authService, IOptions <AppKeys> appKeys) : base(logger)
 {
     _appKeys     = appKeys.Value;
     _service     = service;
     _authService = authService;
     StripeConfiguration.ApiKey = _appKeys.StripeApiKey;
 }
        private readonly ILogger _logger; // FRANCIS: Add logs.

        public UserCreatedIntegrationEventHandler(
            IStripeCustomerService stripeCustomerService,
            IServiceBusPublisher serviceBusPublisher,
            ILogger <UserCreatedIntegrationEventHandler> logger
            )
        {
            _stripeCustomerService = stripeCustomerService;
            _serviceBusPublisher   = serviceBusPublisher;
            _logger = logger;
        }
Ejemplo n.º 4
0
 public PaymentsController(IStripeChargesService stripeChargesService, IStripeCustomerService stripeCustomerService, IUserService userService, ICompanyService companyService, IStripeService stripeService, IConfiguration config, ILogger <PaymentsController> logger, IErrorHandlerService errorService, IOrderService orderService)
 {
     _config                = config;
     _logger                = logger;
     _errorService          = errorService;
     _orderService          = orderService;
     _stripeService         = stripeService;
     _companyService        = companyService;
     _userService           = userService;
     _stripeCustomerService = stripeCustomerService;
     _stripeChargesService  = stripeChargesService;
 }
Ejemplo n.º 5
0
 public PaymentMethodsController(IStripePaymentMethodService stripePaymentMethodService, IStripeCustomerService stripeCustomerService, IMapper mapper)
 {
     _stripePaymentMethodService = stripePaymentMethodService;
     _stripeCustomerService      = stripeCustomerService;
     _mapper = mapper;
 }
Ejemplo n.º 6
0
 public CustomersController(IStripeCustomerService stripeCustomerService)
 {
     _stripeCustomerService = stripeCustomerService;
 }
Ejemplo n.º 7
0
 public CustomerController(IStripeCustomerService stripeCustomerService, IMapper mapper)
 {
     _stripeCustomerService = stripeCustomerService;
     _mapper = mapper;
 }
Ejemplo n.º 8
0
 public StripePaymentMethodService(IStripeCustomerService stripeCustomerService, IOptionsSnapshot <StripeOptions> options)
 {
     _stripeCustomerService = stripeCustomerService;
     _options = options;
 }
Ejemplo n.º 9
0
 public StripeChargesService(IStripeCustomerService stripeCustomerService)
 {
     _stripeCustomerService = stripeCustomerService;
 }