Package com.adyen.model.balanceplatform
Class AssociationInitiateRequest
- java.lang.Object
-
- com.adyen.model.balanceplatform.AssociationInitiateRequest
-
public class AssociationInitiateRequest extends Object
AssociationInitiateRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssociationInitiateRequest.TypeEnumThe type of resource that you are associating with the SCA device.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDSstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description AssociationInitiateRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationInitiateRequestaddIdsItem(String idsItem)booleanequals(Object o)Return true if this AssociationInitiateRequest object is equal to o.static AssociationInitiateRequestfromJson(String jsonString)Create an instance of AssociationInitiateRequest given an JSON stringList<String>getIds()The list of unique identifiers of the resources that you are associating with the SCA device.AssociationInitiateRequest.TypeEnumgetType()The type of resource that you are associating with the SCA device.inthashCode()AssociationInitiateRequestids(List<String> ids)The list of unique identifiers of the resources that you are associating with the SCA device.voidsetIds(List<String> ids)The list of unique identifiers of the resources that you are associating with the SCA device.voidsetType(AssociationInitiateRequest.TypeEnum type)The type of resource that you are associating with the SCA device.StringtoJson()Convert an instance of AssociationInitiateRequest to an JSON stringStringtoString()AssociationInitiateRequesttype(AssociationInitiateRequest.TypeEnum type)The type of resource that you are associating with the SCA device.
-
-
-
Field Detail
-
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
-
ids
public AssociationInitiateRequest ids(List<String> ids)
The list of unique identifiers of the resources that you are associating with the SCA device. Maximum: 5 strings.- Parameters:
ids-- Returns:
- the current
AssociationInitiateRequestinstance, allowing for method chaining
-
addIdsItem
public AssociationInitiateRequest addIdsItem(String idsItem)
-
getIds
public List<String> getIds()
The list of unique identifiers of the resources that you are associating with the SCA device. Maximum: 5 strings.- Returns:
- ids
-
setIds
public void setIds(List<String> ids)
The list of unique identifiers of the resources that you are associating with the SCA device. Maximum: 5 strings.- Parameters:
ids-
-
type
public AssociationInitiateRequest type(AssociationInitiateRequest.TypeEnum type)
The type of resource that you are associating with the SCA device. Possible value: **PaymentInstrument**- Parameters:
type-- Returns:
- the current
AssociationInitiateRequestinstance, allowing for method chaining
-
getType
public AssociationInitiateRequest.TypeEnum getType()
The type of resource that you are associating with the SCA device. Possible value: **PaymentInstrument**- Returns:
- type
-
setType
public void setType(AssociationInitiateRequest.TypeEnum type)
The type of resource that you are associating with the SCA device. Possible value: **PaymentInstrument**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this AssociationInitiateRequest object is equal to o.
-
fromJson
public static AssociationInitiateRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AssociationInitiateRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AssociationInitiateRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AssociationInitiateRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AssociationInitiateRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-