This Open Booking SDK for .NET provides components that aid the implementation of the OpenActive specificiations, including the Open Booking API.
Further documentation, including a step-by-step tutorial, can be found at https://tutorials.openactive.io/open-booking-sdk/.
The entire library system is designed to be modular:
The StoreBookingEngine provides an opinionated implementation of the Open Booking API on top of AbstractBookingEngine. This is designed to be quick to implement, but may not fit the needs of more complex systems.
It is not designed to be subclassed (it could be sealed?), but instead the implementer is encouraged to implement and provide an IOpenBookingStore on instantiation.
The AbstractBookingEngine provides a simple, basic and extremely flexible implementation of Open Booking API.
It is designed to be implemented by systems where StoreBookingEngine is too perscriptive, but who still prefer to use a solid foundation for thier development.
Helper methods are designed to be used independently, for those who prefer flexibility and have a largely customised implementation.
The helper methods within these are isolated from each other and provide a useful toolbox for any implementation.