Class OwnerEntity


  • public class OwnerEntity
    extends Object
    OwnerEntity
    • Constructor Detail

      • OwnerEntity

        public OwnerEntity()
    • Method Detail

      • getId

        public String getId()
        Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
        Returns:
        id
      • setId

        public void setId​(String id)
        Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
        Parameters:
        id -
      • getType

        public String getType()
        Type of resource that owns the document. Possible values: **legalEntity**, **bankAccount**.
        Returns:
        type
      • setType

        public void setType​(String type)
        Type of resource that owns the document. Possible values: **legalEntity**, **bankAccount**.
        Parameters:
        type -
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static OwnerEntity fromJson​(String jsonString)
                                    throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of OwnerEntity given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of OwnerEntity
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to OwnerEntity
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of OwnerEntity to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException