Class CounterpartyInfoV3


  • public class CounterpartyInfoV3
    extends Object
    CounterpartyInfoV3
    • Constructor Detail

      • CounterpartyInfoV3

        public CounterpartyInfoV3()
    • Method Detail

      • balanceAccountId

        public CounterpartyInfoV3 balanceAccountId​(String balanceAccountId)
        The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
        Parameters:
        balanceAccountId -
        Returns:
        the current CounterpartyInfoV3 instance, allowing for method chaining
      • getBalanceAccountId

        public String getBalanceAccountId()
        The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
        Returns:
        balanceAccountId
      • setBalanceAccountId

        public void setBalanceAccountId​(String balanceAccountId)
        The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
        Parameters:
        balanceAccountId -
      • bankAccount

        public CounterpartyInfoV3 bankAccount​(BankAccountV3 bankAccount)
        bankAccount
        Parameters:
        bankAccount -
        Returns:
        the current CounterpartyInfoV3 instance, allowing for method chaining
      • getBankAccount

        public BankAccountV3 getBankAccount()
        bankAccount
        Returns:
        bankAccount
      • setBankAccount

        public void setBankAccount​(BankAccountV3 bankAccount)
        bankAccount
        Parameters:
        bankAccount -
      • card

        public CounterpartyInfoV3 card​(Card card)
        card
        Parameters:
        card -
        Returns:
        the current CounterpartyInfoV3 instance, allowing for method chaining
      • getCard

        public Card getCard()
        card
        Returns:
        card
      • setCard

        public void setCard​(Card card)
        card
        Parameters:
        card -
      • transferInstrumentId

        public CounterpartyInfoV3 transferInstrumentId​(String transferInstrumentId)
        The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
        Parameters:
        transferInstrumentId -
        Returns:
        the current CounterpartyInfoV3 instance, allowing for method chaining
      • getTransferInstrumentId

        public String getTransferInstrumentId()
        The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
        Returns:
        transferInstrumentId
      • setTransferInstrumentId

        public void setTransferInstrumentId​(String transferInstrumentId)
        The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
        Parameters:
        transferInstrumentId -
      • equals

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

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

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

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