src/Models/Booking.php
Method allowed
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function allowed(): array
{
return [
'bookingNumber' => 'string', // The unique booking number. Always treat as string [read-only],
'eventId' => 'string', // When the booking is for a product of type fixed or fixedCourse, this is the id of the slot (see /availability/slots). Note that for fixedCourse, Bookeo always returns the eventId of the first class in a course, even if the customer is enrolled starting from a later class. In this case, firstCourseEnrolledEvent will be set.,