class BillingApiHandler extends LoggingRequestHandler {

    private HttpResponse getPlan(String tenant) {
        var plan = billingController.getPlan(TenantName.from(tenant));
        var slime = new Slime();
        var root = slime.setObject();
        root.setString("tenant", tenant);
        root.setString("plan", plan.value());
        return new SlimeJsonResponse(slime);
    }

    public  BillingApiHandler(Executor executor,
                             AccessLog accessLog,
                             Controller controller);

}