Class LegalEntityResource
- java.lang.Object
-
- com.adyen.model.sessionauthentication.Resource
-
- com.adyen.model.sessionauthentication.LegalEntityResource
-
public class LegalEntityResource extends Resource
LegalEntityResource
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LEGAL_ENTITY_ID-
Fields inherited from class com.adyen.model.sessionauthentication.Resource
JSON_PROPERTY_TYPE
-
-
Constructor Summary
Constructors Constructor Description LegalEntityResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this LegalEntityResource object is equal to o.static LegalEntityResourcefromJson(String jsonString)Create an instance of LegalEntityResource given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetLegalEntityId()The unique identifier of the resource connected to the component.inthashCode()LegalEntityResourceincludeNullValues(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.LegalEntityResourcelegalEntityId(String legalEntityId)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.voidsetLegalEntityId(String legalEntityId)The unique identifier of the resource connected to the component.StringtoJson()Convert an instance of LegalEntityResource to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LEGAL_ENTITY_ID
public static final String JSON_PROPERTY_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
legalEntityId
public LegalEntityResource legalEntityId(String legalEntityId)
The unique identifier of the resource connected to the component. For [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), this is the legal entity that has a contractual relationship with your platform and owns the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). For sole proprietorships, this is the legal entity of the individual owner.- Parameters:
legalEntityId- The unique identifier of the resource connected to the component. For [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), this is the legal entity that has a contractual relationship with your platform and owns the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). For sole proprietorships, this is the legal entity of the individual owner.- Returns:
- the current
LegalEntityResourceinstance, allowing for method chaining
-
getLegalEntityId
public String getLegalEntityId()
The unique identifier of the resource connected to the component. For [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), this is the legal entity that has a contractual relationship with your platform and owns the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). For sole proprietorships, this is the legal entity of the individual owner.- Returns:
- legalEntityId The unique identifier of the resource connected to the component. For [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), this is the legal entity that has a contractual relationship with your platform and owns the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). For sole proprietorships, this is the legal entity of the individual owner.
-
setLegalEntityId
public void setLegalEntityId(String legalEntityId)
The unique identifier of the resource connected to the component. For [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), this is the legal entity that has a contractual relationship with your platform and owns the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). For sole proprietorships, this is the legal entity of the individual owner.- Parameters:
legalEntityId- The unique identifier of the resource connected to the component. For [Onboarding components](https://docs.adyen.com/platforms/onboard-users/components), this is the legal entity that has a contractual relationship with your platform and owns the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). For sole proprietorships, this is the legal entity of the individual owner.
-
includeNullValues
public LegalEntityResource 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 LegalEntityResource 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 LegalEntityResource fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of LegalEntityResource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LegalEntityResource
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to LegalEntityResource
-
-