FlightBookingCreateDelegate
public protocol FlightBookingCreateDelegate : AnyObject
Notified of FlightBooking
creation results.
-
Callend when a
FlightBooking
is created.Declaration
Swift
func flightBookingCreationDidSucceed(_ flightBooking: FlightBooking)
Parameters
flightBooking
Created
FlightBooking
-
Called when
FlightBooking
creation fails.Declaration
Swift
func flightBookingCreationDidFail(_ error: Error)
Parameters
error
An
Error
explaining the result.