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 ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\Resources\Tax;
use HiEvents\DomainObjects\TaxAndFeesDomainObject;
use HiEvents\Resources\BaseResource;
/**
* @mixin TaxAndFeesDomainObject
*/
class TaxAndFeeResource extends BaseResource
{
public function toArray($request): array
{
return [
'id' => $this->getId(),
'account_id' => $this->getAccountId(),
'name' => $this->getName(),
'description' => $this->getDescription(),
'calculation_type' => $this->getCalculationType(),
'rate' => $this->getRate(),
'is_active' => $this->getIsActive(),
'is_default' => $this->getIsDefault(),
'type' => $this->getType(),
];
}
}