public class Booking extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Booking.Builder
Class to build instances of
Booking. |
| Modifier | Constructor and Description |
|---|---|
protected |
Booking(String id,
Integer version,
String status,
String createdAt,
String updatedAt,
io.apimatic.core.types.OptionalNullable<String> startAt,
io.apimatic.core.types.OptionalNullable<String> locationId,
io.apimatic.core.types.OptionalNullable<String> customerId,
io.apimatic.core.types.OptionalNullable<String> customerNote,
io.apimatic.core.types.OptionalNullable<String> sellerNote,
io.apimatic.core.types.OptionalNullable<List<AppointmentSegment>> appointmentSegments,
Integer transitionTimeMinutes,
Boolean allDay,
String locationType,
BookingCreatorDetails creatorDetails,
String source)
Internal initialization constructor.
|
|
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() |
protected io.apimatic.core.types.OptionalNullable<List<AppointmentSegment>> |
internalGetAppointmentSegments()
Internal Getter for AppointmentSegments.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomerId()
Internal Getter for CustomerId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomerNote()
Internal Getter for CustomerNote.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetLocationId()
Internal Getter for LocationId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetSellerNote()
Internal Getter for SellerNote.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetStartAt()
Internal Getter for StartAt.
|
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.protected Booking(String id, Integer version, String status, String createdAt, String updatedAt, io.apimatic.core.types.OptionalNullable<String> startAt, io.apimatic.core.types.OptionalNullable<String> locationId, io.apimatic.core.types.OptionalNullable<String> customerId, io.apimatic.core.types.OptionalNullable<String> customerNote, io.apimatic.core.types.OptionalNullable<String> sellerNote, io.apimatic.core.types.OptionalNullable<List<AppointmentSegment>> appointmentSegments, Integer transitionTimeMinutes, Boolean allDay, String locationType, BookingCreatorDetails creatorDetails, String source)
public String getId()
public Integer getVersion()
public String getStatus()
public String getCreatedAt()
public String getUpdatedAt()
protected io.apimatic.core.types.OptionalNullable<String> internalGetStartAt()
public String getStartAt()
protected io.apimatic.core.types.OptionalNullable<String> internalGetLocationId()
public String getLocationId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomerId()
public String getCustomerId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomerNote()
public String getCustomerNote()
protected io.apimatic.core.types.OptionalNullable<String> internalGetSellerNote()
public String getSellerNote()
protected io.apimatic.core.types.OptionalNullable<List<AppointmentSegment>> internalGetAppointmentSegments()
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 © 2023. All rights reserved.