Class PayoutSettingsRequest


  • public class PayoutSettingsRequest
    extends Object
    PayoutSettingsRequest
    • Constructor Detail

      • PayoutSettingsRequest

        public PayoutSettingsRequest()
    • Method Detail

      • enabled

        public PayoutSettingsRequest enabled​(Boolean enabled)
        Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**.
        Parameters:
        enabled -
        Returns:
        the current PayoutSettingsRequest instance, allowing for method chaining
      • getEnabled

        public Boolean getEnabled()
        Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**.
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(Boolean enabled)
        Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**.
        Parameters:
        enabled -
      • enabledFromDate

        public PayoutSettingsRequest enabledFromDate​(String enabledFromDate)
        The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**.
        Parameters:
        enabledFromDate -
        Returns:
        the current PayoutSettingsRequest instance, allowing for method chaining
      • getEnabledFromDate

        public String getEnabledFromDate()
        The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**.
        Returns:
        enabledFromDate
      • setEnabledFromDate

        public void setEnabledFromDate​(String enabledFromDate)
        The date when Adyen starts paying out to this bank account. Format: [ISO 8601](https://www.w3.org/TR/NOTE-datetime), for example, **2019-11-23T12:25:28Z** or **2020-05-27T20:25:28+08:00**. If not specified, the `enabled` field indicates if payouts are enabled for this bank account. If a date is specified and: * `enabled`: **true**, payouts are enabled starting the specified date. * `enabled`: **false**, payouts are disabled until the specified date. On the specified date, `enabled` changes to **true** and this field is reset to **null**.
        Parameters:
        enabledFromDate -
      • transferInstrumentId

        public PayoutSettingsRequest transferInstrumentId​(String transferInstrumentId)
        The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account.
        Parameters:
        transferInstrumentId -
        Returns:
        the current PayoutSettingsRequest instance, allowing for method chaining
      • getTransferInstrumentId

        public String getTransferInstrumentId()
        The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account.
        Returns:
        transferInstrumentId
      • setTransferInstrumentId

        public void setTransferInstrumentId​(String transferInstrumentId)
        The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the bank account.
        Parameters:
        transferInstrumentId -
      • equals

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

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

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

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