Class TransferInstrument


  • public class TransferInstrument
    extends Object
    TransferInstrument
    • Constructor Detail

      • TransferInstrument

        public TransferInstrument()
    • Method Detail

      • getBankAccount

        public BankAccountInfo getBankAccount()
        Get bankAccount
        Returns:
        bankAccount
      • setBankAccount

        public void setBankAccount​(BankAccountInfo bankAccount)
        bankAccount
        Parameters:
        bankAccount -
      • setCapabilities

        public void setCapabilities​(Map<String,​SupportingEntityCapability> capabilities)
        List of capabilities for this transfer instrument.
        Parameters:
        capabilities -
      • getDocumentDetails

        public List<DocumentReference> getDocumentDetails()
        List of documents uploaded for the transfer instrument.
        Returns:
        documentDetails
      • setDocumentDetails

        public void setDocumentDetails​(List<DocumentReference> documentDetails)
        List of documents uploaded for the transfer instrument.
        Parameters:
        documentDetails -
      • getId

        public String getId()
        The unique identifier of the transfer instrument.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the transfer instrument.
        Parameters:
        id -
      • getLegalEntityId

        public String getLegalEntityId()
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument.
        Returns:
        legalEntityId
      • setLegalEntityId

        public void setLegalEntityId​(String legalEntityId)
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) that owns the transfer instrument.
        Parameters:
        legalEntityId -
      • getProblems

        public List<CapabilityProblem> getProblems()
        The verification errors related to capabilities for this transfer instrument.
        Returns:
        problems
      • setProblems

        public void setProblems​(List<CapabilityProblem> problems)
        The verification errors related to capabilities for this transfer instrument.
        Parameters:
        problems -
      • getType

        public TransferInstrument.TypeEnum getType()
        The type of transfer instrument. Possible value: **bankAccount**.
        Returns:
        type
      • setType

        public void setType​(TransferInstrument.TypeEnum type)
        The type of transfer instrument. Possible value: **bankAccount**.
        Parameters:
        type -
      • equals

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

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

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

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