Class Disbursement


  • public class Disbursement
    extends Object
    Disbursement
    • Constructor Detail

      • Disbursement

        public Disbursement()
    • Method Detail

      • accountHolderId

        public Disbursement accountHolderId​(String accountHolderId)
        The unique identifier of the account holder that received the disbursement.
        Parameters:
        accountHolderId - The unique identifier of the account holder that received the disbursement.
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getAccountHolderId

        public String getAccountHolderId()
        The unique identifier of the account holder that received the disbursement.
        Returns:
        accountHolderId The unique identifier of the account holder that received the disbursement.
      • setAccountHolderId

        public void setAccountHolderId​(String accountHolderId)
        The unique identifier of the account holder that received the disbursement.
        Parameters:
        accountHolderId - The unique identifier of the account holder that received the disbursement.
      • amount

        public Disbursement amount​(Amount amount)
        amount
        Parameters:
        amount -
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getAmount

        public Amount getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Amount amount)
        amount
        Parameters:
        amount -
      • balanceAccountId

        public Disbursement balanceAccountId​(String balanceAccountId)
        The unique identifier of the balance account that received the disbursement.
        Parameters:
        balanceAccountId - The unique identifier of the balance account that received the disbursement.
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getBalanceAccountId

        public String getBalanceAccountId()
        The unique identifier of the balance account that received the disbursement.
        Returns:
        balanceAccountId The unique identifier of the balance account that received the disbursement.
      • setBalanceAccountId

        public void setBalanceAccountId​(String balanceAccountId)
        The unique identifier of the balance account that received the disbursement.
        Parameters:
        balanceAccountId - The unique identifier of the balance account that received the disbursement.
      • balances

        public Disbursement balances​(Balance balances)
        balances
        Parameters:
        balances -
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getBalances

        public Balance getBalances()
        Get balances
        Returns:
        balances
      • setBalances

        public void setBalances​(Balance balances)
        balances
        Parameters:
        balances -
      • fee

        public Disbursement fee​(Fee fee)
        fee
        Parameters:
        fee -
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getFee

        public Fee getFee()
        Get fee
        Returns:
        fee
      • setFee

        public void setFee​(Fee fee)
        fee
        Parameters:
        fee -
      • fundsCollections

        public Disbursement fundsCollections​(List<FundsCollection> fundsCollections)
        Contains information about the accounts that Adyen uses to collect funds related to repayments.
        Parameters:
        fundsCollections - Contains information about the accounts that Adyen uses to collect funds related to repayments.
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getFundsCollections

        public List<FundsCollection> getFundsCollections()
        Contains information about the accounts that Adyen uses to collect funds related to repayments.
        Returns:
        fundsCollections Contains information about the accounts that Adyen uses to collect funds related to repayments.
      • setFundsCollections

        public void setFundsCollections​(List<FundsCollection> fundsCollections)
        Contains information about the accounts that Adyen uses to collect funds related to repayments.
        Parameters:
        fundsCollections - Contains information about the accounts that Adyen uses to collect funds related to repayments.
      • grantId

        public Disbursement grantId​(String grantId)
        The unique identifier of the grant related to the disbursement.
        Parameters:
        grantId - The unique identifier of the grant related to the disbursement.
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getGrantId

        public String getGrantId()
        The unique identifier of the grant related to the disbursement.
        Returns:
        grantId The unique identifier of the grant related to the disbursement.
      • setGrantId

        public void setGrantId​(String grantId)
        The unique identifier of the grant related to the disbursement.
        Parameters:
        grantId - The unique identifier of the grant related to the disbursement.
      • id

        public Disbursement id​(String id)
        The unique identifier of the disbursement.
        Parameters:
        id - The unique identifier of the disbursement.
        Returns:
        the current Disbursement instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the disbursement.
        Returns:
        id The unique identifier of the disbursement.
      • setId

        public void setId​(String id)
        The unique identifier of the disbursement.
        Parameters:
        id - The unique identifier of the disbursement.
      • repayment

        public Disbursement repayment​(DisbursementRepayment repayment)
        repayment
        Parameters:
        repayment -
        Returns:
        the current Disbursement instance, allowing for method chaining
      • setRepayment

        public void setRepayment​(DisbursementRepayment repayment)
        repayment
        Parameters:
        repayment -
      • includeNullValues

        public Disbursement 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 Disbursement 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 Disbursement fromJson​(String jsonString)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Disbursement given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Disbursement
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Disbursement
      • toJson

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