Package com.adyen.model.balanceplatform
Class BeginScaDeviceRegistrationRequest
- java.lang.Object
-
- com.adyen.model.balanceplatform.BeginScaDeviceRegistrationRequest
-
public class BeginScaDeviceRegistrationRequest extends Object
BeginScaDeviceRegistrationRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_SDK_OUTPUT
-
Constructor Summary
Constructors Constructor Description BeginScaDeviceRegistrationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this BeginScaDeviceRegistrationRequest object is equal to o.static BeginScaDeviceRegistrationRequestfromJson(String jsonString)Create an instance of BeginScaDeviceRegistrationRequest given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetName()The name of the SCA device that you are registering.StringgetSdkOutput()A base64-encoded block with the data required to register the SCA device.inthashCode()BeginScaDeviceRegistrationRequestincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.BeginScaDeviceRegistrationRequestname(String name)The name of the SCA device that you are registering.BeginScaDeviceRegistrationRequestsdkOutput(String sdkOutput)A base64-encoded block with the data required to register the SCA device.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetName(String name)The name of the SCA device that you are registering.voidsetSdkOutput(String sdkOutput)A base64-encoded block with the data required to register the SCA device.StringtoJson()Convert an instance of BeginScaDeviceRegistrationRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_OUTPUT
public static final String JSON_PROPERTY_SDK_OUTPUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public BeginScaDeviceRegistrationRequest name(String name)
The name of the SCA device that you are registering. You can use it to help your users identify the device.- Parameters:
name- The name of the SCA device that you are registering. You can use it to help your users identify the device.- Returns:
- the current
BeginScaDeviceRegistrationRequestinstance, allowing for method chaining
-
getName
public String getName()
The name of the SCA device that you are registering. You can use it to help your users identify the device.- Returns:
- name The name of the SCA device that you are registering. You can use it to help your users identify the device.
-
setName
public void setName(String name)
The name of the SCA device that you are registering. You can use it to help your users identify the device.- Parameters:
name- The name of the SCA device that you are registering. You can use it to help your users identify the device.
-
sdkOutput
public BeginScaDeviceRegistrationRequest sdkOutput(String sdkOutput)
A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen's authentication SDK.- Parameters:
sdkOutput- A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen's authentication SDK.- Returns:
- the current
BeginScaDeviceRegistrationRequestinstance, allowing for method chaining
-
getSdkOutput
public String getSdkOutput()
A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen's authentication SDK.- Returns:
- sdkOutput A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen's authentication SDK.
-
setSdkOutput
public void setSdkOutput(String sdkOutput)
A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen's authentication SDK.- Parameters:
sdkOutput- A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen's authentication SDK.
-
includeNullValues
public BeginScaDeviceRegistrationRequest includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this BeginScaDeviceRegistrationRequest object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static BeginScaDeviceRegistrationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BeginScaDeviceRegistrationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BeginScaDeviceRegistrationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BeginScaDeviceRegistrationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BeginScaDeviceRegistrationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-