BillingHandler creates a new instance of handlers.BillingHandler
()
| 622 | |
| 623 | // BillingHandler creates a new instance of handlers.BillingHandler |
| 624 | func (container *Container) BillingHandler() (h *handlers.BillingHandler) { |
| 625 | container.logger.Debug(fmt.Sprintf("creating %T", h)) |
| 626 | return handlers.NewBillingHandler( |
| 627 | container.Logger(), |
| 628 | container.Tracer(), |
| 629 | container.BillingHandlerValidator(), |
| 630 | container.BillingService(), |
| 631 | ) |
| 632 | } |
| 633 | |
| 634 | // WebhookHandler creates a new instance of handlers.WebhookHandler |
| 635 | func (container *Container) WebhookHandler() (h *handlers.WebhookHandler) { |
no test coverage detected