public static class CreateBookingResponse.Builder extends Object
CreateBookingResponse.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CreateBookingResponse.Builder |
booking(Booking booking)
Setter for booking.
|
CreateBookingResponse |
build()
Builds a new
CreateBookingResponse object using the set fields. |
CreateBookingResponse.Builder |
errors(List<Error> errors)
Setter for errors.
|
CreateBookingResponse.Builder |
httpContext(HttpContext httpContext)
Setter for httpContext.
|
public CreateBookingResponse.Builder httpContext(HttpContext httpContext)
httpContext - HttpContext value for httpContext.public CreateBookingResponse.Builder booking(Booking booking)
booking - Booking value for booking.public CreateBookingResponse.Builder errors(List<Error> errors)
errors - List of Error value for errors.public CreateBookingResponse build()
CreateBookingResponse object using the set fields.CreateBookingResponseCopyright © 2022. All rights reserved.