<?php

namespace endpoints;
require_once WD . '/modules/economic/endpoints/invoices/economic_invoices_totals_endpoint.php';
require_once WD . '/modules/economic/endpoints/invoices/economic_invoices_sent_endpoint.php';
require_once WD . '/modules/economic/endpoints/invoices/economic_invoices_booked_endpoint.php';
require_once WD . '/modules/economic/endpoints/invoices/economic_invoices_drafts_endpoint.php';
require_once WD . '/modules/economic/endpoints/invoices/draft/economic_invoices_draft_endpoint.php';
require_once WD . '/modules/economic/endpoints/invoices/economic_invoices_pdf_endpoint.php';

use endpoints\orders\economic_invoices_booked_endpoint;
use endpoints\orders\economic_invoices_draft_endpoint;
use endpoints\orders\economic_invoices_drafts_endpoint;
use endpoints\orders\economic_invoices_pdf_endpoint;
use endpoints\orders\economic_invoices_sent_endpoint;
use endpoints\orders\economic_invoices_totals_endpoint;
use traits\economic_endpoint_t;


class economic_invoices_endpoint
{
    use economic_endpoint_t;

    /**
     * Any endpoints reached by the /invoices/totals endpoint
     * @var economic_invoices_totals_endpoint
     */
    public economic_invoices_totals_endpoint $totals;
    /**
     * Any endpoints reached by the /invoices/sent endpoint
     * @var economic_invoices_sent_endpoint
     */
    public economic_invoices_sent_endpoint $sent;
    /**
     * Any endpoints reached by the /invoices/booked endpoint
     * @var economic_invoices_booked_endpoint
     */
    public economic_invoices_booked_endpoint $booked;
    /**
     * Any endpoints reached by the /invoices/drafts endpoint
     * @var economic_invoices_drafts_endpoint
     */
    public economic_invoices_drafts_endpoint $drafts;
    /**
     * Any endpoints reached by the /invoices/draft endpoint
     * @var economic_invoices_draft_endpoint
     */
    public economic_invoices_draft_endpoint $draft;
    /**
     * Any endpoints reached by the /invoices/booked/{id}/pdf endpoint
     * @var economic_invoices_pdf_endpoint
     */
    public economic_invoices_pdf_endpoint $pdf;

    public function __construct()
    {
        $this->totals = new economic_invoices_totals_endpoint();
        $this->sent = new economic_invoices_sent_endpoint();
        $this->booked = new economic_invoices_booked_endpoint();
        $this->drafts = new economic_invoices_drafts_endpoint();
        $this->draft = new economic_invoices_draft_endpoint();
        $this->pdf = new economic_invoices_pdf_endpoint();
    }
}