예제 #1
0
 public StripeWebhookHandler(IAppLogger <StripeWebhookHandler> logger,
                             IPaymentHandlerSubscription paymentHandlerSubscription,
                             IPaymentHandlerEventService paymentHandlerEvent,
                             IPaymentHandlerInvoice paymentHandlerInvoice,
                             IWebhookHandlerService webhookHandlerService)
 {
     _logger = logger;
     _paymentHandlerSubscription = paymentHandlerSubscription;
     _paymentHandlerEventService = paymentHandlerEvent;
     _paymentHandlerInvoice      = paymentHandlerInvoice;
     _webhookHandlerService      = webhookHandlerService;
 }
 public WebhookController(ITelegramBotClient telegramBotClient,
                          IWebhookHandlerService webhookHandlerService)
 {
     this._telegramBotClient     = telegramBotClient;
     this._webhookHandlerService = webhookHandlerService;
 }