Class AccountHolderResource
- java.lang.Object
-
- com.adyen.model.sessionauthentication.Resource
-
- com.adyen.model.sessionauthentication.AccountHolderResource
-
public class AccountHolderResource extends Resource
AccountHolderResource
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_ID-
Fields inherited from class com.adyen.model.sessionauthentication.Resource
JSON_PROPERTY_TYPE
-
-
Constructor Summary
Constructors Constructor Description AccountHolderResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountHolderResourceaccountHolderId(String accountHolderId)The unique identifier of the resource connected to the component.booleanequals(Object o)Return true if this AccountHolderResource object is equal to o.static AccountHolderResourcefromJson(String jsonString)Create an instance of AccountHolderResource given an JSON stringStringgetAccountHolderId()The unique identifier of the resource connected to the component.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()AccountHolderResourceincludeNullValues(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.voidsetAccountHolderId(String accountHolderId)The unique identifier of the resource connected to the component.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of AccountHolderResource to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_ID
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderId
public AccountHolderResource accountHolderId(String accountHolderId)
The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.- Parameters:
accountHolderId- The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.- Returns:
- the current
AccountHolderResourceinstance, allowing for method chaining
-
getAccountHolderId
public String getAccountHolderId()
The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.- Returns:
- accountHolderId The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
-
setAccountHolderId
public void setAccountHolderId(String accountHolderId)
The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.- Parameters:
accountHolderId- The unique identifier of the resource connected to the component. For [Platform Experience components](https://docs.adyen.com/platforms/build-user-dashboards), this is the account holder linked to the balance account shown in the component.
-
includeNullValues
public AccountHolderResource includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.- Overrides:
includeNullValuesin classResource
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.- Overrides:
isIncludeNullValuesin classResource
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.- Overrides:
setIncludeNullValuesin classResource
-
equals
public boolean equals(Object o)
Return true if this AccountHolderResource 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.- Overrides:
getExplicitNullsin classResource
-
fromJson
public static AccountHolderResource fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountHolderResource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderResource
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountHolderResource
-
-