Class CounterpartyV3


  • public class CounterpartyV3
    extends Object
    CounterpartyV3
    • Constructor Detail

      • CounterpartyV3

        public CounterpartyV3()
    • Method Detail

      • balanceAccountId

        public CounterpartyV3 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 CounterpartyV3 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 CounterpartyV3 bankAccount​(BankAccountV3 bankAccount)
        bankAccount
        Parameters:
        bankAccount -
        Returns:
        the current CounterpartyV3 instance, allowing for method chaining
      • getBankAccount

        public BankAccountV3 getBankAccount()
        bankAccount
        Returns:
        bankAccount
      • setBankAccount

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

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

        public Card getCard()
        card
        Returns:
        card
      • setCard

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

        public CounterpartyV3 merchant​(MerchantData merchant)
        merchant
        Parameters:
        merchant -
        Returns:
        the current CounterpartyV3 instance, allowing for method chaining
      • getMerchant

        public MerchantData getMerchant()
        merchant
        Returns:
        merchant
      • setMerchant

        public void setMerchant​(MerchantData merchant)
        merchant
        Parameters:
        merchant -
      • transferInstrumentId

        public CounterpartyV3 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 CounterpartyV3 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 CounterpartyV3 object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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