/BookingConfirmation

Booking Confirmation class used in response to successful bookings.

Primary LanguagePHPMIT LicenseMIT

Booking Confirmation Class

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.