gueststream / bookingconfirmation
Booking confirmation class used in response to successful bookings.
1.0.1
2016-07-12 22:38 UTC
Requires
- php: ~5.5|~7.0
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2024-11-27 23:04:23 UTC
README
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.
Install
Via Composer
$ composer require gueststream/bookingconfirmation
Usage
$bookingConfirmation = new Gueststream\Reservations\BookingConfirmation(); $bookingConfirmation->setBookingNumber(1234); $bookingConfirmation->setArrivalDate('2020-12-01'); $bookingConfirmation->setDepartureDate('2020-12-7'); echo $bookingConfirmation->getNights();
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email support@gueststream.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.