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

com.amadeus.resources.HotelBooking Maven / Gradle / Ivy

package com.amadeus.resources;

import lombok.Getter;
import lombok.ToString;

/**
 * An HotelBooking object as returned by the Hotel Booking API.
 * @see com.amadeus.booking.HotelBookings#get()
 */
@ToString
public class HotelBooking extends Resource {
  private @Getter String type;
  private @Getter String id;
  private @Getter String providerConfirmationId;
  private @Getter AssociatedRecord[] associatedRecords;

  protected HotelBooking() {}

  @ToString
  public class AssociatedRecord {
    private @Getter String reference;
    private @Getter String originSystemCode;

    protected AssociatedRecord() {}
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy