Class LegalEntityResource


  • public class LegalEntityResource
    extends Resource
    LegalEntityResource
    • Constructor Detail

      • LegalEntityResource

        public LegalEntityResource()
    • 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 LegalEntityResource instance, 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:
        includeNullValues in class Resource
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
        Overrides:
        isIncludeNullValues in class Resource
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
        Overrides:
        setIncludeNullValues in class Resource
      • equals

        public boolean equals​(Object o)
        Return true if this LegalEntityResource object is equal to o.
        Overrides:
        equals in class Resource
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
        Overrides:
        getExplicitNulls in class Resource
      • 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
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of LegalEntityResource to an JSON string
        Overrides:
        toJson in class Resource
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException