Пример #1
0
 public CustomerSubscriptionUpdatedEvent(IEmailSender emailSender, IOperationsCRUD <StripeEvent> eventsBL, IPaymentBL paymentBL) : base(eventsBL)
 {
     this.emailSender = emailSender;
     this.eventsBL    = eventsBL;
     this.paymentBL   = paymentBL;
     customerService  = new CustomerService();
     productService   = new ProductService();
 }
Пример #2
0
 public CustomerSubscriptionDeletedEvent(IEmailSender emailSender, IOperationsCRUD <Owner> ownerBL, IOperationsCRUD <Gym> gymBL, IPaymentBL paymentBL, IOperationsCRUD <StripeEvent> eventsBL) : base(eventsBL)
 {
     this.emailSender = emailSender;
     this.ownerBL     = ownerBL;
     this.gymBL       = gymBL;
     this.paymentBL   = paymentBL;
     customerService  = new CustomerService();
     productService   = new ProductService();
 }
Пример #3
0
 public InvoicePaymentSucceededEvent(IOperationsCRUD <StripeEvent> eventsBL, IOperationsCRUD <Owner> ownerBL) : base(eventsBL)
 {
     this.ownerBL    = ownerBL;
     customerService = new CustomerService();
 }
Пример #4
0
 public BaseEventProcessor(IOperationsCRUD <StripeEvent> eventsBL)
 {
     this.eventsBL    = eventsBL;
     this.processInfo = new ProcessInfo("WebHookController-" + this.GetType().Name);//We will add the name of the Derived class
 }
Пример #5
0
 public ChargeRefundedEvent(IOperationsCRUD <StripeEvent> eventsBL) : base(eventsBL)
 {
 }