This is a simple value object class that contains booking confirmation information and is used in the VRPConnector plugin on the confirmation page to display information to the guests who have just successfully booked a unit.
Via Composer
$ composer require gueststream/bookingconfirmation
$bookingConfirmation = new Gueststream\Reservations\BookingConfirmation();
$bookingConfirmation->setBookingNumber(1234);
$bookingConfirmation->setArrivalDate('2020-12-01');
$bookingConfirmation->setDepartureDate('2020-12-7');
echo $bookingConfirmation->getNights();
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email support@gueststream.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.