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.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.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.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-- 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
-
setDeviceId
public void setDeviceId(String deviceId)
The unique identifier of the SCA device you associated with a resource.- Parameters:
deviceId-
-
ids
public AssociationFinaliseResponse ids(List<String> ids)
The list of unique identifiers of the resources that you associated with the SCA device.- Parameters:
ids-- 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
-
setIds
public void setIds(List<String> ids)
The list of unique identifiers of the resources that you associated with the SCA device.- Parameters:
ids-
-
type
public AssociationFinaliseResponse type(AssociationFinaliseResponse.TypeEnum type)
The type of resource that you associated with the SCA device.- Parameters:
type-- 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
-
setType
public void setType(AssociationFinaliseResponse.TypeEnum type)
The type of resource that you associated with the SCA device.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this AssociationFinaliseResponse object is equal to o.
-
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
-
-