Class TransferInstrumentInfo


  • public class TransferInstrumentInfo
    extends Object
    TransferInstrumentInfo
    • Constructor Detail

      • TransferInstrumentInfo

        public TransferInstrumentInfo()
    • Method Detail

      • getBankAccount

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

        public void setBankAccount​(BankAccountInfo bankAccount)
        bankAccount
        Parameters:
        bankAccount -
      • 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 -
      • setType

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

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

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

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

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