Package com.adyen.model.openbanking
Class Identity
- java.lang.Object
-
- com.adyen.model.openbanking.Identity
-
public class Identity extends Object
Identity
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FULL_LEGAL_NAMEstatic StringJSON_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description Identity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this Identity object is equal to o.static IdentityfromJson(String jsonString)Create an instance of Identity given an JSON stringIdentityfullLegalName(String fullLegalName)The complete legal name of the individual or entity.StringgetFullLegalName()The complete legal name of the individual or entity.StringgetName()A commonly used or human-readable name for the individual or entity.inthashCode()Identityname(String name)A commonly used or human-readable name for the individual or entity.voidsetFullLegalName(String fullLegalName)The complete legal name of the individual or entity.voidsetName(String name)A commonly used or human-readable name for the individual or entity.StringtoJson()Convert an instance of Identity to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FULL_LEGAL_NAME
public static final String JSON_PROPERTY_FULL_LEGAL_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
fullLegalName
public Identity fullLegalName(String fullLegalName)
The complete legal name of the individual or entity.- Parameters:
fullLegalName- The complete legal name of the individual or entity.- Returns:
- the current
Identityinstance, allowing for method chaining
-
getFullLegalName
public String getFullLegalName()
The complete legal name of the individual or entity.- Returns:
- fullLegalName The complete legal name of the individual or entity.
-
setFullLegalName
public void setFullLegalName(String fullLegalName)
The complete legal name of the individual or entity.- Parameters:
fullLegalName- The complete legal name of the individual or entity.
-
name
public Identity name(String name)
A commonly used or human-readable name for the individual or entity.- Parameters:
name- A commonly used or human-readable name for the individual or entity.- Returns:
- the current
Identityinstance, allowing for method chaining
-
getName
public String getName()
A commonly used or human-readable name for the individual or entity.- Returns:
- name A commonly used or human-readable name for the individual or entity.
-
setName
public void setName(String name)
A commonly used or human-readable name for the individual or entity.- Parameters:
name- A commonly used or human-readable name for the individual or entity.
-
equals
public boolean equals(Object o)
Return true if this Identity object is equal to o.
-
fromJson
public static Identity fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Identity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Identity
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Identity
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Identity to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-