Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

496 B
Raw Blame
<?php

namespace HiEvents\Resources\Order\Invoice;

use HiEvents\DomainObjects\InvoiceDomainObject;
use HiEvents\Resources\BaseResource;

/** @mixin InvoiceDomainObject */
class InvoiceResourcePublic extends BaseResource
{
    public function toArray($request): array
    {
        return [
            'id' => $this->getId(),
            'invoice_number' => $this->getInvoiceNumber(),
            'order_id' => $this->getOrderId(),
            'status' => $this->getStatus(),
        ];
    }
}