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\Organizer;
use HiEvents\DomainObjects\OrganizerConfigurationDomainObject;
use Illuminate\Http\Resources\Json\JsonResource;
/**
* @mixin OrganizerConfigurationDomainObject
*/
class OrganizerConfigurationResource extends JsonResource
{
public function toArray($request): array
{
return [
'id' => $this->getId(),
'name' => $this->getName(),
'is_system_default' => $this->getIsSystemDefault(),
'default_for_currency' => $this->getDefaultForCurrency(),
'application_fees' => [
'percentage' => $this->getPercentageApplicationFee(),
'fixed' => $this->getFixedApplicationFee(),
'currency' => $this->getApplicationFeeCurrency(),
],
'bypass_application_fees' => $this->getBypassApplicationFees(),
];
}
}