Package com.adyen.model.payment
Class ShopperInteractionDevice
- java.lang.Object
-
- com.adyen.model.payment.ShopperInteractionDevice
-
public class ShopperInteractionDevice extends Object
ShopperInteractionDevice
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LOCALEstatic StringJSON_PROPERTY_OSstatic StringJSON_PROPERTY_OS_VERSION
-
Constructor Summary
Constructors Constructor Description ShopperInteractionDevice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this ShopperInteractionDevice object is equal to o.static ShopperInteractionDevicefromJson(String jsonString)Create an instance of ShopperInteractionDevice given an JSON stringStringgetLocale()Locale on the shopper interaction device.StringgetOs()Operating system running on the shopper interaction device.StringgetOsVersion()Version of the operating system on the shopper interaction device.inthashCode()ShopperInteractionDevicelocale(String locale)Locale on the shopper interaction device.ShopperInteractionDeviceos(String os)Operating system running on the shopper interaction device.ShopperInteractionDeviceosVersion(String osVersion)Version of the operating system on the shopper interaction device.voidsetLocale(String locale)Locale on the shopper interaction device.voidsetOs(String os)Operating system running on the shopper interaction device.voidsetOsVersion(String osVersion)Version of the operating system on the shopper interaction device.StringtoJson()Convert an instance of ShopperInteractionDevice to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LOCALE
public static final String JSON_PROPERTY_LOCALE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS
public static final String JSON_PROPERTY_OS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS_VERSION
public static final String JSON_PROPERTY_OS_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
locale
public ShopperInteractionDevice locale(String locale)
Locale on the shopper interaction device.- Parameters:
locale-- Returns:
- the current
ShopperInteractionDeviceinstance, allowing for method chaining
-
getLocale
public String getLocale()
Locale on the shopper interaction device.- Returns:
- locale
-
setLocale
public void setLocale(String locale)
Locale on the shopper interaction device.- Parameters:
locale-
-
os
public ShopperInteractionDevice os(String os)
Operating system running on the shopper interaction device.- Parameters:
os-- Returns:
- the current
ShopperInteractionDeviceinstance, allowing for method chaining
-
getOs
public String getOs()
Operating system running on the shopper interaction device.- Returns:
- os
-
setOs
public void setOs(String os)
Operating system running on the shopper interaction device.- Parameters:
os-
-
osVersion
public ShopperInteractionDevice osVersion(String osVersion)
Version of the operating system on the shopper interaction device.- Parameters:
osVersion-- Returns:
- the current
ShopperInteractionDeviceinstance, allowing for method chaining
-
getOsVersion
public String getOsVersion()
Version of the operating system on the shopper interaction device.- Returns:
- osVersion
-
setOsVersion
public void setOsVersion(String osVersion)
Version of the operating system on the shopper interaction device.- Parameters:
osVersion-
-
equals
public boolean equals(Object o)
Return true if this ShopperInteractionDevice object is equal to o.
-
fromJson
public static ShopperInteractionDevice fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ShopperInteractionDevice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ShopperInteractionDevice
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ShopperInteractionDevice
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ShopperInteractionDevice to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-