All Downloads are FREE. Search and download functionalities are using the official Maven repository.

travel.wink.sdk.extranet.booking.model.RatePlanSupplier Maven / Gradle / Ivy

There is a newer version: 30.5.15
Show newest version
/*
 * Wink API
 *  # Introduction  Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels.  Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways.   # Integrations  We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. 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.   # 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   ## APIs  Not every integrator needs every API. For that reason, we have separated APIs into context.  ### Test API   - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink.  ### Common APIs  - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink.  ### Consume APIs Consume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts.   - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine.  - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags.  - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API..  - [Booking](/booking): All APIs related to creating bookings on the platform.  - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings.   ### Produce APIs  Produce endpoints are for developers who want to create and manage travel inventory.   #### Property  - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink.  - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties.  - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types.  - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities.  - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink.  - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink.  - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level.   #### Affiliate  - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts.  - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell.  - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it.  - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones.  - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page.   #### Rate provider  - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties.   ### Taxonomy APIs  Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc.   - [Reference](/reference): All APIs related to retrieving platform-supported taxonomies.   ### Insight APIs  Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers.   - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics.   ### Payment APIs  Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant payment widget for all other entities.   - [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 minimally. 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  - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md   # Extranet Booking API The Booking API exposes endpoints to manage bookings. This API lets you:  1. Booking: Manage bookings including cancellations. 2. Review: Manage user reviews. 3. Sync w. Calendar: Manage calendar sync with your favorite calendar software  Browse the endpoints in the left navigation bar to get started.  
 *
 * The version of the OpenAPI document: 30.5.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.booking.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.LocalDate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import travel.wink.sdk.extranet.booking.model.CancellationPolicyExceptionsSupplier;
import travel.wink.sdk.extranet.booking.model.CancellationPolicySupplier;
import travel.wink.sdk.extranet.booking.model.DowPatternGroupSupplier;
import travel.wink.sdk.extranet.booking.model.RatePlanLevelFeeSupplier;
import travel.wink.sdk.extranet.booking.model.VariableChargeSupplier;
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.*;

/**
 * Rate plan used for this stay
 */
@JsonPropertyOrder({
  RatePlanSupplier.JSON_PROPERTY_IDENTIFIER,
  RatePlanSupplier.JSON_PROPERTY_HOTEL_IDENTIFIER,
  RatePlanSupplier.JSON_PROPERTY_NAME,
  RatePlanSupplier.JSON_PROPERTY_PREPAID,
  RatePlanSupplier.JSON_PROPERTY_ENABLED,
  RatePlanSupplier.JSON_PROPERTY_BREAKFAST,
  RatePlanSupplier.JSON_PROPERTY_BRUNCH,
  RatePlanSupplier.JSON_PROPERTY_LUNCH,
  RatePlanSupplier.JSON_PROPERTY_DINNER,
  RatePlanSupplier.JSON_PROPERTY_ALL_INCLUSIVE,
  RatePlanSupplier.JSON_PROPERTY_ALL_INCLUSIVE_PLUS_ALCOHOL,
  RatePlanSupplier.JSON_PROPERTY_SELL_START_DATE,
  RatePlanSupplier.JSON_PROPERTY_SELL_END_DATE,
  RatePlanSupplier.JSON_PROPERTY_STAY_START_DATE,
  RatePlanSupplier.JSON_PROPERTY_STAY_END_DATE,
  RatePlanSupplier.JSON_PROPERTY_LOYALTY_POINTS_ACCRUE,
  RatePlanSupplier.JSON_PROPERTY_MAX_ADVANCE_BOOKING_OFFSET,
  RatePlanSupplier.JSON_PROPERTY_MIN_ADVANCE_BOOKING_OFFSET,
  RatePlanSupplier.JSON_PROPERTY_MIN_TOTAL_OCCUPANCY,
  RatePlanSupplier.JSON_PROPERTY_MAX_TOTAL_OCCUPANCY,
  RatePlanSupplier.JSON_PROPERTY_MIN_L_O_S,
  RatePlanSupplier.JSON_PROPERTY_MAX_L_O_S,
  RatePlanSupplier.JSON_PROPERTY_MIN_AGE,
  RatePlanSupplier.JSON_PROPERTY_MAX_AGE,
  RatePlanSupplier.JSON_PROPERTY_RATE_PLAN_LEVEL_FEES,
  RatePlanSupplier.JSON_PROPERTY_AVAILABLE_DAYS_OF_WEEK,
  RatePlanSupplier.JSON_PROPERTY_ARRIVAL_DAYS_OF_WEEK,
  RatePlanSupplier.JSON_PROPERTY_DEPARTURE_DAYS_OF_WEEK,
  RatePlanSupplier.JSON_PROPERTY_REQUIRED_DAYS_OF_WEEK,
  RatePlanSupplier.JSON_PROPERTY_EARLY_CHECK_IN_CHARGE,
  RatePlanSupplier.JSON_PROPERTY_LATE_CHECK_OUT_CHARGE,
  RatePlanSupplier.JSON_PROPERTY_CANCELLATION_POLICY_IDENTIFIER,
  RatePlanSupplier.JSON_PROPERTY_CANCELLATION_POLICY,
  RatePlanSupplier.JSON_PROPERTY_CANCELLATION_POLICY_EXCEPTIONS,
  RatePlanSupplier.JSON_PROPERTY_SINGLE_OCCUPANCY_RATE_MODIFIER,
  RatePlanSupplier.JSON_PROPERTY_EXTRA_PAX_RATE_MODIFIER,
  RatePlanSupplier.JSON_PROPERTY_EXTRA_CHILD_RATE_MODIFIER
})
@JsonTypeName("RatePlan_Supplier")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-15T11:57:35.099051089+07:00[Asia/Bangkok]")
public class RatePlanSupplier {
  public static final String JSON_PROPERTY_IDENTIFIER = "identifier";
  private UUID identifier;

  public static final String JSON_PROPERTY_HOTEL_IDENTIFIER = "hotelIdentifier";
  private UUID hotelIdentifier;

  public static final String JSON_PROPERTY_NAME = "name";
  private String name;

  public static final String JSON_PROPERTY_PREPAID = "prepaid";
  private Boolean prepaid = false;

  public static final String JSON_PROPERTY_ENABLED = "enabled";
  private Boolean enabled = false;

  public static final String JSON_PROPERTY_BREAKFAST = "breakfast";
  private Boolean breakfast = false;

  public static final String JSON_PROPERTY_BRUNCH = "brunch";
  private Boolean brunch = false;

  public static final String JSON_PROPERTY_LUNCH = "lunch";
  private Boolean lunch = false;

  public static final String JSON_PROPERTY_DINNER = "dinner";
  private Boolean dinner = false;

  public static final String JSON_PROPERTY_ALL_INCLUSIVE = "allInclusive";
  private Boolean allInclusive = false;

  public static final String JSON_PROPERTY_ALL_INCLUSIVE_PLUS_ALCOHOL = "allInclusivePlusAlcohol";
  private Boolean allInclusivePlusAlcohol = false;

  public static final String JSON_PROPERTY_SELL_START_DATE = "sellStartDate";
  private LocalDate sellStartDate;

  public static final String JSON_PROPERTY_SELL_END_DATE = "sellEndDate";
  private LocalDate sellEndDate;

  public static final String JSON_PROPERTY_STAY_START_DATE = "stayStartDate";
  private LocalDate stayStartDate;

  public static final String JSON_PROPERTY_STAY_END_DATE = "stayEndDate";
  private LocalDate stayEndDate;

  public static final String JSON_PROPERTY_LOYALTY_POINTS_ACCRUE = "loyaltyPointsAccrue";
  private Boolean loyaltyPointsAccrue = false;

  public static final String JSON_PROPERTY_MAX_ADVANCE_BOOKING_OFFSET = "maxAdvanceBookingOffset";
  private Integer maxAdvanceBookingOffset;

  public static final String JSON_PROPERTY_MIN_ADVANCE_BOOKING_OFFSET = "minAdvanceBookingOffset";
  private Integer minAdvanceBookingOffset;

  public static final String JSON_PROPERTY_MIN_TOTAL_OCCUPANCY = "minTotalOccupancy";
  private Integer minTotalOccupancy;

  public static final String JSON_PROPERTY_MAX_TOTAL_OCCUPANCY = "maxTotalOccupancy";
  private Integer maxTotalOccupancy;

  public static final String JSON_PROPERTY_MIN_L_O_S = "minLOS";
  private Integer minLOS;

  public static final String JSON_PROPERTY_MAX_L_O_S = "maxLOS";
  private Integer maxLOS;

  public static final String JSON_PROPERTY_MIN_AGE = "minAge";
  private Integer minAge;

  public static final String JSON_PROPERTY_MAX_AGE = "maxAge";
  private Integer maxAge;

  public static final String JSON_PROPERTY_RATE_PLAN_LEVEL_FEES = "ratePlanLevelFees";
  private List ratePlanLevelFees;

  public static final String JSON_PROPERTY_AVAILABLE_DAYS_OF_WEEK = "availableDaysOfWeek";
  private DowPatternGroupSupplier availableDaysOfWeek;

  public static final String JSON_PROPERTY_ARRIVAL_DAYS_OF_WEEK = "arrivalDaysOfWeek";
  private DowPatternGroupSupplier arrivalDaysOfWeek;

  public static final String JSON_PROPERTY_DEPARTURE_DAYS_OF_WEEK = "departureDaysOfWeek";
  private DowPatternGroupSupplier departureDaysOfWeek;

  public static final String JSON_PROPERTY_REQUIRED_DAYS_OF_WEEK = "requiredDaysOfWeek";
  private DowPatternGroupSupplier requiredDaysOfWeek;

  public static final String JSON_PROPERTY_EARLY_CHECK_IN_CHARGE = "earlyCheckInCharge";
  private VariableChargeSupplier earlyCheckInCharge;

  public static final String JSON_PROPERTY_LATE_CHECK_OUT_CHARGE = "lateCheckOutCharge";
  private VariableChargeSupplier lateCheckOutCharge;

  public static final String JSON_PROPERTY_CANCELLATION_POLICY_IDENTIFIER = "cancellationPolicyIdentifier";
  private String cancellationPolicyIdentifier;

  public static final String JSON_PROPERTY_CANCELLATION_POLICY = "cancellationPolicy";
  private CancellationPolicySupplier cancellationPolicy;

  public static final String JSON_PROPERTY_CANCELLATION_POLICY_EXCEPTIONS = "cancellationPolicyExceptions";
  private CancellationPolicyExceptionsSupplier cancellationPolicyExceptions;

  public static final String JSON_PROPERTY_SINGLE_OCCUPANCY_RATE_MODIFIER = "singleOccupancyRateModifier";
  private VariableChargeSupplier singleOccupancyRateModifier;

  public static final String JSON_PROPERTY_EXTRA_PAX_RATE_MODIFIER = "extraPaxRateModifier";
  private VariableChargeSupplier extraPaxRateModifier;

  public static final String JSON_PROPERTY_EXTRA_CHILD_RATE_MODIFIER = "extraChildRateModifier";
  private VariableChargeSupplier extraChildRateModifier;

  public RatePlanSupplier() {
  }

  public RatePlanSupplier identifier(UUID identifier) {
    
    this.identifier = identifier;
    return this;
  }

   /**
   * Rate plan 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 RatePlanSupplier hotelIdentifier(UUID hotelIdentifier) {
    
    this.hotelIdentifier = hotelIdentifier;
    return this;
  }

   /**
   * Hotel Identifier
   * @return hotelIdentifier
  **/
  @jakarta.annotation.Nonnull
  @NotNull
  @Valid

  @JsonProperty(JSON_PROPERTY_HOTEL_IDENTIFIER)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public UUID getHotelIdentifier() {
    return hotelIdentifier;
  }


  @JsonProperty(JSON_PROPERTY_HOTEL_IDENTIFIER)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setHotelIdentifier(UUID hotelIdentifier) {
    this.hotelIdentifier = hotelIdentifier;
  }


  public RatePlanSupplier name(String name) {
    
    this.name = name;
    return this;
  }

   /**
   * Provides the name of the rate plan.
   * @return name
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_NAME)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public String getName() {
    return name;
  }


  @JsonProperty(JSON_PROPERTY_NAME)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setName(String name) {
    this.name = name;
  }


  public RatePlanSupplier prepaid(Boolean prepaid) {
    
    this.prepaid = prepaid;
    return this;
  }

   /**
   * When true, indicates if the rate is a prepaid rate.
   * @return prepaid
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_PREPAID)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getPrepaid() {
    return prepaid;
  }


  @JsonProperty(JSON_PROPERTY_PREPAID)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setPrepaid(Boolean prepaid) {
    this.prepaid = prepaid;
  }


  public RatePlanSupplier enabled(Boolean enabled) {
    
    this.enabled = enabled;
    return this;
  }

   /**
   * Whether rate plan is active or not.
   * @return enabled
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_ENABLED)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getEnabled() {
    return enabled;
  }


  @JsonProperty(JSON_PROPERTY_ENABLED)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setEnabled(Boolean enabled) {
    this.enabled = enabled;
  }


  public RatePlanSupplier breakfast(Boolean breakfast) {
    
    this.breakfast = breakfast;
    return this;
  }

   /**
   * When true, indicates breakfast is included.
   * @return breakfast
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_BREAKFAST)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getBreakfast() {
    return breakfast;
  }


  @JsonProperty(JSON_PROPERTY_BREAKFAST)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setBreakfast(Boolean breakfast) {
    this.breakfast = breakfast;
  }


  public RatePlanSupplier brunch(Boolean brunch) {
    
    this.brunch = brunch;
    return this;
  }

   /**
   * When true, indicates brunch is included.
   * @return brunch
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_BRUNCH)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getBrunch() {
    return brunch;
  }


  @JsonProperty(JSON_PROPERTY_BRUNCH)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setBrunch(Boolean brunch) {
    this.brunch = brunch;
  }


  public RatePlanSupplier lunch(Boolean lunch) {
    
    this.lunch = lunch;
    return this;
  }

   /**
   * When true, indicates lunch is included.
   * @return lunch
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_LUNCH)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getLunch() {
    return lunch;
  }


  @JsonProperty(JSON_PROPERTY_LUNCH)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setLunch(Boolean lunch) {
    this.lunch = lunch;
  }


  public RatePlanSupplier dinner(Boolean dinner) {
    
    this.dinner = dinner;
    return this;
  }

   /**
   * When true, indicates dinner is included.
   * @return dinner
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_DINNER)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getDinner() {
    return dinner;
  }


  @JsonProperty(JSON_PROPERTY_DINNER)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setDinner(Boolean dinner) {
    this.dinner = dinner;
  }


  public RatePlanSupplier allInclusive(Boolean allInclusive) {
    
    this.allInclusive = allInclusive;
    return this;
  }

   /**
   * Everything included except alcohol
   * @return allInclusive
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_ALL_INCLUSIVE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getAllInclusive() {
    return allInclusive;
  }


  @JsonProperty(JSON_PROPERTY_ALL_INCLUSIVE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setAllInclusive(Boolean allInclusive) {
    this.allInclusive = allInclusive;
  }


  public RatePlanSupplier allInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) {
    
    this.allInclusivePlusAlcohol = allInclusivePlusAlcohol;
    return this;
  }

   /**
   * Everything included with alcohol
   * @return allInclusivePlusAlcohol
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_ALL_INCLUSIVE_PLUS_ALCOHOL)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getAllInclusivePlusAlcohol() {
    return allInclusivePlusAlcohol;
  }


  @JsonProperty(JSON_PROPERTY_ALL_INCLUSIVE_PLUS_ALCOHOL)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setAllInclusivePlusAlcohol(Boolean allInclusivePlusAlcohol) {
    this.allInclusivePlusAlcohol = allInclusivePlusAlcohol;
  }


  public RatePlanSupplier sellStartDate(LocalDate sellStartDate) {
    
    this.sellStartDate = sellStartDate;
    return this;
  }

   /**
   * Set a start date for when to start selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.
   * @return sellStartDate
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_SELL_START_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public LocalDate getSellStartDate() {
    return sellStartDate;
  }


  @JsonProperty(JSON_PROPERTY_SELL_START_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSellStartDate(LocalDate sellStartDate) {
    this.sellStartDate = sellStartDate;
  }


  public RatePlanSupplier sellEndDate(LocalDate sellEndDate) {
    
    this.sellEndDate = sellEndDate;
    return this;
  }

   /**
   * Set an end date for when to finish selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.
   * @return sellEndDate
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_SELL_END_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public LocalDate getSellEndDate() {
    return sellEndDate;
  }


  @JsonProperty(JSON_PROPERTY_SELL_END_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSellEndDate(LocalDate sellEndDate) {
    this.sellEndDate = sellEndDate;
  }


  public RatePlanSupplier stayStartDate(LocalDate stayStartDate) {
    
    this.stayStartDate = stayStartDate;
    return this;
  }

   /**
   * Set a start date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.
   * @return stayStartDate
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_STAY_START_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public LocalDate getStayStartDate() {
    return stayStartDate;
  }


  @JsonProperty(JSON_PROPERTY_STAY_START_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setStayStartDate(LocalDate stayStartDate) {
    this.stayStartDate = stayStartDate;
  }


  public RatePlanSupplier stayEndDate(LocalDate stayEndDate) {
    
    this.stayEndDate = stayEndDate;
    return this;
  }

   /**
   * Set an end date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.
   * @return stayEndDate
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_STAY_END_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public LocalDate getStayEndDate() {
    return stayEndDate;
  }


  @JsonProperty(JSON_PROPERTY_STAY_END_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setStayEndDate(LocalDate stayEndDate) {
    this.stayEndDate = stayEndDate;
  }


  public RatePlanSupplier loyaltyPointsAccrue(Boolean loyaltyPointsAccrue) {
    
    this.loyaltyPointsAccrue = loyaltyPointsAccrue;
    return this;
  }

   /**
   * Property honors loyalty points with this rate plan.
   * @return loyaltyPointsAccrue
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_LOYALTY_POINTS_ACCRUE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getLoyaltyPointsAccrue() {
    return loyaltyPointsAccrue;
  }


  @JsonProperty(JSON_PROPERTY_LOYALTY_POINTS_ACCRUE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setLoyaltyPointsAccrue(Boolean loyaltyPointsAccrue) {
    this.loyaltyPointsAccrue = loyaltyPointsAccrue;
  }


  public RatePlanSupplier maxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) {
    
    this.maxAdvanceBookingOffset = maxAdvanceBookingOffset;
    return this;
  }

   /**
   * Maximum days before the arrival date for which this rate plan may be booked.
   * @return maxAdvanceBookingOffset
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MAX_ADVANCE_BOOKING_OFFSET)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMaxAdvanceBookingOffset() {
    return maxAdvanceBookingOffset;
  }


  @JsonProperty(JSON_PROPERTY_MAX_ADVANCE_BOOKING_OFFSET)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMaxAdvanceBookingOffset(Integer maxAdvanceBookingOffset) {
    this.maxAdvanceBookingOffset = maxAdvanceBookingOffset;
  }


  public RatePlanSupplier minAdvanceBookingOffset(Integer minAdvanceBookingOffset) {
    
    this.minAdvanceBookingOffset = minAdvanceBookingOffset;
    return this;
  }

   /**
   * Minimum days before the arrival date for which this rate plan may be booked.
   * @return minAdvanceBookingOffset
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MIN_ADVANCE_BOOKING_OFFSET)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMinAdvanceBookingOffset() {
    return minAdvanceBookingOffset;
  }


  @JsonProperty(JSON_PROPERTY_MIN_ADVANCE_BOOKING_OFFSET)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMinAdvanceBookingOffset(Integer minAdvanceBookingOffset) {
    this.minAdvanceBookingOffset = minAdvanceBookingOffset;
  }


  public RatePlanSupplier minTotalOccupancy(Integer minTotalOccupancy) {
    
    this.minTotalOccupancy = minTotalOccupancy;
    return this;
  }

   /**
   * Defines the minimum number of total occupants required for this rate plan.
   * @return minTotalOccupancy
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MIN_TOTAL_OCCUPANCY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMinTotalOccupancy() {
    return minTotalOccupancy;
  }


  @JsonProperty(JSON_PROPERTY_MIN_TOTAL_OCCUPANCY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMinTotalOccupancy(Integer minTotalOccupancy) {
    this.minTotalOccupancy = minTotalOccupancy;
  }


  public RatePlanSupplier maxTotalOccupancy(Integer maxTotalOccupancy) {
    
    this.maxTotalOccupancy = maxTotalOccupancy;
    return this;
  }

   /**
   * Defines the maximum number of total occupants required for this rate plan.
   * @return maxTotalOccupancy
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MAX_TOTAL_OCCUPANCY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMaxTotalOccupancy() {
    return maxTotalOccupancy;
  }


  @JsonProperty(JSON_PROPERTY_MAX_TOTAL_OCCUPANCY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMaxTotalOccupancy(Integer maxTotalOccupancy) {
    this.maxTotalOccupancy = maxTotalOccupancy;
  }


  public RatePlanSupplier minLOS(Integer minLOS) {
    
    this.minLOS = minLOS;
    return this;
  }

   /**
   * Indicates the minimum length of stay required for this rate plan.
   * @return minLOS
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MIN_L_O_S)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMinLOS() {
    return minLOS;
  }


  @JsonProperty(JSON_PROPERTY_MIN_L_O_S)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMinLOS(Integer minLOS) {
    this.minLOS = minLOS;
  }


  public RatePlanSupplier maxLOS(Integer maxLOS) {
    
    this.maxLOS = maxLOS;
    return this;
  }

   /**
   * Indicates the maximum length of stay.
   * @return maxLOS
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MAX_L_O_S)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMaxLOS() {
    return maxLOS;
  }


  @JsonProperty(JSON_PROPERTY_MAX_L_O_S)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMaxLOS(Integer maxLOS) {
    this.maxLOS = maxLOS;
  }


  public RatePlanSupplier minAge(Integer minAge) {
    
    this.minAge = minAge;
    return this;
  }

   /**
   * The minimum age to qualify for this rate plan.
   * @return minAge
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MIN_AGE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMinAge() {
    return minAge;
  }


  @JsonProperty(JSON_PROPERTY_MIN_AGE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMinAge(Integer minAge) {
    this.minAge = minAge;
  }


  public RatePlanSupplier maxAge(Integer maxAge) {
    
    this.maxAge = maxAge;
    return this;
  }

   /**
   * The maximum age to qualify for this rate plan.
   * @return maxAge
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_MAX_AGE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getMaxAge() {
    return maxAge;
  }


  @JsonProperty(JSON_PROPERTY_MAX_AGE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMaxAge(Integer maxAge) {
    this.maxAge = maxAge;
  }


  public RatePlanSupplier ratePlanLevelFees(List ratePlanLevelFees) {
    
    this.ratePlanLevelFees = ratePlanLevelFees;
    return this;
  }

  public RatePlanSupplier addRatePlanLevelFeesItem(RatePlanLevelFeeSupplier ratePlanLevelFeesItem) {
    if (this.ratePlanLevelFees == null) {
      this.ratePlanLevelFees = new ArrayList<>();
    }
    this.ratePlanLevelFees.add(ratePlanLevelFeesItem);
    return this;
  }

   /**
   * This can be a one-time fee such as a cleaning fee
   * @return ratePlanLevelFees
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_RATE_PLAN_LEVEL_FEES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public List getRatePlanLevelFees() {
    return ratePlanLevelFees;
  }


  @JsonProperty(JSON_PROPERTY_RATE_PLAN_LEVEL_FEES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setRatePlanLevelFees(List ratePlanLevelFees) {
    this.ratePlanLevelFees = ratePlanLevelFees;
  }


  public RatePlanSupplier availableDaysOfWeek(DowPatternGroupSupplier availableDaysOfWeek) {
    
    this.availableDaysOfWeek = availableDaysOfWeek;
    return this;
  }

   /**
   * Get availableDaysOfWeek
   * @return availableDaysOfWeek
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_AVAILABLE_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DowPatternGroupSupplier getAvailableDaysOfWeek() {
    return availableDaysOfWeek;
  }


  @JsonProperty(JSON_PROPERTY_AVAILABLE_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAvailableDaysOfWeek(DowPatternGroupSupplier availableDaysOfWeek) {
    this.availableDaysOfWeek = availableDaysOfWeek;
  }


  public RatePlanSupplier arrivalDaysOfWeek(DowPatternGroupSupplier arrivalDaysOfWeek) {
    
    this.arrivalDaysOfWeek = arrivalDaysOfWeek;
    return this;
  }

   /**
   * Get arrivalDaysOfWeek
   * @return arrivalDaysOfWeek
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_ARRIVAL_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DowPatternGroupSupplier getArrivalDaysOfWeek() {
    return arrivalDaysOfWeek;
  }


  @JsonProperty(JSON_PROPERTY_ARRIVAL_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setArrivalDaysOfWeek(DowPatternGroupSupplier arrivalDaysOfWeek) {
    this.arrivalDaysOfWeek = arrivalDaysOfWeek;
  }


  public RatePlanSupplier departureDaysOfWeek(DowPatternGroupSupplier departureDaysOfWeek) {
    
    this.departureDaysOfWeek = departureDaysOfWeek;
    return this;
  }

   /**
   * Get departureDaysOfWeek
   * @return departureDaysOfWeek
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_DEPARTURE_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DowPatternGroupSupplier getDepartureDaysOfWeek() {
    return departureDaysOfWeek;
  }


  @JsonProperty(JSON_PROPERTY_DEPARTURE_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDepartureDaysOfWeek(DowPatternGroupSupplier departureDaysOfWeek) {
    this.departureDaysOfWeek = departureDaysOfWeek;
  }


  public RatePlanSupplier requiredDaysOfWeek(DowPatternGroupSupplier requiredDaysOfWeek) {
    
    this.requiredDaysOfWeek = requiredDaysOfWeek;
    return this;
  }

   /**
   * Get requiredDaysOfWeek
   * @return requiredDaysOfWeek
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_REQUIRED_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DowPatternGroupSupplier getRequiredDaysOfWeek() {
    return requiredDaysOfWeek;
  }


  @JsonProperty(JSON_PROPERTY_REQUIRED_DAYS_OF_WEEK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setRequiredDaysOfWeek(DowPatternGroupSupplier requiredDaysOfWeek) {
    this.requiredDaysOfWeek = requiredDaysOfWeek;
  }


  public RatePlanSupplier earlyCheckInCharge(VariableChargeSupplier 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 VariableChargeSupplier getEarlyCheckInCharge() {
    return earlyCheckInCharge;
  }


  @JsonProperty(JSON_PROPERTY_EARLY_CHECK_IN_CHARGE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setEarlyCheckInCharge(VariableChargeSupplier earlyCheckInCharge) {
    this.earlyCheckInCharge = earlyCheckInCharge;
  }


  public RatePlanSupplier lateCheckOutCharge(VariableChargeSupplier 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 VariableChargeSupplier getLateCheckOutCharge() {
    return lateCheckOutCharge;
  }


  @JsonProperty(JSON_PROPERTY_LATE_CHECK_OUT_CHARGE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setLateCheckOutCharge(VariableChargeSupplier lateCheckOutCharge) {
    this.lateCheckOutCharge = lateCheckOutCharge;
  }


  public RatePlanSupplier cancellationPolicyIdentifier(String cancellationPolicyIdentifier) {
    
    this.cancellationPolicyIdentifier = cancellationPolicyIdentifier;
    return this;
  }

   /**
   * The cancellation policy for this rate plan.
   * @return cancellationPolicyIdentifier
  **/
  @jakarta.annotation.Nonnull
  @NotNull

  @JsonProperty(JSON_PROPERTY_CANCELLATION_POLICY_IDENTIFIER)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public String getCancellationPolicyIdentifier() {
    return cancellationPolicyIdentifier;
  }


  @JsonProperty(JSON_PROPERTY_CANCELLATION_POLICY_IDENTIFIER)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setCancellationPolicyIdentifier(String cancellationPolicyIdentifier) {
    this.cancellationPolicyIdentifier = cancellationPolicyIdentifier;
  }


  public RatePlanSupplier cancellationPolicy(CancellationPolicySupplier cancellationPolicy) {
    
    this.cancellationPolicy = cancellationPolicy;
    return this;
  }

   /**
   * Get cancellationPolicy
   * @return cancellationPolicy
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_CANCELLATION_POLICY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public CancellationPolicySupplier getCancellationPolicy() {
    return cancellationPolicy;
  }


  @JsonProperty(JSON_PROPERTY_CANCELLATION_POLICY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setCancellationPolicy(CancellationPolicySupplier cancellationPolicy) {
    this.cancellationPolicy = cancellationPolicy;
  }


  public RatePlanSupplier cancellationPolicyExceptions(CancellationPolicyExceptionsSupplier cancellationPolicyExceptions) {
    
    this.cancellationPolicyExceptions = cancellationPolicyExceptions;
    return this;
  }

   /**
   * Get cancellationPolicyExceptions
   * @return cancellationPolicyExceptions
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_CANCELLATION_POLICY_EXCEPTIONS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public CancellationPolicyExceptionsSupplier getCancellationPolicyExceptions() {
    return cancellationPolicyExceptions;
  }


  @JsonProperty(JSON_PROPERTY_CANCELLATION_POLICY_EXCEPTIONS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setCancellationPolicyExceptions(CancellationPolicyExceptionsSupplier cancellationPolicyExceptions) {
    this.cancellationPolicyExceptions = cancellationPolicyExceptions;
  }


  public RatePlanSupplier singleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) {
    
    this.singleOccupancyRateModifier = singleOccupancyRateModifier;
    return this;
  }

   /**
   * Get singleOccupancyRateModifier
   * @return singleOccupancyRateModifier
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_SINGLE_OCCUPANCY_RATE_MODIFIER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public VariableChargeSupplier getSingleOccupancyRateModifier() {
    return singleOccupancyRateModifier;
  }


  @JsonProperty(JSON_PROPERTY_SINGLE_OCCUPANCY_RATE_MODIFIER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSingleOccupancyRateModifier(VariableChargeSupplier singleOccupancyRateModifier) {
    this.singleOccupancyRateModifier = singleOccupancyRateModifier;
  }


  public RatePlanSupplier extraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) {
    
    this.extraPaxRateModifier = extraPaxRateModifier;
    return this;
  }

   /**
   * Get extraPaxRateModifier
   * @return extraPaxRateModifier
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_EXTRA_PAX_RATE_MODIFIER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public VariableChargeSupplier getExtraPaxRateModifier() {
    return extraPaxRateModifier;
  }


  @JsonProperty(JSON_PROPERTY_EXTRA_PAX_RATE_MODIFIER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setExtraPaxRateModifier(VariableChargeSupplier extraPaxRateModifier) {
    this.extraPaxRateModifier = extraPaxRateModifier;
  }


  public RatePlanSupplier extraChildRateModifier(VariableChargeSupplier extraChildRateModifier) {
    
    this.extraChildRateModifier = extraChildRateModifier;
    return this;
  }

   /**
   * Get extraChildRateModifier
   * @return extraChildRateModifier
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_EXTRA_CHILD_RATE_MODIFIER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public VariableChargeSupplier getExtraChildRateModifier() {
    return extraChildRateModifier;
  }


  @JsonProperty(JSON_PROPERTY_EXTRA_CHILD_RATE_MODIFIER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setExtraChildRateModifier(VariableChargeSupplier extraChildRateModifier) {
    this.extraChildRateModifier = extraChildRateModifier;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    RatePlanSupplier ratePlanSupplier = (RatePlanSupplier) o;
    return Objects.equals(this.identifier, ratePlanSupplier.identifier) &&
        Objects.equals(this.hotelIdentifier, ratePlanSupplier.hotelIdentifier) &&
        Objects.equals(this.name, ratePlanSupplier.name) &&
        Objects.equals(this.prepaid, ratePlanSupplier.prepaid) &&
        Objects.equals(this.enabled, ratePlanSupplier.enabled) &&
        Objects.equals(this.breakfast, ratePlanSupplier.breakfast) &&
        Objects.equals(this.brunch, ratePlanSupplier.brunch) &&
        Objects.equals(this.lunch, ratePlanSupplier.lunch) &&
        Objects.equals(this.dinner, ratePlanSupplier.dinner) &&
        Objects.equals(this.allInclusive, ratePlanSupplier.allInclusive) &&
        Objects.equals(this.allInclusivePlusAlcohol, ratePlanSupplier.allInclusivePlusAlcohol) &&
        Objects.equals(this.sellStartDate, ratePlanSupplier.sellStartDate) &&
        Objects.equals(this.sellEndDate, ratePlanSupplier.sellEndDate) &&
        Objects.equals(this.stayStartDate, ratePlanSupplier.stayStartDate) &&
        Objects.equals(this.stayEndDate, ratePlanSupplier.stayEndDate) &&
        Objects.equals(this.loyaltyPointsAccrue, ratePlanSupplier.loyaltyPointsAccrue) &&
        Objects.equals(this.maxAdvanceBookingOffset, ratePlanSupplier.maxAdvanceBookingOffset) &&
        Objects.equals(this.minAdvanceBookingOffset, ratePlanSupplier.minAdvanceBookingOffset) &&
        Objects.equals(this.minTotalOccupancy, ratePlanSupplier.minTotalOccupancy) &&
        Objects.equals(this.maxTotalOccupancy, ratePlanSupplier.maxTotalOccupancy) &&
        Objects.equals(this.minLOS, ratePlanSupplier.minLOS) &&
        Objects.equals(this.maxLOS, ratePlanSupplier.maxLOS) &&
        Objects.equals(this.minAge, ratePlanSupplier.minAge) &&
        Objects.equals(this.maxAge, ratePlanSupplier.maxAge) &&
        Objects.equals(this.ratePlanLevelFees, ratePlanSupplier.ratePlanLevelFees) &&
        Objects.equals(this.availableDaysOfWeek, ratePlanSupplier.availableDaysOfWeek) &&
        Objects.equals(this.arrivalDaysOfWeek, ratePlanSupplier.arrivalDaysOfWeek) &&
        Objects.equals(this.departureDaysOfWeek, ratePlanSupplier.departureDaysOfWeek) &&
        Objects.equals(this.requiredDaysOfWeek, ratePlanSupplier.requiredDaysOfWeek) &&
        Objects.equals(this.earlyCheckInCharge, ratePlanSupplier.earlyCheckInCharge) &&
        Objects.equals(this.lateCheckOutCharge, ratePlanSupplier.lateCheckOutCharge) &&
        Objects.equals(this.cancellationPolicyIdentifier, ratePlanSupplier.cancellationPolicyIdentifier) &&
        Objects.equals(this.cancellationPolicy, ratePlanSupplier.cancellationPolicy) &&
        Objects.equals(this.cancellationPolicyExceptions, ratePlanSupplier.cancellationPolicyExceptions) &&
        Objects.equals(this.singleOccupancyRateModifier, ratePlanSupplier.singleOccupancyRateModifier) &&
        Objects.equals(this.extraPaxRateModifier, ratePlanSupplier.extraPaxRateModifier) &&
        Objects.equals(this.extraChildRateModifier, ratePlanSupplier.extraChildRateModifier);
  }

  @Override
  public int hashCode() {
    return Objects.hash(identifier, hotelIdentifier, name, prepaid, enabled, breakfast, brunch, lunch, dinner, allInclusive, allInclusivePlusAlcohol, sellStartDate, sellEndDate, stayStartDate, stayEndDate, loyaltyPointsAccrue, maxAdvanceBookingOffset, minAdvanceBookingOffset, minTotalOccupancy, maxTotalOccupancy, minLOS, maxLOS, minAge, maxAge, ratePlanLevelFees, availableDaysOfWeek, arrivalDaysOfWeek, departureDaysOfWeek, requiredDaysOfWeek, earlyCheckInCharge, lateCheckOutCharge, cancellationPolicyIdentifier, cancellationPolicy, cancellationPolicyExceptions, singleOccupancyRateModifier, extraPaxRateModifier, extraChildRateModifier);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class RatePlanSupplier {\n");
    sb.append("    identifier: ").append(toIndentedString(identifier)).append("\n");
    sb.append("    hotelIdentifier: ").append(toIndentedString(hotelIdentifier)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    prepaid: ").append(toIndentedString(prepaid)).append("\n");
    sb.append("    enabled: ").append(toIndentedString(enabled)).append("\n");
    sb.append("    breakfast: ").append(toIndentedString(breakfast)).append("\n");
    sb.append("    brunch: ").append(toIndentedString(brunch)).append("\n");
    sb.append("    lunch: ").append(toIndentedString(lunch)).append("\n");
    sb.append("    dinner: ").append(toIndentedString(dinner)).append("\n");
    sb.append("    allInclusive: ").append(toIndentedString(allInclusive)).append("\n");
    sb.append("    allInclusivePlusAlcohol: ").append(toIndentedString(allInclusivePlusAlcohol)).append("\n");
    sb.append("    sellStartDate: ").append(toIndentedString(sellStartDate)).append("\n");
    sb.append("    sellEndDate: ").append(toIndentedString(sellEndDate)).append("\n");
    sb.append("    stayStartDate: ").append(toIndentedString(stayStartDate)).append("\n");
    sb.append("    stayEndDate: ").append(toIndentedString(stayEndDate)).append("\n");
    sb.append("    loyaltyPointsAccrue: ").append(toIndentedString(loyaltyPointsAccrue)).append("\n");
    sb.append("    maxAdvanceBookingOffset: ").append(toIndentedString(maxAdvanceBookingOffset)).append("\n");
    sb.append("    minAdvanceBookingOffset: ").append(toIndentedString(minAdvanceBookingOffset)).append("\n");
    sb.append("    minTotalOccupancy: ").append(toIndentedString(minTotalOccupancy)).append("\n");
    sb.append("    maxTotalOccupancy: ").append(toIndentedString(maxTotalOccupancy)).append("\n");
    sb.append("    minLOS: ").append(toIndentedString(minLOS)).append("\n");
    sb.append("    maxLOS: ").append(toIndentedString(maxLOS)).append("\n");
    sb.append("    minAge: ").append(toIndentedString(minAge)).append("\n");
    sb.append("    maxAge: ").append(toIndentedString(maxAge)).append("\n");
    sb.append("    ratePlanLevelFees: ").append(toIndentedString(ratePlanLevelFees)).append("\n");
    sb.append("    availableDaysOfWeek: ").append(toIndentedString(availableDaysOfWeek)).append("\n");
    sb.append("    arrivalDaysOfWeek: ").append(toIndentedString(arrivalDaysOfWeek)).append("\n");
    sb.append("    departureDaysOfWeek: ").append(toIndentedString(departureDaysOfWeek)).append("\n");
    sb.append("    requiredDaysOfWeek: ").append(toIndentedString(requiredDaysOfWeek)).append("\n");
    sb.append("    earlyCheckInCharge: ").append(toIndentedString(earlyCheckInCharge)).append("\n");
    sb.append("    lateCheckOutCharge: ").append(toIndentedString(lateCheckOutCharge)).append("\n");
    sb.append("    cancellationPolicyIdentifier: ").append(toIndentedString(cancellationPolicyIdentifier)).append("\n");
    sb.append("    cancellationPolicy: ").append(toIndentedString(cancellationPolicy)).append("\n");
    sb.append("    cancellationPolicyExceptions: ").append(toIndentedString(cancellationPolicyExceptions)).append("\n");
    sb.append("    singleOccupancyRateModifier: ").append(toIndentedString(singleOccupancyRateModifier)).append("\n");
    sb.append("    extraPaxRateModifier: ").append(toIndentedString(extraPaxRateModifier)).append("\n");
    sb.append("    extraChildRateModifier: ").append(toIndentedString(extraChildRateModifier)).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