Package com.adyen.model.balanceplatform
Class AuthorisedCardUsers
- java.lang.Object
-
- com.adyen.model.balanceplatform.AuthorisedCardUsers
-
public class AuthorisedCardUsers extends Object
AuthorisedCardUsers
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LEGAL_ENTITY_IDS
-
Constructor Summary
Constructors Constructor Description AuthorisedCardUsers()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorisedCardUsersaddLegalEntityIdsItem(String legalEntityIdsItem)booleanequals(Object o)Return true if this AuthorisedCardUsers object is equal to o.static AuthorisedCardUsersfromJson(String jsonString)Create an instance of AuthorisedCardUsers given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.List<String>getLegalEntityIds()The legal entity IDs of the authorized card users linked to the specified payment instrument.inthashCode()AuthorisedCardUsersincludeNullValues(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.AuthorisedCardUserslegalEntityIds(List<String> legalEntityIds)The legal entity IDs of the authorized card users linked to the specified payment instrument.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetLegalEntityIds(List<String> legalEntityIds)The legal entity IDs of the authorized card users linked to the specified payment instrument.StringtoJson()Convert an instance of AuthorisedCardUsers to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LEGAL_ENTITY_IDS
public static final String JSON_PROPERTY_LEGAL_ENTITY_IDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
legalEntityIds
public AuthorisedCardUsers legalEntityIds(List<String> legalEntityIds)
The legal entity IDs of the authorized card users linked to the specified payment instrument.- Parameters:
legalEntityIds- The legal entity IDs of the authorized card users linked to the specified payment instrument.- Returns:
- the current
AuthorisedCardUsersinstance, allowing for method chaining
-
addLegalEntityIdsItem
public AuthorisedCardUsers addLegalEntityIdsItem(String legalEntityIdsItem)
-
getLegalEntityIds
public List<String> getLegalEntityIds()
The legal entity IDs of the authorized card users linked to the specified payment instrument.- Returns:
- legalEntityIds The legal entity IDs of the authorized card users linked to the specified payment instrument.
-
setLegalEntityIds
public void setLegalEntityIds(List<String> legalEntityIds)
The legal entity IDs of the authorized card users linked to the specified payment instrument.- Parameters:
legalEntityIds- The legal entity IDs of the authorized card users linked to the specified payment instrument.
-
includeNullValues
public AuthorisedCardUsers 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 AuthorisedCardUsers 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 AuthorisedCardUsers fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AuthorisedCardUsers given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthorisedCardUsers
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AuthorisedCardUsers
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AuthorisedCardUsers to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-