Class ApiHolder

java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiHolder

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiHolder extends Object
Information of the holder of the booking. Please use this tag to inform about name of lead passenger that is going to do the check In at the hotel. This information will be sent to hotelier for the Check In process
  • Field Details

  • Constructor Details

    • ApiHolder

      public ApiHolder()
  • Method Details

    • name

      public ApiHolder name(String name)
    • getName

      @Nonnull @NotNull @Size(min=1, max=50) public @NotNull @Size(min=1,max=50) String getName()
      Booking holder name for all the rooms of the booking.
      Returns:
      name
    • setName

      public void setName(String name)
    • surname

      public ApiHolder surname(String surname)
    • getSurname

      @Nonnull @NotNull @Size(min=1, max=50) public @NotNull @Size(min=1,max=50) String getSurname()
      Booking holder surname for all rooms of the booking.
      Returns:
      surname
    • setSurname

      public void setSurname(String surname)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object