Class ApiBookingDevice

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiBookingDevice extends Object
Defines the device where the booking was made. Mandatory only payments done with the end user's credit card.
  • Field Details

  • Constructor Details

    • ApiBookingDevice

      public ApiBookingDevice()
  • Method Details

    • id

      public ApiBookingDevice id(String id)
    • getId

      @Nullable @Size(max=500) public @Size(max=500) String getId()
      Free field to identify the device. In the case of having an integration with Riskified, their token should be sent here.
      Returns:
      id
    • setId

      public void setId(String id)
    • ip

      public ApiBookingDevice ip(String ip)
    • getIp

      @Nonnull @NotNull public @NotNull String getIp()
      IP address of the end user.
      Returns:
      ip
    • setIp

      public void setIp(String ip)
    • userAgent

      public ApiBookingDevice userAgent(String userAgent)
    • getUserAgent

      @Nonnull @NotNull @Size(max=500) public @NotNull @Size(max=500) String getUserAgent()
      useAgent of the end user's browser.
      Returns:
      userAgent
    • setUserAgent

      public void setUserAgent(String userAgent)
    • 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