Package com.adyen.model.balanceplatform
Class DeviceInfo
- java.lang.Object
-
- com.adyen.model.balanceplatform.DeviceInfo
-
public class DeviceInfo extends Object
DeviceInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CARD_CAPTURE_TECHNOLOGYstatic StringJSON_PROPERTY_DEVICE_NAMEstatic StringJSON_PROPERTY_FORM_FACTORstatic StringJSON_PROPERTY_IMEIstatic StringJSON_PROPERTY_ISO_DEVICE_TYPEstatic StringJSON_PROPERTY_MSISDNstatic StringJSON_PROPERTY_OS_NAMEstatic StringJSON_PROPERTY_OS_VERSIONstatic StringJSON_PROPERTY_PAYMENT_TYPESstatic StringJSON_PROPERTY_SERIAL_NUMBERstatic StringJSON_PROPERTY_STORAGE_TECHNOLOGY
-
Constructor Summary
Constructors Constructor Description DeviceInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceInfoaddPaymentTypesItem(String paymentTypesItem)DeviceInfocardCaptureTechnology(String cardCaptureTechnology)The technology used to capture the card details.DeviceInfodeviceName(String deviceName)The name of the device.booleanequals(Object o)Return true if this DeviceInfo object is equal to o.DeviceInfoformFactor(String formFactor)The form factor of the device to be provisioned.static DeviceInfofromJson(String jsonString)Create an instance of DeviceInfo given an JSON stringStringgetCardCaptureTechnology()The technology used to capture the card details.StringgetDeviceName()The name of the device.StringgetFormFactor()The form factor of the device to be provisioned.StringgetImei()The IMEI number of the device being provisioned.StringgetIsoDeviceType()The 2-digit device type provided on the ISO messages that the token is being provisioned to.StringgetMsisdn()The MSISDN of the device being provisioned.StringgetOsName()The name of the device operating system.StringgetOsVersion()The version of the device operating system.List<String>getPaymentTypes()Different types of payments supported for the network token.StringgetSerialNumber()The serial number of the device.StringgetStorageTechnology()The architecture or technology used for network token storage.inthashCode()DeviceInfoimei(String imei)The IMEI number of the device being provisioned.DeviceInfoisoDeviceType(String isoDeviceType)The 2-digit device type provided on the ISO messages that the token is being provisioned to.DeviceInfomsisdn(String msisdn)The MSISDN of the device being provisioned.DeviceInfoosName(String osName)The name of the device operating system.DeviceInfoosVersion(String osVersion)The version of the device operating system.DeviceInfopaymentTypes(List<String> paymentTypes)Different types of payments supported for the network token.DeviceInfoserialNumber(String serialNumber)The serial number of the device.voidsetCardCaptureTechnology(String cardCaptureTechnology)The technology used to capture the card details.voidsetDeviceName(String deviceName)The name of the device.voidsetFormFactor(String formFactor)The form factor of the device to be provisioned.voidsetImei(String imei)The IMEI number of the device being provisioned.voidsetIsoDeviceType(String isoDeviceType)The 2-digit device type provided on the ISO messages that the token is being provisioned to.voidsetMsisdn(String msisdn)The MSISDN of the device being provisioned.voidsetOsName(String osName)The name of the device operating system.voidsetOsVersion(String osVersion)The version of the device operating system.voidsetPaymentTypes(List<String> paymentTypes)Different types of payments supported for the network token.voidsetSerialNumber(String serialNumber)The serial number of the device.voidsetStorageTechnology(String storageTechnology)The architecture or technology used for network token storage.DeviceInfostorageTechnology(String storageTechnology)The architecture or technology used for network token storage.StringtoJson()Convert an instance of DeviceInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CARD_CAPTURE_TECHNOLOGY
public static final String JSON_PROPERTY_CARD_CAPTURE_TECHNOLOGY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEVICE_NAME
public static final String JSON_PROPERTY_DEVICE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FORM_FACTOR
public static final String JSON_PROPERTY_FORM_FACTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IMEI
public static final String JSON_PROPERTY_IMEI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ISO_DEVICE_TYPE
public static final String JSON_PROPERTY_ISO_DEVICE_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MSISDN
public static final String JSON_PROPERTY_MSISDN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS_NAME
public static final String JSON_PROPERTY_OS_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OS_VERSION
public static final String JSON_PROPERTY_OS_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_TYPES
public static final String JSON_PROPERTY_PAYMENT_TYPES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERIAL_NUMBER
public static final String JSON_PROPERTY_SERIAL_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORAGE_TECHNOLOGY
public static final String JSON_PROPERTY_STORAGE_TECHNOLOGY
- See Also:
- Constant Field Values
-
-
Method Detail
-
cardCaptureTechnology
public DeviceInfo cardCaptureTechnology(String cardCaptureTechnology)
The technology used to capture the card details.- Parameters:
cardCaptureTechnology-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getCardCaptureTechnology
public String getCardCaptureTechnology()
The technology used to capture the card details.- Returns:
- cardCaptureTechnology
-
setCardCaptureTechnology
public void setCardCaptureTechnology(String cardCaptureTechnology)
The technology used to capture the card details.- Parameters:
cardCaptureTechnology-
-
deviceName
public DeviceInfo deviceName(String deviceName)
The name of the device.- Parameters:
deviceName-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getDeviceName
public String getDeviceName()
The name of the device.- Returns:
- deviceName
-
setDeviceName
public void setDeviceName(String deviceName)
The name of the device.- Parameters:
deviceName-
-
formFactor
public DeviceInfo formFactor(String formFactor)
The form factor of the device to be provisioned.- Parameters:
formFactor-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getFormFactor
public String getFormFactor()
The form factor of the device to be provisioned.- Returns:
- formFactor
-
setFormFactor
public void setFormFactor(String formFactor)
The form factor of the device to be provisioned.- Parameters:
formFactor-
-
imei
public DeviceInfo imei(String imei)
The IMEI number of the device being provisioned.- Parameters:
imei-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getImei
public String getImei()
The IMEI number of the device being provisioned.- Returns:
- imei
-
setImei
public void setImei(String imei)
The IMEI number of the device being provisioned.- Parameters:
imei-
-
isoDeviceType
public DeviceInfo isoDeviceType(String isoDeviceType)
The 2-digit device type provided on the ISO messages that the token is being provisioned to.- Parameters:
isoDeviceType-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getIsoDeviceType
public String getIsoDeviceType()
The 2-digit device type provided on the ISO messages that the token is being provisioned to.- Returns:
- isoDeviceType
-
setIsoDeviceType
public void setIsoDeviceType(String isoDeviceType)
The 2-digit device type provided on the ISO messages that the token is being provisioned to.- Parameters:
isoDeviceType-
-
msisdn
public DeviceInfo msisdn(String msisdn)
The MSISDN of the device being provisioned.- Parameters:
msisdn-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getMsisdn
public String getMsisdn()
The MSISDN of the device being provisioned.- Returns:
- msisdn
-
setMsisdn
public void setMsisdn(String msisdn)
The MSISDN of the device being provisioned.- Parameters:
msisdn-
-
osName
public DeviceInfo osName(String osName)
The name of the device operating system.- Parameters:
osName-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getOsName
public String getOsName()
The name of the device operating system.- Returns:
- osName
-
setOsName
public void setOsName(String osName)
The name of the device operating system.- Parameters:
osName-
-
osVersion
public DeviceInfo osVersion(String osVersion)
The version of the device operating system.- Parameters:
osVersion-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getOsVersion
public String getOsVersion()
The version of the device operating system.- Returns:
- osVersion
-
setOsVersion
public void setOsVersion(String osVersion)
The version of the device operating system.- Parameters:
osVersion-
-
paymentTypes
public DeviceInfo paymentTypes(List<String> paymentTypes)
Different types of payments supported for the network token.- Parameters:
paymentTypes-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
addPaymentTypesItem
public DeviceInfo addPaymentTypesItem(String paymentTypesItem)
-
getPaymentTypes
public List<String> getPaymentTypes()
Different types of payments supported for the network token.- Returns:
- paymentTypes
-
setPaymentTypes
public void setPaymentTypes(List<String> paymentTypes)
Different types of payments supported for the network token.- Parameters:
paymentTypes-
-
serialNumber
public DeviceInfo serialNumber(String serialNumber)
The serial number of the device.- Parameters:
serialNumber-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getSerialNumber
public String getSerialNumber()
The serial number of the device.- Returns:
- serialNumber
-
setSerialNumber
public void setSerialNumber(String serialNumber)
The serial number of the device.- Parameters:
serialNumber-
-
storageTechnology
public DeviceInfo storageTechnology(String storageTechnology)
The architecture or technology used for network token storage.- Parameters:
storageTechnology-- Returns:
- the current
DeviceInfoinstance, allowing for method chaining
-
getStorageTechnology
public String getStorageTechnology()
The architecture or technology used for network token storage.- Returns:
- storageTechnology
-
setStorageTechnology
public void setStorageTechnology(String storageTechnology)
The architecture or technology used for network token storage.- Parameters:
storageTechnology-
-
equals
public boolean equals(Object o)
Return true if this DeviceInfo object is equal to o.
-
fromJson
public static DeviceInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DeviceInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeviceInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DeviceInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DeviceInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-