travel.wink.sdk.extranet.model.BookingSupplierDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extranet-sdk-java Show documentation
Show all versions of extranet-sdk-java Show documentation
Java SDK for the wink Extranet API
/*
* Wink API
* ## APIs Not every integrator needs every APIs. For that reason, we have separated APIs into context. - [Affiliate](/affiliate): All APIs related to selling travel inventory as an affiliate. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. - [Booking](/booking): All APIs related to creating platform bookings. - [Channel Manager](/channel-manager): All APIs related to channel managers who want to integrate with our platform. - [Extranet](/extranet): All APIs related to managing travel inventory and suppliers. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Reference](/reference): All APIs related to retrieving platform-supported taxonomies. - [TripPay](/payment): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration with us the least. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - 2022-10-15: v2.0 - Removed HATEOAS and added Wink-Version header - 2022-05-08: v1 - Exposed channel manager API - 2021-07-01: v1 - Initial release # Extranet API Welcome to the Extranet API - A programmer-friendly way to manage your travel inventory on the wink payment. This API offers a superset of the features you can find at [https://extranet.wink.travel](https://extranet.wink.travel) and gives you all the tools you need to ready your properties and inventory for sale across 10000s of our unique sales channels. What differentiates us from existing Extranets is 1. we make it available for everyone to use and 2. the care we take in only working with properties that have quality, curated content and ways to bundle and cross sell customers with ancillary products and experiences. Content creators have the ability to make their inventory look great and be searchable in a wide variety of ways. You won't find properties with generic inventory, low resolution pictures and little ancillary content that can easily be found everywhere else on the internet. # Integrations We have already integrated with the most well-known channel managers so you don't have to. Once your properties are set up, you can finish the setup by mapping your property to wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. - Allotz - CloudBeds / MyAllocator - Comanche - d-edge - FastBooking - HotelLink - HoteliersGuru - Omnibees - RateGain - Rate Tiger - ResAvenue - Siteminder - Sabre SynXis - Travelclick - Yieldplanet # Intended Audience Programmers are [most likely] a requirement to start integrating with wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs
*
* The version of the OpenAPI document: 29.61.2
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package travel.wink.sdk.extranet.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.time.OffsetDateTime;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import travel.wink.sdk.extranet.model.AddressSupplierDetails;
import travel.wink.sdk.extranet.model.BookingAncillarySupplierDetails;
import travel.wink.sdk.extranet.model.BookingContractSupplierDetails;
import travel.wink.sdk.extranet.model.BookingUserSupplierDetails;
import travel.wink.sdk.extranet.model.CommissionableEntrySupplierDetails;
import travel.wink.sdk.extranet.model.ContactSupplierDetails;
import travel.wink.sdk.extranet.model.CustomMonetaryAmount;
import travel.wink.sdk.extranet.model.EngineConfigurationBookingReportSupplierDetails;
import travel.wink.sdk.extranet.model.HotelOnMapSupplierDetails;
import travel.wink.sdk.extranet.model.ReportingAncillarySupplierDetails;
import travel.wink.sdk.extranet.model.ReportingDailyRateSupplierDetails;
import travel.wink.sdk.extranet.model.ReportingExtraChargeSupplierDetails;
import travel.wink.sdk.extranet.model.ReviewSupplierDetails;
import travel.wink.sdk.extranet.model.RoomStaySupplierDetails;
import travel.wink.sdk.extranet.model.SocialSupplierDetails;
import travel.wink.sdk.extranet.model.UserSessionSupplierDetails;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import org.hibernate.validator.constraints.*;
/**
* Booking data object
*/
@JsonPropertyOrder({
BookingSupplierDetails.JSON_PROPERTY_CREATION,
BookingSupplierDetails.JSON_PROPERTY_DATE,
BookingSupplierDetails.JSON_PROPERTY_GROUP_IDENTIFIER,
BookingSupplierDetails.JSON_PROPERTY_IDENTIFIER,
BookingSupplierDetails.JSON_PROPERTY_ENGINE_CONFIGURATION,
BookingSupplierDetails.JSON_PROPERTY_BOOKING_CODE,
BookingSupplierDetails.JSON_PROPERTY_USER,
BookingSupplierDetails.JSON_PROPERTY_USER_SESSION,
BookingSupplierDetails.JSON_PROPERTY_SERVER_URL,
BookingSupplierDetails.JSON_PROPERTY_CONTACT_INFO,
BookingSupplierDetails.JSON_PROPERTY_ADDRESS,
BookingSupplierDetails.JSON_PROPERTY_SOCIALS,
BookingSupplierDetails.JSON_PROPERTY_REVIEW,
BookingSupplierDetails.JSON_PROPERTY_EMAIL_HEADER_LOGO_URL,
BookingSupplierDetails.JSON_PROPERTY_LOGO_IDENTIFIER,
BookingSupplierDetails.JSON_PROPERTY_HOTEL,
BookingSupplierDetails.JSON_PROPERTY_ROOM_STAY,
BookingSupplierDetails.JSON_PROPERTY_SPECIAL_REQUESTS,
BookingSupplierDetails.JSON_PROPERTY_COMMENT,
BookingSupplierDetails.JSON_PROPERTY_EARLY_CHECK_IN_CHARGE,
BookingSupplierDetails.JSON_PROPERTY_LATE_CHECK_OUT_CHARGE,
BookingSupplierDetails.JSON_PROPERTY_EARLY_CHECK_IN_CHARGE_PERCENT,
BookingSupplierDetails.JSON_PROPERTY_LATE_CHECK_OUT_CHARGE_PERCENT,
BookingSupplierDetails.JSON_PROPERTY_HOTEL_IMAGE_URL,
BookingSupplierDetails.JSON_PROPERTY_ROOM_IMAGE_URL,
BookingSupplierDetails.JSON_PROPERTY_COMMISSION_LIST,
BookingSupplierDetails.JSON_PROPERTY_ANCILLARY_LIST,
BookingSupplierDetails.JSON_PROPERTY_BOOKING_CONTRACT,
BookingSupplierDetails.JSON_PROPERTY_STATIC_MAP_IMAGE_URL,
BookingSupplierDetails.JSON_PROPERTY_STATIC_MAP_URL,
BookingSupplierDetails.JSON_PROPERTY_RESTAURANTS,
BookingSupplierDetails.JSON_PROPERTY_HAS_ROOM_TYPE_ANCILLARIES,
BookingSupplierDetails.JSON_PROPERTY_HAS_FOOD,
BookingSupplierDetails.JSON_PROPERTY_HAS_RESTAURANTS,
BookingSupplierDetails.JSON_PROPERTY_HAS_MEETING_ROOMS,
BookingSupplierDetails.JSON_PROPERTY_HAS_SPAS,
BookingSupplierDetails.JSON_PROPERTY_HAS_ACTIVITIES,
BookingSupplierDetails.JSON_PROPERTY_HAS_ATTRACTIONS,
BookingSupplierDetails.JSON_PROPERTY_HAS_PLACES,
BookingSupplierDetails.JSON_PROPERTY_REPORTING_DAILY_RATE_LIST,
BookingSupplierDetails.JSON_PROPERTY_REPORTING_ANCILLARY_LIST,
BookingSupplierDetails.JSON_PROPERTY_REPORTING_EXTRA_CHARGE_LIST,
BookingSupplierDetails.JSON_PROPERTY_STATUS,
BookingSupplierDetails.JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER,
BookingSupplierDetails.JSON_PROPERTY_CANCELLABLE_BY_TRAVELER,
BookingSupplierDetails.JSON_PROPERTY_HAS_ADD_ONS,
BookingSupplierDetails.JSON_PROPERTY_FULL_ADDRESS,
BookingSupplierDetails.JSON_PROPERTY_ADD_ONS,
BookingSupplierDetails.JSON_PROPERTY_SPAS,
BookingSupplierDetails.JSON_PROPERTY_MEETING_ROOMS,
BookingSupplierDetails.JSON_PROPERTY_ACTIVITIES,
BookingSupplierDetails.JSON_PROPERTY_ATTRACTIONS,
BookingSupplierDetails.JSON_PROPERTY_PLACES,
BookingSupplierDetails.JSON_PROPERTY_ROOM_TYPE_ANCILLARIES,
BookingSupplierDetails.JSON_PROPERTY_HAS_BREAKFAST,
BookingSupplierDetails.JSON_PROPERTY_HAS_BRUNCH,
BookingSupplierDetails.JSON_PROPERTY_HAS_LUNCH,
BookingSupplierDetails.JSON_PROPERTY_HAS_DINNER,
BookingSupplierDetails.JSON_PROPERTY_HAS_ALL_INCLUSIVE,
BookingSupplierDetails.JSON_PROPERTY_HAS_ALL_INCLUSIVE_PLUS_ALCOHOL,
BookingSupplierDetails.JSON_PROPERTY_RATE_SOURCE
})
@JsonTypeName("Booking_SupplierDetails")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-04T22:29:13.908295668+07:00[Asia/Bangkok]")
public class BookingSupplierDetails {
/**
* Communicates whether the booking was created normally or if it failed or was just for testing.
*/
public enum CreationEnum {
NORMAL("NORMAL"),
TEST("TEST"),
FAILED("FAILED");
private String value;
CreationEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static CreationEnum fromValue(String value) {
for (CreationEnum b : CreationEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_CREATION = "creation";
private CreationEnum creation = CreationEnum.NORMAL;
public static final String JSON_PROPERTY_DATE = "date";
private java.time.LocalDateTime date;
public static final String JSON_PROPERTY_GROUP_IDENTIFIER = "groupIdentifier";
private UUID groupIdentifier;
public static final String JSON_PROPERTY_IDENTIFIER = "identifier";
private UUID identifier;
public static final String JSON_PROPERTY_ENGINE_CONFIGURATION = "engineConfiguration";
private EngineConfigurationBookingReportSupplierDetails engineConfiguration;
public static final String JSON_PROPERTY_BOOKING_CODE = "bookingCode";
private String bookingCode;
public static final String JSON_PROPERTY_USER = "user";
private BookingUserSupplierDetails user;
public static final String JSON_PROPERTY_USER_SESSION = "userSession";
private UserSessionSupplierDetails userSession;
public static final String JSON_PROPERTY_SERVER_URL = "serverUrl";
private String serverUrl;
public static final String JSON_PROPERTY_CONTACT_INFO = "contactInfo";
private ContactSupplierDetails contactInfo;
public static final String JSON_PROPERTY_ADDRESS = "address";
private AddressSupplierDetails address;
public static final String JSON_PROPERTY_SOCIALS = "socials";
private List socials;
public static final String JSON_PROPERTY_REVIEW = "review";
private ReviewSupplierDetails review;
public static final String JSON_PROPERTY_EMAIL_HEADER_LOGO_URL = "emailHeaderLogoUrl";
private String emailHeaderLogoUrl;
public static final String JSON_PROPERTY_LOGO_IDENTIFIER = "logoIdentifier";
private String logoIdentifier;
public static final String JSON_PROPERTY_HOTEL = "hotel";
private HotelOnMapSupplierDetails hotel;
public static final String JSON_PROPERTY_ROOM_STAY = "roomStay";
private RoomStaySupplierDetails roomStay;
public static final String JSON_PROPERTY_SPECIAL_REQUESTS = "specialRequests";
private String specialRequests;
public static final String JSON_PROPERTY_COMMENT = "comment";
private String comment;
public static final String JSON_PROPERTY_EARLY_CHECK_IN_CHARGE = "earlyCheckInCharge";
private CustomMonetaryAmount earlyCheckInCharge;
public static final String JSON_PROPERTY_LATE_CHECK_OUT_CHARGE = "lateCheckOutCharge";
private CustomMonetaryAmount lateCheckOutCharge;
public static final String JSON_PROPERTY_EARLY_CHECK_IN_CHARGE_PERCENT = "earlyCheckInChargePercent";
private Float earlyCheckInChargePercent;
public static final String JSON_PROPERTY_LATE_CHECK_OUT_CHARGE_PERCENT = "lateCheckOutChargePercent";
private Float lateCheckOutChargePercent;
public static final String JSON_PROPERTY_HOTEL_IMAGE_URL = "hotelImageUrl";
private String hotelImageUrl;
public static final String JSON_PROPERTY_ROOM_IMAGE_URL = "roomImageUrl";
private String roomImageUrl;
public static final String JSON_PROPERTY_COMMISSION_LIST = "commissionList";
private List commissionList;
public static final String JSON_PROPERTY_ANCILLARY_LIST = "ancillaryList";
private List ancillaryList;
public static final String JSON_PROPERTY_BOOKING_CONTRACT = "bookingContract";
private BookingContractSupplierDetails bookingContract;
public static final String JSON_PROPERTY_STATIC_MAP_IMAGE_URL = "staticMapImageUrl";
private String staticMapImageUrl;
public static final String JSON_PROPERTY_STATIC_MAP_URL = "staticMapUrl";
private String staticMapUrl;
public static final String JSON_PROPERTY_RESTAURANTS = "restaurants";
private List restaurants;
public static final String JSON_PROPERTY_HAS_ROOM_TYPE_ANCILLARIES = "hasRoomTypeAncillaries";
private Boolean hasRoomTypeAncillaries;
public static final String JSON_PROPERTY_HAS_FOOD = "hasFood";
private Boolean hasFood;
public static final String JSON_PROPERTY_HAS_RESTAURANTS = "hasRestaurants";
private Boolean hasRestaurants;
public static final String JSON_PROPERTY_HAS_MEETING_ROOMS = "hasMeetingRooms";
private Boolean hasMeetingRooms;
public static final String JSON_PROPERTY_HAS_SPAS = "hasSpas";
private Boolean hasSpas;
public static final String JSON_PROPERTY_HAS_ACTIVITIES = "hasActivities";
private Boolean hasActivities;
public static final String JSON_PROPERTY_HAS_ATTRACTIONS = "hasAttractions";
private Boolean hasAttractions;
public static final String JSON_PROPERTY_HAS_PLACES = "hasPlaces";
private Boolean hasPlaces;
public static final String JSON_PROPERTY_REPORTING_DAILY_RATE_LIST = "reportingDailyRateList";
private List reportingDailyRateList;
public static final String JSON_PROPERTY_REPORTING_ANCILLARY_LIST = "reportingAncillaryList";
private List reportingAncillaryList;
public static final String JSON_PROPERTY_REPORTING_EXTRA_CHARGE_LIST = "reportingExtraChargeList";
private List reportingExtraChargeList;
/**
* Convenience data point to show which status the booking currently has.
*/
public enum StatusEnum {
CANCELLED_BY_HOTEL("CANCELLED_BY_HOTEL"),
CANCELLED_BY_GUEST("CANCELLED_BY_GUEST"),
CANCELLED_BY_ADMIN("CANCELLED_BY_ADMIN"),
CANCELLED_BY_SALES_CHANNEL("CANCELLED_BY_SALES_CHANNEL"),
PAST("PAST"),
FUTURE("FUTURE"),
CANCELLED_BY_ACQUIRER("CANCELLED_BY_ACQUIRER"),
ACTIVE("ACTIVE"),
FAILED("FAILED");
private String value;
StatusEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static StatusEnum fromValue(String value) {
for (StatusEnum b : StatusEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_STATUS = "status";
private StatusEnum status;
public static final String JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER = "cancellableBySupplier";
private Boolean cancellableBySupplier;
public static final String JSON_PROPERTY_CANCELLABLE_BY_TRAVELER = "cancellableByTraveler";
private Boolean cancellableByTraveler;
public static final String JSON_PROPERTY_HAS_ADD_ONS = "hasAddOns";
private Boolean hasAddOns;
public static final String JSON_PROPERTY_FULL_ADDRESS = "fullAddress";
private String fullAddress;
public static final String JSON_PROPERTY_ADD_ONS = "addOns";
private List addOns;
public static final String JSON_PROPERTY_SPAS = "spas";
private List spas;
public static final String JSON_PROPERTY_MEETING_ROOMS = "meetingRooms";
private List meetingRooms;
public static final String JSON_PROPERTY_ACTIVITIES = "activities";
private List activities;
public static final String JSON_PROPERTY_ATTRACTIONS = "attractions";
private List attractions;
public static final String JSON_PROPERTY_PLACES = "places";
private List places;
public static final String JSON_PROPERTY_ROOM_TYPE_ANCILLARIES = "roomTypeAncillaries";
private List roomTypeAncillaries;
public static final String JSON_PROPERTY_HAS_BREAKFAST = "hasBreakfast";
private Boolean hasBreakfast;
public static final String JSON_PROPERTY_HAS_BRUNCH = "hasBrunch";
private Boolean hasBrunch;
public static final String JSON_PROPERTY_HAS_LUNCH = "hasLunch";
private Boolean hasLunch;
public static final String JSON_PROPERTY_HAS_DINNER = "hasDinner";
private Boolean hasDinner;
public static final String JSON_PROPERTY_HAS_ALL_INCLUSIVE = "hasAllInclusive";
private Boolean hasAllInclusive;
public static final String JSON_PROPERTY_HAS_ALL_INCLUSIVE_PLUS_ALCOHOL = "hasAllInclusivePlusAlcohol";
private Boolean hasAllInclusivePlusAlcohol;
public static final String JSON_PROPERTY_RATE_SOURCE = "rateSource";
private String rateSource;
public BookingSupplierDetails() {
}
public BookingSupplierDetails creation(CreationEnum creation) {
this.creation = creation;
return this;
}
/**
* Communicates whether the booking was created normally or if it failed or was just for testing.
* @return creation
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CREATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public CreationEnum getCreation() {
return creation;
}
@JsonProperty(JSON_PROPERTY_CREATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCreation(CreationEnum creation) {
this.creation = creation;
}
public BookingSupplierDetails date(java.time.LocalDateTime date) {
this.date = date;
return this;
}
/**
* Date and time the booking was made.
* @return date
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public java.time.LocalDateTime getDate() {
return date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDate(java.time.LocalDateTime date) {
this.date = date;
}
public BookingSupplierDetails groupIdentifier(UUID groupIdentifier) {
this.groupIdentifier = groupIdentifier;
return this;
}
/**
* Unique record identifier for the collection of bookings that were made at the same time.
* @return groupIdentifier
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_GROUP_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UUID getGroupIdentifier() {
return groupIdentifier;
}
@JsonProperty(JSON_PROPERTY_GROUP_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setGroupIdentifier(UUID groupIdentifier) {
this.groupIdentifier = groupIdentifier;
}
public BookingSupplierDetails identifier(UUID identifier) {
this.identifier = identifier;
return this;
}
/**
* Unique record identifier
* @return identifier
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UUID getIdentifier() {
return identifier;
}
@JsonProperty(JSON_PROPERTY_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIdentifier(UUID identifier) {
this.identifier = identifier;
}
public BookingSupplierDetails engineConfiguration(EngineConfigurationBookingReportSupplierDetails engineConfiguration) {
this.engineConfiguration = engineConfiguration;
return this;
}
/**
* Get engineConfiguration
* @return engineConfiguration
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_ENGINE_CONFIGURATION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public EngineConfigurationBookingReportSupplierDetails getEngineConfiguration() {
return engineConfiguration;
}
@JsonProperty(JSON_PROPERTY_ENGINE_CONFIGURATION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEngineConfiguration(EngineConfigurationBookingReportSupplierDetails engineConfiguration) {
this.engineConfiguration = engineConfiguration;
}
public BookingSupplierDetails bookingCode(String bookingCode) {
this.bookingCode = bookingCode;
return this;
}
/**
* Unique user-friendly booking geoname. This code should be used when corresponding with travelers.
* @return bookingCode
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_BOOKING_CODE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getBookingCode() {
return bookingCode;
}
@JsonProperty(JSON_PROPERTY_BOOKING_CODE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setBookingCode(String bookingCode) {
this.bookingCode = bookingCode;
}
public BookingSupplierDetails user(BookingUserSupplierDetails user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_USER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BookingUserSupplierDetails getUser() {
return user;
}
@JsonProperty(JSON_PROPERTY_USER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setUser(BookingUserSupplierDetails user) {
this.user = user;
}
public BookingSupplierDetails userSession(UserSessionSupplierDetails userSession) {
this.userSession = userSession;
return this;
}
/**
* Get userSession
* @return userSession
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_USER_SESSION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UserSessionSupplierDetails getUserSession() {
return userSession;
}
@JsonProperty(JSON_PROPERTY_USER_SESSION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setUserSession(UserSessionSupplierDetails userSession) {
this.userSession = userSession;
}
public BookingSupplierDetails serverUrl(String serverUrl) {
this.serverUrl = serverUrl;
return this;
}
/**
* The URL the booking occurred
* @return serverUrl
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_SERVER_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getServerUrl() {
return serverUrl;
}
@JsonProperty(JSON_PROPERTY_SERVER_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setServerUrl(String serverUrl) {
this.serverUrl = serverUrl;
}
public BookingSupplierDetails contactInfo(ContactSupplierDetails contactInfo) {
this.contactInfo = contactInfo;
return this;
}
/**
* Get contactInfo
* @return contactInfo
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_CONTACT_INFO)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public ContactSupplierDetails getContactInfo() {
return contactInfo;
}
@JsonProperty(JSON_PROPERTY_CONTACT_INFO)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setContactInfo(ContactSupplierDetails contactInfo) {
this.contactInfo = contactInfo;
}
public BookingSupplierDetails address(AddressSupplierDetails address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public AddressSupplierDetails getAddress() {
return address;
}
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAddress(AddressSupplierDetails address) {
this.address = address;
}
public BookingSupplierDetails socials(List socials) {
this.socials = socials;
return this;
}
public BookingSupplierDetails addSocialsItem(SocialSupplierDetails socialsItem) {
if (this.socials == null) {
this.socials = new ArrayList<>();
}
this.socials.add(socialsItem);
return this;
}
/**
* List of all social network account property has for the traveler to get in touch.
* @return socials
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_SOCIALS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getSocials() {
return socials;
}
@JsonProperty(JSON_PROPERTY_SOCIALS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSocials(List socials) {
this.socials = socials;
}
public BookingSupplierDetails review(ReviewSupplierDetails review) {
this.review = review;
return this;
}
/**
* Get review
* @return review
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_REVIEW)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ReviewSupplierDetails getReview() {
return review;
}
@JsonProperty(JSON_PROPERTY_REVIEW)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReview(ReviewSupplierDetails review) {
this.review = review;
}
public BookingSupplierDetails emailHeaderLogoUrl(String emailHeaderLogoUrl) {
this.emailHeaderLogoUrl = emailHeaderLogoUrl;
return this;
}
/**
* Full url of the image logo optimized for emails
* @return emailHeaderLogoUrl
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_EMAIL_HEADER_LOGO_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEmailHeaderLogoUrl() {
return emailHeaderLogoUrl;
}
@JsonProperty(JSON_PROPERTY_EMAIL_HEADER_LOGO_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEmailHeaderLogoUrl(String emailHeaderLogoUrl) {
this.emailHeaderLogoUrl = emailHeaderLogoUrl;
}
public BookingSupplierDetails logoIdentifier(String logoIdentifier) {
this.logoIdentifier = logoIdentifier;
return this;
}
/**
* Logo cloudinary identifier for potential reuse
* @return logoIdentifier
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LOGO_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLogoIdentifier() {
return logoIdentifier;
}
@JsonProperty(JSON_PROPERTY_LOGO_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLogoIdentifier(String logoIdentifier) {
this.logoIdentifier = logoIdentifier;
}
public BookingSupplierDetails hotel(HotelOnMapSupplierDetails hotel) {
this.hotel = hotel;
return this;
}
/**
* Get hotel
* @return hotel
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_HOTEL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public HotelOnMapSupplierDetails getHotel() {
return hotel;
}
@JsonProperty(JSON_PROPERTY_HOTEL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHotel(HotelOnMapSupplierDetails hotel) {
this.hotel = hotel;
}
public BookingSupplierDetails roomStay(RoomStaySupplierDetails roomStay) {
this.roomStay = roomStay;
return this;
}
/**
* Get roomStay
* @return roomStay
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ROOM_STAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public RoomStaySupplierDetails getRoomStay() {
return roomStay;
}
@JsonProperty(JSON_PROPERTY_ROOM_STAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRoomStay(RoomStaySupplierDetails roomStay) {
this.roomStay = roomStay;
}
public BookingSupplierDetails specialRequests(String specialRequests) {
this.specialRequests = specialRequests;
return this;
}
/**
* Free text where the traveler can add a message to the property.
* @return specialRequests
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SPECIAL_REQUESTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSpecialRequests() {
return specialRequests;
}
@JsonProperty(JSON_PROPERTY_SPECIAL_REQUESTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSpecialRequests(String specialRequests) {
this.specialRequests = specialRequests;
}
public BookingSupplierDetails comment(String comment) {
this.comment = comment;
return this;
}
/**
* Internal comment field the payment can add and make available to channel manager partners.
* @return comment
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_COMMENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getComment() {
return comment;
}
@JsonProperty(JSON_PROPERTY_COMMENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setComment(String comment) {
this.comment = comment;
}
public BookingSupplierDetails earlyCheckInCharge(CustomMonetaryAmount earlyCheckInCharge) {
this.earlyCheckInCharge = earlyCheckInCharge;
return this;
}
/**
* Get earlyCheckInCharge
* @return earlyCheckInCharge
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_EARLY_CHECK_IN_CHARGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public CustomMonetaryAmount getEarlyCheckInCharge() {
return earlyCheckInCharge;
}
@JsonProperty(JSON_PROPERTY_EARLY_CHECK_IN_CHARGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEarlyCheckInCharge(CustomMonetaryAmount earlyCheckInCharge) {
this.earlyCheckInCharge = earlyCheckInCharge;
}
public BookingSupplierDetails lateCheckOutCharge(CustomMonetaryAmount lateCheckOutCharge) {
this.lateCheckOutCharge = lateCheckOutCharge;
return this;
}
/**
* Get lateCheckOutCharge
* @return lateCheckOutCharge
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_LATE_CHECK_OUT_CHARGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public CustomMonetaryAmount getLateCheckOutCharge() {
return lateCheckOutCharge;
}
@JsonProperty(JSON_PROPERTY_LATE_CHECK_OUT_CHARGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLateCheckOutCharge(CustomMonetaryAmount lateCheckOutCharge) {
this.lateCheckOutCharge = lateCheckOutCharge;
}
public BookingSupplierDetails earlyCheckInChargePercent(Float earlyCheckInChargePercent) {
this.earlyCheckInChargePercent = earlyCheckInChargePercent;
return this;
}
/**
* Early check-in charge calculated in percent of first room night price.
* @return earlyCheckInChargePercent
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EARLY_CHECK_IN_CHARGE_PERCENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Float getEarlyCheckInChargePercent() {
return earlyCheckInChargePercent;
}
@JsonProperty(JSON_PROPERTY_EARLY_CHECK_IN_CHARGE_PERCENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEarlyCheckInChargePercent(Float earlyCheckInChargePercent) {
this.earlyCheckInChargePercent = earlyCheckInChargePercent;
}
public BookingSupplierDetails lateCheckOutChargePercent(Float lateCheckOutChargePercent) {
this.lateCheckOutChargePercent = lateCheckOutChargePercent;
return this;
}
/**
* Early check-in charge calculated in percent of first room night price.
* @return lateCheckOutChargePercent
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LATE_CHECK_OUT_CHARGE_PERCENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Float getLateCheckOutChargePercent() {
return lateCheckOutChargePercent;
}
@JsonProperty(JSON_PROPERTY_LATE_CHECK_OUT_CHARGE_PERCENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLateCheckOutChargePercent(Float lateCheckOutChargePercent) {
this.lateCheckOutChargePercent = lateCheckOutChargePercent;
}
public BookingSupplierDetails hotelImageUrl(String hotelImageUrl) {
this.hotelImageUrl = hotelImageUrl;
return this;
}
/**
* Absolute URL of hotel image that can be used as-is
* @return hotelImageUrl
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_HOTEL_IMAGE_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getHotelImageUrl() {
return hotelImageUrl;
}
@JsonProperty(JSON_PROPERTY_HOTEL_IMAGE_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHotelImageUrl(String hotelImageUrl) {
this.hotelImageUrl = hotelImageUrl;
}
public BookingSupplierDetails roomImageUrl(String roomImageUrl) {
this.roomImageUrl = roomImageUrl;
return this;
}
/**
* Absolute URL of room image that can be used as-is
* @return roomImageUrl
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_ROOM_IMAGE_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getRoomImageUrl() {
return roomImageUrl;
}
@JsonProperty(JSON_PROPERTY_ROOM_IMAGE_URL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRoomImageUrl(String roomImageUrl) {
this.roomImageUrl = roomImageUrl;
}
public BookingSupplierDetails commissionList(List commissionList) {
this.commissionList = commissionList;
return this;
}
public BookingSupplierDetails addCommissionListItem(CommissionableEntrySupplierDetails commissionListItem) {
if (this.commissionList == null) {
this.commissionList = new ArrayList<>();
}
this.commissionList.add(commissionListItem);
return this;
}
/**
* List of all travel inventory entries that are due a commission to the affiliate.
* @return commissionList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_COMMISSION_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getCommissionList() {
return commissionList;
}
@JsonProperty(JSON_PROPERTY_COMMISSION_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCommissionList(List commissionList) {
this.commissionList = commissionList;
}
public BookingSupplierDetails ancillaryList(List ancillaryList) {
this.ancillaryList = ancillaryList;
return this;
}
public BookingSupplierDetails addAncillaryListItem(BookingAncillarySupplierDetails ancillaryListItem) {
if (this.ancillaryList == null) {
this.ancillaryList = new ArrayList<>();
}
this.ancillaryList.add(ancillaryListItem);
return this;
}
/**
* Get ancillaryList
* @return ancillaryList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ANCILLARY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getAncillaryList() {
return ancillaryList;
}
@JsonProperty(JSON_PROPERTY_ANCILLARY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAncillaryList(List ancillaryList) {
this.ancillaryList = ancillaryList;
}
public BookingSupplierDetails bookingContract(BookingContractSupplierDetails bookingContract) {
this.bookingContract = bookingContract;
return this;
}
/**
* Get bookingContract
* @return bookingContract
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_BOOKING_CONTRACT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BookingContractSupplierDetails getBookingContract() {
return bookingContract;
}
@JsonProperty(JSON_PROPERTY_BOOKING_CONTRACT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBookingContract(BookingContractSupplierDetails bookingContract) {
this.bookingContract = bookingContract;
}
public BookingSupplierDetails staticMapImageUrl(String staticMapImageUrl) {
this.staticMapImageUrl = staticMapImageUrl;
return this;
}
/**
* Url of map image that can be sent via email
* @return staticMapImageUrl
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STATIC_MAP_IMAGE_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStaticMapImageUrl() {
return staticMapImageUrl;
}
@JsonProperty(JSON_PROPERTY_STATIC_MAP_IMAGE_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStaticMapImageUrl(String staticMapImageUrl) {
this.staticMapImageUrl = staticMapImageUrl;
}
public BookingSupplierDetails staticMapUrl(String staticMapUrl) {
this.staticMapUrl = staticMapUrl;
return this;
}
/**
* Url of map image location on Google Maps
* @return staticMapUrl
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STATIC_MAP_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStaticMapUrl() {
return staticMapUrl;
}
@JsonProperty(JSON_PROPERTY_STATIC_MAP_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStaticMapUrl(String staticMapUrl) {
this.staticMapUrl = staticMapUrl;
}
public BookingSupplierDetails restaurants(List restaurants) {
this.restaurants = restaurants;
return this;
}
public BookingSupplierDetails addRestaurantsItem(BookingAncillarySupplierDetails restaurantsItem) {
if (this.restaurants == null) {
this.restaurants = new ArrayList<>();
}
this.restaurants.add(restaurantsItem);
return this;
}
/**
* Restaurant reservation records.
* @return restaurants
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_RESTAURANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getRestaurants() {
return restaurants;
}
@JsonProperty(JSON_PROPERTY_RESTAURANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRestaurants(List restaurants) {
this.restaurants = restaurants;
}
public BookingSupplierDetails hasRoomTypeAncillaries(Boolean hasRoomTypeAncillaries) {
this.hasRoomTypeAncillaries = hasRoomTypeAncillaries;
return this;
}
/**
* Convenience data point to check if any room type ancillaries are in this booking.
* @return hasRoomTypeAncillaries
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_ROOM_TYPE_ANCILLARIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasRoomTypeAncillaries() {
return hasRoomTypeAncillaries;
}
@JsonProperty(JSON_PROPERTY_HAS_ROOM_TYPE_ANCILLARIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasRoomTypeAncillaries(Boolean hasRoomTypeAncillaries) {
this.hasRoomTypeAncillaries = hasRoomTypeAncillaries;
}
public BookingSupplierDetails hasFood(Boolean hasFood) {
this.hasFood = hasFood;
return this;
}
/**
* Convenience data point to check if any food is included in this booking.
* @return hasFood
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_FOOD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasFood() {
return hasFood;
}
@JsonProperty(JSON_PROPERTY_HAS_FOOD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasFood(Boolean hasFood) {
this.hasFood = hasFood;
}
public BookingSupplierDetails hasRestaurants(Boolean hasRestaurants) {
this.hasRestaurants = hasRestaurants;
return this;
}
/**
* Convenience data point to check if any restaurant reservations are included in this booking.
* @return hasRestaurants
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_RESTAURANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasRestaurants() {
return hasRestaurants;
}
@JsonProperty(JSON_PROPERTY_HAS_RESTAURANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasRestaurants(Boolean hasRestaurants) {
this.hasRestaurants = hasRestaurants;
}
public BookingSupplierDetails hasMeetingRooms(Boolean hasMeetingRooms) {
this.hasMeetingRooms = hasMeetingRooms;
return this;
}
/**
* Convenience data point to check if any meeting room reservations are included in this booking.
* @return hasMeetingRooms
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_MEETING_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasMeetingRooms() {
return hasMeetingRooms;
}
@JsonProperty(JSON_PROPERTY_HAS_MEETING_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasMeetingRooms(Boolean hasMeetingRooms) {
this.hasMeetingRooms = hasMeetingRooms;
}
public BookingSupplierDetails hasSpas(Boolean hasSpas) {
this.hasSpas = hasSpas;
return this;
}
/**
* Convenience data point to check if any spa reservations are included in this booking.
* @return hasSpas
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_SPAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasSpas() {
return hasSpas;
}
@JsonProperty(JSON_PROPERTY_HAS_SPAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasSpas(Boolean hasSpas) {
this.hasSpas = hasSpas;
}
public BookingSupplierDetails hasActivities(Boolean hasActivities) {
this.hasActivities = hasActivities;
return this;
}
/**
* Convenience data point to check if any activity reservations are included in this booking.
* @return hasActivities
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_ACTIVITIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasActivities() {
return hasActivities;
}
@JsonProperty(JSON_PROPERTY_HAS_ACTIVITIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasActivities(Boolean hasActivities) {
this.hasActivities = hasActivities;
}
public BookingSupplierDetails hasAttractions(Boolean hasAttractions) {
this.hasAttractions = hasAttractions;
return this;
}
/**
* Convenience data point to check if any attractions reservations are included in this booking.
* @return hasAttractions
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_ATTRACTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasAttractions() {
return hasAttractions;
}
@JsonProperty(JSON_PROPERTY_HAS_ATTRACTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasAttractions(Boolean hasAttractions) {
this.hasAttractions = hasAttractions;
}
public BookingSupplierDetails hasPlaces(Boolean hasPlaces) {
this.hasPlaces = hasPlaces;
return this;
}
/**
* Convenience data point to check if any place reservations are included in this booking.
* @return hasPlaces
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_PLACES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasPlaces() {
return hasPlaces;
}
@JsonProperty(JSON_PROPERTY_HAS_PLACES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasPlaces(Boolean hasPlaces) {
this.hasPlaces = hasPlaces;
}
public BookingSupplierDetails reportingDailyRateList(List reportingDailyRateList) {
this.reportingDailyRateList = reportingDailyRateList;
return this;
}
public BookingSupplierDetails addReportingDailyRateListItem(ReportingDailyRateSupplierDetails reportingDailyRateListItem) {
if (this.reportingDailyRateList == null) {
this.reportingDailyRateList = new ArrayList<>();
}
this.reportingDailyRateList.add(reportingDailyRateListItem);
return this;
}
/**
* Get reportingDailyRateList
* @return reportingDailyRateList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_REPORTING_DAILY_RATE_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getReportingDailyRateList() {
return reportingDailyRateList;
}
@JsonProperty(JSON_PROPERTY_REPORTING_DAILY_RATE_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReportingDailyRateList(List reportingDailyRateList) {
this.reportingDailyRateList = reportingDailyRateList;
}
public BookingSupplierDetails reportingAncillaryList(List reportingAncillaryList) {
this.reportingAncillaryList = reportingAncillaryList;
return this;
}
public BookingSupplierDetails addReportingAncillaryListItem(ReportingAncillarySupplierDetails reportingAncillaryListItem) {
if (this.reportingAncillaryList == null) {
this.reportingAncillaryList = new ArrayList<>();
}
this.reportingAncillaryList.add(reportingAncillaryListItem);
return this;
}
/**
* Get reportingAncillaryList
* @return reportingAncillaryList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_REPORTING_ANCILLARY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getReportingAncillaryList() {
return reportingAncillaryList;
}
@JsonProperty(JSON_PROPERTY_REPORTING_ANCILLARY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReportingAncillaryList(List reportingAncillaryList) {
this.reportingAncillaryList = reportingAncillaryList;
}
public BookingSupplierDetails reportingExtraChargeList(List reportingExtraChargeList) {
this.reportingExtraChargeList = reportingExtraChargeList;
return this;
}
public BookingSupplierDetails addReportingExtraChargeListItem(ReportingExtraChargeSupplierDetails reportingExtraChargeListItem) {
if (this.reportingExtraChargeList == null) {
this.reportingExtraChargeList = new ArrayList<>();
}
this.reportingExtraChargeList.add(reportingExtraChargeListItem);
return this;
}
/**
* Get reportingExtraChargeList
* @return reportingExtraChargeList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_REPORTING_EXTRA_CHARGE_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getReportingExtraChargeList() {
return reportingExtraChargeList;
}
@JsonProperty(JSON_PROPERTY_REPORTING_EXTRA_CHARGE_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReportingExtraChargeList(List reportingExtraChargeList) {
this.reportingExtraChargeList = reportingExtraChargeList;
}
public BookingSupplierDetails status(StatusEnum status) {
this.status = status;
return this;
}
/**
* Convenience data point to show which status the booking currently has.
* @return status
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatusEnum getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(StatusEnum status) {
this.status = status;
}
public BookingSupplierDetails cancellableBySupplier(Boolean cancellableBySupplier) {
this.cancellableBySupplier = cancellableBySupplier;
return this;
}
/**
* Whether the booking can still be cancelled completely by the supplier.
* @return cancellableBySupplier
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getCancellableBySupplier() {
return cancellableBySupplier;
}
@JsonProperty(JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCancellableBySupplier(Boolean cancellableBySupplier) {
this.cancellableBySupplier = cancellableBySupplier;
}
public BookingSupplierDetails cancellableByTraveler(Boolean cancellableByTraveler) {
this.cancellableByTraveler = cancellableByTraveler;
return this;
}
/**
* Whether the booking can still be cancelled completely by the traveller.
* @return cancellableByTraveler
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CANCELLABLE_BY_TRAVELER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getCancellableByTraveler() {
return cancellableByTraveler;
}
@JsonProperty(JSON_PROPERTY_CANCELLABLE_BY_TRAVELER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCancellableByTraveler(Boolean cancellableByTraveler) {
this.cancellableByTraveler = cancellableByTraveler;
}
public BookingSupplierDetails hasAddOns(Boolean hasAddOns) {
this.hasAddOns = hasAddOns;
return this;
}
/**
* Convenience data point to check if any add-on offers are in this booking.
* @return hasAddOns
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_ADD_ONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasAddOns() {
return hasAddOns;
}
@JsonProperty(JSON_PROPERTY_HAS_ADD_ONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasAddOns(Boolean hasAddOns) {
this.hasAddOns = hasAddOns;
}
public BookingSupplierDetails fullAddress(String fullAddress) {
this.fullAddress = fullAddress;
return this;
}
/**
* Convenience data point to return the full hotel address.
* @return fullAddress
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FULL_ADDRESS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFullAddress() {
return fullAddress;
}
@JsonProperty(JSON_PROPERTY_FULL_ADDRESS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFullAddress(String fullAddress) {
this.fullAddress = fullAddress;
}
public BookingSupplierDetails addOns(List addOns) {
this.addOns = addOns;
return this;
}
public BookingSupplierDetails addAddOnsItem(BookingAncillarySupplierDetails addOnsItem) {
if (this.addOns == null) {
this.addOns = new ArrayList<>();
}
this.addOns.add(addOnsItem);
return this;
}
/**
* Add-on records.
* @return addOns
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ADD_ONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getAddOns() {
return addOns;
}
@JsonProperty(JSON_PROPERTY_ADD_ONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAddOns(List addOns) {
this.addOns = addOns;
}
public BookingSupplierDetails spas(List spas) {
this.spas = spas;
return this;
}
public BookingSupplierDetails addSpasItem(BookingAncillarySupplierDetails spasItem) {
if (this.spas == null) {
this.spas = new ArrayList<>();
}
this.spas.add(spasItem);
return this;
}
/**
* Spa reservation records.
* @return spas
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_SPAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getSpas() {
return spas;
}
@JsonProperty(JSON_PROPERTY_SPAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSpas(List spas) {
this.spas = spas;
}
public BookingSupplierDetails meetingRooms(List meetingRooms) {
this.meetingRooms = meetingRooms;
return this;
}
public BookingSupplierDetails addMeetingRoomsItem(BookingAncillarySupplierDetails meetingRoomsItem) {
if (this.meetingRooms == null) {
this.meetingRooms = new ArrayList<>();
}
this.meetingRooms.add(meetingRoomsItem);
return this;
}
/**
* Meeting room reservation records.
* @return meetingRooms
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_MEETING_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getMeetingRooms() {
return meetingRooms;
}
@JsonProperty(JSON_PROPERTY_MEETING_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMeetingRooms(List meetingRooms) {
this.meetingRooms = meetingRooms;
}
public BookingSupplierDetails activities(List activities) {
this.activities = activities;
return this;
}
public BookingSupplierDetails addActivitiesItem(BookingAncillarySupplierDetails activitiesItem) {
if (this.activities == null) {
this.activities = new ArrayList<>();
}
this.activities.add(activitiesItem);
return this;
}
/**
* Activity reservation records.
* @return activities
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ACTIVITIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getActivities() {
return activities;
}
@JsonProperty(JSON_PROPERTY_ACTIVITIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setActivities(List activities) {
this.activities = activities;
}
public BookingSupplierDetails attractions(List attractions) {
this.attractions = attractions;
return this;
}
public BookingSupplierDetails addAttractionsItem(BookingAncillarySupplierDetails attractionsItem) {
if (this.attractions == null) {
this.attractions = new ArrayList<>();
}
this.attractions.add(attractionsItem);
return this;
}
/**
* Attraction reservation records.
* @return attractions
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ATTRACTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getAttractions() {
return attractions;
}
@JsonProperty(JSON_PROPERTY_ATTRACTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttractions(List attractions) {
this.attractions = attractions;
}
public BookingSupplierDetails places(List places) {
this.places = places;
return this;
}
public BookingSupplierDetails addPlacesItem(BookingAncillarySupplierDetails placesItem) {
if (this.places == null) {
this.places = new ArrayList<>();
}
this.places.add(placesItem);
return this;
}
/**
* Place reservation records.
* @return places
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_PLACES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getPlaces() {
return places;
}
@JsonProperty(JSON_PROPERTY_PLACES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPlaces(List places) {
this.places = places;
}
public BookingSupplierDetails roomTypeAncillaries(List roomTypeAncillaries) {
this.roomTypeAncillaries = roomTypeAncillaries;
return this;
}
public BookingSupplierDetails addRoomTypeAncillariesItem(BookingAncillarySupplierDetails roomTypeAncillariesItem) {
if (this.roomTypeAncillaries == null) {
this.roomTypeAncillaries = new ArrayList<>();
}
this.roomTypeAncillaries.add(roomTypeAncillariesItem);
return this;
}
/**
* Room type ancillary records.
* @return roomTypeAncillaries
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ROOM_TYPE_ANCILLARIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getRoomTypeAncillaries() {
return roomTypeAncillaries;
}
@JsonProperty(JSON_PROPERTY_ROOM_TYPE_ANCILLARIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRoomTypeAncillaries(List roomTypeAncillaries) {
this.roomTypeAncillaries = roomTypeAncillaries;
}
public BookingSupplierDetails hasBreakfast(Boolean hasBreakfast) {
this.hasBreakfast = hasBreakfast;
return this;
}
/**
* Convenience data point to get to breakfast quickly.
* @return hasBreakfast
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_BREAKFAST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasBreakfast() {
return hasBreakfast;
}
@JsonProperty(JSON_PROPERTY_HAS_BREAKFAST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasBreakfast(Boolean hasBreakfast) {
this.hasBreakfast = hasBreakfast;
}
public BookingSupplierDetails hasBrunch(Boolean hasBrunch) {
this.hasBrunch = hasBrunch;
return this;
}
/**
* Convenience data point to get to brunch quickly.
* @return hasBrunch
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_BRUNCH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasBrunch() {
return hasBrunch;
}
@JsonProperty(JSON_PROPERTY_HAS_BRUNCH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasBrunch(Boolean hasBrunch) {
this.hasBrunch = hasBrunch;
}
public BookingSupplierDetails hasLunch(Boolean hasLunch) {
this.hasLunch = hasLunch;
return this;
}
/**
* Convenience data point to get to lunch quickly.
* @return hasLunch
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_LUNCH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasLunch() {
return hasLunch;
}
@JsonProperty(JSON_PROPERTY_HAS_LUNCH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasLunch(Boolean hasLunch) {
this.hasLunch = hasLunch;
}
public BookingSupplierDetails hasDinner(Boolean hasDinner) {
this.hasDinner = hasDinner;
return this;
}
/**
* Convenience data point to get to dinner quickly.
* @return hasDinner
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_DINNER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasDinner() {
return hasDinner;
}
@JsonProperty(JSON_PROPERTY_HAS_DINNER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasDinner(Boolean hasDinner) {
this.hasDinner = hasDinner;
}
public BookingSupplierDetails hasAllInclusive(Boolean hasAllInclusive) {
this.hasAllInclusive = hasAllInclusive;
return this;
}
/**
* Convenience data point to get to all-inclusive quickly.
* @return hasAllInclusive
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_ALL_INCLUSIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasAllInclusive() {
return hasAllInclusive;
}
@JsonProperty(JSON_PROPERTY_HAS_ALL_INCLUSIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasAllInclusive(Boolean hasAllInclusive) {
this.hasAllInclusive = hasAllInclusive;
}
public BookingSupplierDetails hasAllInclusivePlusAlcohol(Boolean hasAllInclusivePlusAlcohol) {
this.hasAllInclusivePlusAlcohol = hasAllInclusivePlusAlcohol;
return this;
}
/**
* Convenience data point to get to all-inclusive with alcohol quickly.
* @return hasAllInclusivePlusAlcohol
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_ALL_INCLUSIVE_PLUS_ALCOHOL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasAllInclusivePlusAlcohol() {
return hasAllInclusivePlusAlcohol;
}
@JsonProperty(JSON_PROPERTY_HAS_ALL_INCLUSIVE_PLUS_ALCOHOL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasAllInclusivePlusAlcohol(Boolean hasAllInclusivePlusAlcohol) {
this.hasAllInclusivePlusAlcohol = hasAllInclusivePlusAlcohol;
}
public BookingSupplierDetails rateSource(String rateSource) {
this.rateSource = rateSource;
return this;
}
/**
* Rate origin. This is usually the property channel manager.
* @return rateSource
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RATE_SOURCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRateSource() {
return rateSource;
}
@JsonProperty(JSON_PROPERTY_RATE_SOURCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRateSource(String rateSource) {
this.rateSource = rateSource;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BookingSupplierDetails bookingSupplierDetails = (BookingSupplierDetails) o;
return Objects.equals(this.creation, bookingSupplierDetails.creation) &&
Objects.equals(this.date, bookingSupplierDetails.date) &&
Objects.equals(this.groupIdentifier, bookingSupplierDetails.groupIdentifier) &&
Objects.equals(this.identifier, bookingSupplierDetails.identifier) &&
Objects.equals(this.engineConfiguration, bookingSupplierDetails.engineConfiguration) &&
Objects.equals(this.bookingCode, bookingSupplierDetails.bookingCode) &&
Objects.equals(this.user, bookingSupplierDetails.user) &&
Objects.equals(this.userSession, bookingSupplierDetails.userSession) &&
Objects.equals(this.serverUrl, bookingSupplierDetails.serverUrl) &&
Objects.equals(this.contactInfo, bookingSupplierDetails.contactInfo) &&
Objects.equals(this.address, bookingSupplierDetails.address) &&
Objects.equals(this.socials, bookingSupplierDetails.socials) &&
Objects.equals(this.review, bookingSupplierDetails.review) &&
Objects.equals(this.emailHeaderLogoUrl, bookingSupplierDetails.emailHeaderLogoUrl) &&
Objects.equals(this.logoIdentifier, bookingSupplierDetails.logoIdentifier) &&
Objects.equals(this.hotel, bookingSupplierDetails.hotel) &&
Objects.equals(this.roomStay, bookingSupplierDetails.roomStay) &&
Objects.equals(this.specialRequests, bookingSupplierDetails.specialRequests) &&
Objects.equals(this.comment, bookingSupplierDetails.comment) &&
Objects.equals(this.earlyCheckInCharge, bookingSupplierDetails.earlyCheckInCharge) &&
Objects.equals(this.lateCheckOutCharge, bookingSupplierDetails.lateCheckOutCharge) &&
Objects.equals(this.earlyCheckInChargePercent, bookingSupplierDetails.earlyCheckInChargePercent) &&
Objects.equals(this.lateCheckOutChargePercent, bookingSupplierDetails.lateCheckOutChargePercent) &&
Objects.equals(this.hotelImageUrl, bookingSupplierDetails.hotelImageUrl) &&
Objects.equals(this.roomImageUrl, bookingSupplierDetails.roomImageUrl) &&
Objects.equals(this.commissionList, bookingSupplierDetails.commissionList) &&
Objects.equals(this.ancillaryList, bookingSupplierDetails.ancillaryList) &&
Objects.equals(this.bookingContract, bookingSupplierDetails.bookingContract) &&
Objects.equals(this.staticMapImageUrl, bookingSupplierDetails.staticMapImageUrl) &&
Objects.equals(this.staticMapUrl, bookingSupplierDetails.staticMapUrl) &&
Objects.equals(this.restaurants, bookingSupplierDetails.restaurants) &&
Objects.equals(this.hasRoomTypeAncillaries, bookingSupplierDetails.hasRoomTypeAncillaries) &&
Objects.equals(this.hasFood, bookingSupplierDetails.hasFood) &&
Objects.equals(this.hasRestaurants, bookingSupplierDetails.hasRestaurants) &&
Objects.equals(this.hasMeetingRooms, bookingSupplierDetails.hasMeetingRooms) &&
Objects.equals(this.hasSpas, bookingSupplierDetails.hasSpas) &&
Objects.equals(this.hasActivities, bookingSupplierDetails.hasActivities) &&
Objects.equals(this.hasAttractions, bookingSupplierDetails.hasAttractions) &&
Objects.equals(this.hasPlaces, bookingSupplierDetails.hasPlaces) &&
Objects.equals(this.reportingDailyRateList, bookingSupplierDetails.reportingDailyRateList) &&
Objects.equals(this.reportingAncillaryList, bookingSupplierDetails.reportingAncillaryList) &&
Objects.equals(this.reportingExtraChargeList, bookingSupplierDetails.reportingExtraChargeList) &&
Objects.equals(this.status, bookingSupplierDetails.status) &&
Objects.equals(this.cancellableBySupplier, bookingSupplierDetails.cancellableBySupplier) &&
Objects.equals(this.cancellableByTraveler, bookingSupplierDetails.cancellableByTraveler) &&
Objects.equals(this.hasAddOns, bookingSupplierDetails.hasAddOns) &&
Objects.equals(this.fullAddress, bookingSupplierDetails.fullAddress) &&
Objects.equals(this.addOns, bookingSupplierDetails.addOns) &&
Objects.equals(this.spas, bookingSupplierDetails.spas) &&
Objects.equals(this.meetingRooms, bookingSupplierDetails.meetingRooms) &&
Objects.equals(this.activities, bookingSupplierDetails.activities) &&
Objects.equals(this.attractions, bookingSupplierDetails.attractions) &&
Objects.equals(this.places, bookingSupplierDetails.places) &&
Objects.equals(this.roomTypeAncillaries, bookingSupplierDetails.roomTypeAncillaries) &&
Objects.equals(this.hasBreakfast, bookingSupplierDetails.hasBreakfast) &&
Objects.equals(this.hasBrunch, bookingSupplierDetails.hasBrunch) &&
Objects.equals(this.hasLunch, bookingSupplierDetails.hasLunch) &&
Objects.equals(this.hasDinner, bookingSupplierDetails.hasDinner) &&
Objects.equals(this.hasAllInclusive, bookingSupplierDetails.hasAllInclusive) &&
Objects.equals(this.hasAllInclusivePlusAlcohol, bookingSupplierDetails.hasAllInclusivePlusAlcohol) &&
Objects.equals(this.rateSource, bookingSupplierDetails.rateSource);
}
@Override
public int hashCode() {
return Objects.hash(creation, date, groupIdentifier, identifier, engineConfiguration, bookingCode, user, userSession, serverUrl, contactInfo, address, socials, review, emailHeaderLogoUrl, logoIdentifier, hotel, roomStay, specialRequests, comment, earlyCheckInCharge, lateCheckOutCharge, earlyCheckInChargePercent, lateCheckOutChargePercent, hotelImageUrl, roomImageUrl, commissionList, ancillaryList, bookingContract, staticMapImageUrl, staticMapUrl, restaurants, hasRoomTypeAncillaries, hasFood, hasRestaurants, hasMeetingRooms, hasSpas, hasActivities, hasAttractions, hasPlaces, reportingDailyRateList, reportingAncillaryList, reportingExtraChargeList, status, cancellableBySupplier, cancellableByTraveler, hasAddOns, fullAddress, addOns, spas, meetingRooms, activities, attractions, places, roomTypeAncillaries, hasBreakfast, hasBrunch, hasLunch, hasDinner, hasAllInclusive, hasAllInclusivePlusAlcohol, rateSource);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BookingSupplierDetails {\n");
sb.append(" creation: ").append(toIndentedString(creation)).append("\n");
sb.append(" date: ").append(toIndentedString(date)).append("\n");
sb.append(" groupIdentifier: ").append(toIndentedString(groupIdentifier)).append("\n");
sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n");
sb.append(" engineConfiguration: ").append(toIndentedString(engineConfiguration)).append("\n");
sb.append(" bookingCode: ").append(toIndentedString(bookingCode)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" userSession: ").append(toIndentedString(userSession)).append("\n");
sb.append(" serverUrl: ").append(toIndentedString(serverUrl)).append("\n");
sb.append(" contactInfo: ").append(toIndentedString(contactInfo)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" socials: ").append(toIndentedString(socials)).append("\n");
sb.append(" review: ").append(toIndentedString(review)).append("\n");
sb.append(" emailHeaderLogoUrl: ").append(toIndentedString(emailHeaderLogoUrl)).append("\n");
sb.append(" logoIdentifier: ").append(toIndentedString(logoIdentifier)).append("\n");
sb.append(" hotel: ").append(toIndentedString(hotel)).append("\n");
sb.append(" roomStay: ").append(toIndentedString(roomStay)).append("\n");
sb.append(" specialRequests: ").append(toIndentedString(specialRequests)).append("\n");
sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
sb.append(" earlyCheckInCharge: ").append(toIndentedString(earlyCheckInCharge)).append("\n");
sb.append(" lateCheckOutCharge: ").append(toIndentedString(lateCheckOutCharge)).append("\n");
sb.append(" earlyCheckInChargePercent: ").append(toIndentedString(earlyCheckInChargePercent)).append("\n");
sb.append(" lateCheckOutChargePercent: ").append(toIndentedString(lateCheckOutChargePercent)).append("\n");
sb.append(" hotelImageUrl: ").append(toIndentedString(hotelImageUrl)).append("\n");
sb.append(" roomImageUrl: ").append(toIndentedString(roomImageUrl)).append("\n");
sb.append(" commissionList: ").append(toIndentedString(commissionList)).append("\n");
sb.append(" ancillaryList: ").append(toIndentedString(ancillaryList)).append("\n");
sb.append(" bookingContract: ").append(toIndentedString(bookingContract)).append("\n");
sb.append(" staticMapImageUrl: ").append(toIndentedString(staticMapImageUrl)).append("\n");
sb.append(" staticMapUrl: ").append(toIndentedString(staticMapUrl)).append("\n");
sb.append(" restaurants: ").append(toIndentedString(restaurants)).append("\n");
sb.append(" hasRoomTypeAncillaries: ").append(toIndentedString(hasRoomTypeAncillaries)).append("\n");
sb.append(" hasFood: ").append(toIndentedString(hasFood)).append("\n");
sb.append(" hasRestaurants: ").append(toIndentedString(hasRestaurants)).append("\n");
sb.append(" hasMeetingRooms: ").append(toIndentedString(hasMeetingRooms)).append("\n");
sb.append(" hasSpas: ").append(toIndentedString(hasSpas)).append("\n");
sb.append(" hasActivities: ").append(toIndentedString(hasActivities)).append("\n");
sb.append(" hasAttractions: ").append(toIndentedString(hasAttractions)).append("\n");
sb.append(" hasPlaces: ").append(toIndentedString(hasPlaces)).append("\n");
sb.append(" reportingDailyRateList: ").append(toIndentedString(reportingDailyRateList)).append("\n");
sb.append(" reportingAncillaryList: ").append(toIndentedString(reportingAncillaryList)).append("\n");
sb.append(" reportingExtraChargeList: ").append(toIndentedString(reportingExtraChargeList)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" cancellableBySupplier: ").append(toIndentedString(cancellableBySupplier)).append("\n");
sb.append(" cancellableByTraveler: ").append(toIndentedString(cancellableByTraveler)).append("\n");
sb.append(" hasAddOns: ").append(toIndentedString(hasAddOns)).append("\n");
sb.append(" fullAddress: ").append(toIndentedString(fullAddress)).append("\n");
sb.append(" addOns: ").append(toIndentedString(addOns)).append("\n");
sb.append(" spas: ").append(toIndentedString(spas)).append("\n");
sb.append(" meetingRooms: ").append(toIndentedString(meetingRooms)).append("\n");
sb.append(" activities: ").append(toIndentedString(activities)).append("\n");
sb.append(" attractions: ").append(toIndentedString(attractions)).append("\n");
sb.append(" places: ").append(toIndentedString(places)).append("\n");
sb.append(" roomTypeAncillaries: ").append(toIndentedString(roomTypeAncillaries)).append("\n");
sb.append(" hasBreakfast: ").append(toIndentedString(hasBreakfast)).append("\n");
sb.append(" hasBrunch: ").append(toIndentedString(hasBrunch)).append("\n");
sb.append(" hasLunch: ").append(toIndentedString(hasLunch)).append("\n");
sb.append(" hasDinner: ").append(toIndentedString(hasDinner)).append("\n");
sb.append(" hasAllInclusive: ").append(toIndentedString(hasAllInclusive)).append("\n");
sb.append(" hasAllInclusivePlusAlcohol: ").append(toIndentedString(hasAllInclusivePlusAlcohol)).append("\n");
sb.append(" rateSource: ").append(toIndentedString(rateSource)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy