Currently draft format. Per the comment here, I have attempted to change the return type of ProcessFlowResult. Could not just return a string, as ProcessCheckpoint uses the orderQuote to determine the HttpStatusCode to return, so added a ProcessFlowResult object to contain both the string to return and this value.
I'm not sure about this though, design-wise, as it is adding an Http dependency to the CustomBookingEngine which may violate some design principles here, so throwing this up as a draft for review.
When finished, should fix #100
Currently draft format. Per the comment here, I have attempted to change the return type of ProcessFlowResult. Could not just return a string, as
ProcessCheckpoint
uses the orderQuote to determine the HttpStatusCode to return, so added aProcessFlowResult
object to contain both the string to return and this value.I'm not sure about this though, design-wise, as it is adding an Http dependency to the CustomBookingEngine which may violate some design principles here, so throwing this up as a draft for review.