Class CounterpartyInfoV3


  • public class CounterpartyInfoV3
    extends Object
    CounterpartyInfoV3
    • Constructor Detail

      • CounterpartyInfoV3

        public CounterpartyInfoV3()
    • Method Detail

      • getBalanceAccountId

        public String getBalanceAccountId()
        Unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).
        Returns:
        balanceAccountId
      • setBalanceAccountId

        public void setBalanceAccountId​(String balanceAccountId)
      • getBankAccount

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

        public void setBankAccount​(BankAccountV3 bankAccount)
      • getTransferInstrumentId

        public String getTransferInstrumentId()
        Unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
        Returns:
        transferInstrumentId
      • setTransferInstrumentId

        public void setTransferInstrumentId​(String transferInstrumentId)
      • 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 CounterpartyInfoV3
      • fromJson

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

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