public class Booking extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Booking.Builder
Class to build instances of
Booking. |
| Constructor and Description |
|---|
Booking(String id,
Integer version,
String status,
String createdAt,
String updatedAt,
String startAt,
String locationId,
String customerId,
String customerNote,
String sellerNote,
List<AppointmentSegment> appointmentSegments,
Integer transitionTimeMinutes,
Boolean allDay,
String locationType,
BookingCreatorDetails creatorDetails,
String source)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllDay()
Getter for AllDay.
|
List<AppointmentSegment> |
getAppointmentSegments()
Getter for AppointmentSegments.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
BookingCreatorDetails |
getCreatorDetails()
Getter for CreatorDetails.
|
String |
getCustomerId()
Getter for CustomerId.
|
String |
getCustomerNote()
Getter for CustomerNote.
|
String |
getId()
Getter for Id.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getLocationType()
Getter for LocationType.
|
String |
getSellerNote()
Getter for SellerNote.
|
String |
getSource()
Getter for Source.
|
String |
getStartAt()
Getter for StartAt.
|
String |
getStatus()
Getter for Status.
|
Integer |
getTransitionTimeMinutes()
Getter for TransitionTimeMinutes.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
Integer |
getVersion()
Getter for Version.
|
int |
hashCode() |
Booking.Builder |
toBuilder()
Builds a new
Booking.Builder object. |
String |
toString()
Converts this Booking into string format.
|
public Booking(String id, Integer version, String status, String createdAt, String updatedAt, String startAt, String locationId, String customerId, String customerNote, String sellerNote, List<AppointmentSegment> appointmentSegments, Integer transitionTimeMinutes, Boolean allDay, String locationType, BookingCreatorDetails creatorDetails, String source)
id - String value for id.version - Integer value for version.status - String value for status.createdAt - String value for createdAt.updatedAt - String value for updatedAt.startAt - String value for startAt.locationId - String value for locationId.customerId - String value for customerId.customerNote - String value for customerNote.sellerNote - String value for sellerNote.appointmentSegments - List of AppointmentSegment value for appointmentSegments.transitionTimeMinutes - Integer value for transitionTimeMinutes.allDay - Boolean value for allDay.locationType - String value for locationType.creatorDetails - BookingCreatorDetails value for creatorDetails.source - String value for source.public String getId()
public Integer getVersion()
public String getStatus()
public String getCreatedAt()
public String getUpdatedAt()
public String getStartAt()
public String getLocationId()
public String getCustomerId()
public String getCustomerNote()
public String getSellerNote()
public List<AppointmentSegment> getAppointmentSegments()
public Integer getTransitionTimeMinutes()
public Boolean getAllDay()
public String getLocationType()
public BookingCreatorDetails getCreatorDetails()
public String getSource()
public String toString()
public Booking.Builder toBuilder()
Booking.Builder object.
Creates the instance with the state of the current model.Booking.Builder objectCopyright © 2022. All rights reserved.