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 - The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
        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 The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
      • 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 - The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
      • bankAccount

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

        public BankAccountV3 getBankAccount()
        Get 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()
        Get 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()
        Get 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 - The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
        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 The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
      • 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 - The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
      • includeNullValues

        public CounterpartyV3 includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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