// +build !ee

package billing

import (
	"net/http"

	"github.com/porter-dev/porter/api/server/handlers"
	"github.com/porter-dev/porter/api/server/shared"
	"github.com/porter-dev/porter/api/server/shared/config"
)

type BillingGetTokenHandler struct {
	handlers.PorterHandlerReader
	handlers.Unavailable
}

func NewBillingGetTokenHandler(
	config *config.Config,
	decoderValidator shared.RequestDecoderValidator,
	writer shared.ResultWriter,
) http.Handler {
	return handlers.NewUnavailable(config, "billing_get_token")
}

type BillingWebhookHandler struct {
	handlers.PorterHandlerReader
	handlers.Unavailable
}

func NewBillingWebhookHandler(
	config *config.Config,
	decoderValidator shared.RequestDecoderValidator,
) http.Handler {
	return handlers.NewUnavailable(config, "billing_webhook")
}

type BillingAddProjectHandler struct {
	handlers.PorterHandlerReader
	handlers.Unavailable
}

func NewBillingAddProjectHandler(
	config *config.Config,
	decoderValidator shared.RequestDecoderValidator,
) http.Handler {
	return handlers.NewUnavailable(config, "billing_add_project")
}
