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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Size(max=500) StringgetId()Free field to identify the device.@NotNull StringgetIp()IP address of the end user.@NotNull @Size(max=500) StringuseAgent of the end user's browser.inthashCode()voidvoidvoidsetUserAgent(String userAgent) toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IP
- See Also:
-
JSON_PROPERTY_USER_AGENT
- See Also:
-
-
Constructor Details
-
ApiBookingDevice
public ApiBookingDevice()
-
-
Method Details
-
id
-
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
-
ip
-
getIp
IP address of the end user.- Returns:
- ip
-
setIp
-
userAgent
-
getUserAgent
useAgent of the end user's browser.- Returns:
- userAgent
-
setUserAgent
-
equals
-
hashCode
public int hashCode() -
toString
-