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\Event;
use HiEvents\Resources\BaseResource;
use HiEvents\Services\Application\Handlers\EventSettings\DTO\PlatformFeePreviewResponseDTO;
/**
* @mixin PlatformFeePreviewResponseDTO
*/
class PlatformFeePreviewResource extends BaseResource
{
public function toArray($request): array
{
return [
'event_currency' => $this->eventCurrency,
'fee_currency' => $this->feeCurrency,
'fixed_fee_original' => $this->fixedFeeOriginal,
'fixed_fee_converted' => $this->fixedFeeConverted,
'percentage_fee' => $this->percentageFee,
'sample_price' => $this->samplePrice,
'platform_fee' => $this->platformFee,
'total' => $this->total,
];
}
}