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 ⭐️

372 B
Raw Blame
<?php

namespace HiEvents\DomainObjects;

use HiEvents\DomainObjects\Enums\TaxType;

class TaxAndFeesDomainObject extends Generated\TaxAndFeesDomainObjectAbstract
{
    public function isTax(): bool
    {
        return $this->getType() === TaxType::TAX->name;
    }

    public function isFee(): bool
    {
        return $this->getType() === TaxType::FEE->name;
    }
}