Package com.adyen.model.balanceplatform
Class AssociationFinaliseResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.AssociationFinaliseResponse
-
public class AssociationFinaliseResponse extends Object
AssociationFinaliseResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssociationFinaliseResponse.TypeEnumThe type of resource that you associated with the SCA device.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DEVICE_IDstatic StringJSON_PROPERTY_IDSstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description AssociationFinaliseResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationFinaliseResponseaddIdsItem(String idsItem)AssociationFinaliseResponsedeviceId(String deviceId)The unique identifier of the SCA device you associated with a resource.booleanequals(Object o)Return true if this AssociationFinaliseResponse object is equal to o.static AssociationFinaliseResponsefromJson(String jsonString)Create an instance of AssociationFinaliseResponse given an JSON stringStringgetDeviceId()The unique identifier of the SCA device you associated with a resource.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.List<String>getIds()The list of unique identifiers of the resources that you associated with the SCA device.AssociationFinaliseResponse.TypeEnumgetType()The type of resource that you associated with the SCA device.inthashCode()AssociationFinaliseResponseids(List<String> ids)The list of unique identifiers of the resources that you associated with the SCA device.AssociationFinaliseResponseincludeNullValues(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.voidsetDeviceId(String deviceId)The unique identifier of the SCA device you associated with a resource.voidsetIds(List<String> ids)The list of unique identifiers of the resources that you associated with the SCA device.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetType(AssociationFinaliseResponse.TypeEnum type)The type of resource that you associated with the SCA device.StringtoJson()Convert an instance of AssociationFinaliseResponse to an JSON stringStringtoString()AssociationFinaliseResponsetype(AssociationFinaliseResponse.TypeEnum type)The type of resource that you associated with the SCA device.
-
-
-
Field Detail
-
JSON_PROPERTY_DEVICE_ID
public static final String JSON_PROPERTY_DEVICE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IDS
public static final String JSON_PROPERTY_IDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
deviceId
public AssociationFinaliseResponse deviceId(String deviceId)
The unique identifier of the SCA device you associated with a resource.- Parameters:
deviceId- The unique identifier of the SCA device you associated with a resource.- Returns:
- the current
AssociationFinaliseResponseinstance, allowing for method chaining
-
getDeviceId
public String getDeviceId()
The unique identifier of the SCA device you associated with a resource.- Returns:
- deviceId The unique identifier of the SCA device you associated with a resource.
-
setDeviceId
public void setDeviceId(String deviceId)
The unique identifier of the SCA device you associated with a resource.- Parameters:
deviceId- The unique identifier of the SCA device you associated with a resource.
-
ids
public AssociationFinaliseResponse ids(List<String> ids)
The list of unique identifiers of the resources that you associated with the SCA device.- Parameters:
ids- The list of unique identifiers of the resources that you associated with the SCA device.- Returns:
- the current
AssociationFinaliseResponseinstance, allowing for method chaining
-
addIdsItem
public AssociationFinaliseResponse addIdsItem(String idsItem)
-
getIds
public List<String> getIds()
The list of unique identifiers of the resources that you associated with the SCA device.- Returns:
- ids The list of unique identifiers of the resources that you associated with the SCA device.
-
setIds
public void setIds(List<String> ids)
The list of unique identifiers of the resources that you associated with the SCA device.- Parameters:
ids- The list of unique identifiers of the resources that you associated with the SCA device.
-
type
public AssociationFinaliseResponse type(AssociationFinaliseResponse.TypeEnum type)
The type of resource that you associated with the SCA device.- Parameters:
type- The type of resource that you associated with the SCA device.- Returns:
- the current
AssociationFinaliseResponseinstance, allowing for method chaining
-
getType
public AssociationFinaliseResponse.TypeEnum getType()
The type of resource that you associated with the SCA device.- Returns:
- type The type of resource that you associated with the SCA device.
-
setType
public void setType(AssociationFinaliseResponse.TypeEnum type)
The type of resource that you associated with the SCA device.- Parameters:
type- The type of resource that you associated with the SCA device.
-
includeNullValues
public AssociationFinaliseResponse 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 AssociationFinaliseResponse 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 AssociationFinaliseResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AssociationFinaliseResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AssociationFinaliseResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AssociationFinaliseResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AssociationFinaliseResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-