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(); }
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(); }
public InvoicePaymentSucceededEvent(IOperationsCRUD <StripeEvent> eventsBL, IOperationsCRUD <Owner> ownerBL) : base(eventsBL) { this.ownerBL = ownerBL; customerService = new CustomerService(); }
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 }
public ChargeRefundedEvent(IOperationsCRUD <StripeEvent> eventsBL) : base(eventsBL) { }