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)
      • getLegalEntityId

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

        public void setLegalEntityId​(String legalEntityId)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to TransferInstrumentInfo
      • fromJson

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

        public String toJson()
        Convert an instance of TransferInstrumentInfo to an JSON string
        Returns:
        JSON string