src/Models/BookingList.php
<?php
namespace Resova\Models;
/**
* Class BookingList
*
* @codeCoverageIgnore
* @package Resova\Models
*/
class BookingList
{
/*
* TODO: make this
} // <---- TODO: btw, fun bug in Resova doc, need report about this
"overall_total": 1,
"total": 1,
"visible": 1,
"per_page": 20,
"current_page": 1,
"last_page": 1,
"data": [
{
"booking_date": "2019-09-17",
"booking_time": "11:10:00",
"booking_end": "12:05:00",
"duration": 55,
"total_quantity": 3,
"price": "111.00",
"gross_price": "111.00",
"discount": "0.00",
"fee": "8.08",
"tax": "5.45",
"total": "114.53",
"item": {
"id": 31,
"name": "City Tour",
"featured_image": "https://api.resova.eu/image/dPl1fKjrnN54Z1fz7tT3180419.jpg",
"location": null,
"pricing_categories": [
{
"id": 54678,
"name": "Quantity",
"min_quantity": 2,
"max_quantity": 7,
"default_quantity": 2,
"single_price": "37.00"
}
]
},
"quantities": [
{
"per_person": "37.00",
"pp_overwrite": "0.00",
"total": "111.00",
"quantity": 3,
"pricing_category": {
"id": 116,
"name": "Participant"
}
}
],
"time": {
"id": 59599,
"item_time": "11:10:00"
},
"extras": [],
"questions": [],
"participants": []
}
]
}
*/
}