gueststream / bookingconfirmation
用于响应成功预订的预订确认类。
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-09-27 22:38:53 UTC
README
这是一个简单的值对象类,包含预订确认信息,并在VRPConnector 插件中用于确认页面上向刚成功预订单元的客人展示信息。
安装
通过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();
变更日志
请参阅变更日志了解最近更改的详细信息。
测试
$ composer test
贡献
安全
如果您发现任何安全相关的问题,请通过电子邮件support@gueststream.com联系,而不是使用问题跟踪器。
致谢
许可协议
MIT许可协议(MIT)。请参阅许可文件以获取更多信息。