Package com.adyen.model.management
Class PayoutSettings
- java.lang.Object
-
- com.adyen.model.management.PayoutSettings
-
public class PayoutSettings extends Object
PayoutSettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutSettings.PriorityEnumDetermines how long it takes for the funds to reach the bank account.static classPayoutSettings.VerificationStatusEnumThe status of the verification process for the bank account.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWEDstatic StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_ENABLED_FROM_DATEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_PRIORITYstatic StringJSON_PROPERTY_TRANSFER_INSTRUMENT_IDstatic StringJSON_PROPERTY_VERIFICATION_STATUS
-
Constructor Summary
Constructors Constructor Description PayoutSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayoutSettingsallowed(Boolean allowed)Indicates if payouts to the bank account are allowed.PayoutSettingsenabled(Boolean enabled)Indicates if payouts to this bank account are enabled.PayoutSettingsenabledFromDate(String enabledFromDate)The date when Adyen starts paying out to this bank account.booleanequals(Object o)Return true if this PayoutSettings object is equal to o.static PayoutSettingsfromJson(String jsonString)Create an instance of PayoutSettings given an JSON stringBooleangetAllowed()Indicates if payouts to the bank account are allowed.BooleangetEnabled()Indicates if payouts to this bank account are enabled.StringgetEnabledFromDate()The date when Adyen starts paying out to this bank account.StringgetId()The unique identifier of the payout setting.PayoutSettings.PriorityEnumgetPriority()Determines how long it takes for the funds to reach the bank account.StringgetTransferInstrumentId()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.PayoutSettings.VerificationStatusEnumgetVerificationStatus()The status of the verification process for the bank account.inthashCode()PayoutSettingsid(String id)The unique identifier of the payout setting.PayoutSettingspriority(PayoutSettings.PriorityEnum priority)Determines how long it takes for the funds to reach the bank account.voidsetAllowed(Boolean allowed)Indicates if payouts to the bank account are allowed.voidsetEnabled(Boolean enabled)Indicates if payouts to this bank account are enabled.voidsetEnabledFromDate(String enabledFromDate)The date when Adyen starts paying out to this bank account.voidsetId(String id)The unique identifier of the payout setting.voidsetPriority(PayoutSettings.PriorityEnum priority)Determines how long it takes for the funds to reach the bank account.voidsetTransferInstrumentId(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.voidsetVerificationStatus(PayoutSettings.VerificationStatusEnum verificationStatus)The status of the verification process for the bank account.StringtoJson()Convert an instance of PayoutSettings to an JSON stringStringtoString()PayoutSettingstransferInstrumentId(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.PayoutSettingsverificationStatus(PayoutSettings.VerificationStatusEnum verificationStatus)The status of the verification process for the bank account.
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED
public static final String JSON_PROPERTY_ALLOWED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENABLED_FROM_DATE
public static final String JSON_PROPERTY_ENABLED_FROM_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_PRIORITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_INSTRUMENT_ID
public static final String JSON_PROPERTY_TRANSFER_INSTRUMENT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERIFICATION_STATUS
public static final String JSON_PROPERTY_VERIFICATION_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowed
public PayoutSettings allowed(Boolean allowed)
Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values.- Parameters:
allowed-- Returns:
- the current
PayoutSettingsinstance, allowing for method chaining
-
getAllowed
public Boolean getAllowed()
Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values.- Returns:
- allowed
-
setAllowed
public void setAllowed(Boolean allowed)
Indicates if payouts to the bank account are allowed. This value is set automatically based on the status of the verification process. The value is: * **true** if `verificationStatus` is **valid**. * **false** for all other values.- Parameters:
allowed-
-
enabled
public PayoutSettings 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
PayoutSettingsinstance, 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 PayoutSettings 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
PayoutSettingsinstance, 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-
-
id
public PayoutSettings id(String id)
The unique identifier of the payout setting.- Parameters:
id-- Returns:
- the current
PayoutSettingsinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the payout setting.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the payout setting.- Parameters:
id-
-
priority
public PayoutSettings priority(PayoutSettings.PriorityEnum priority)
Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days.- Parameters:
priority-- Returns:
- the current
PayoutSettingsinstance, allowing for method chaining
-
getPriority
public PayoutSettings.PriorityEnum getPriority()
Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days.- Returns:
- priority
-
setPriority
public void setPriority(PayoutSettings.PriorityEnum priority)
Determines how long it takes for the funds to reach the bank account. Adyen pays out based on the [payout frequency](https://docs.adyen.com/account/getting-paid#payout-frequency). Depending on the currencies and banks involved in transferring the money, it may take up to three days for the payout funds to arrive in the bank account. Possible values: * **first**: same day. * **urgent**: the next day. * **normal**: between 1 and 3 days.- Parameters:
priority-
-
transferInstrumentId
public PayoutSettings 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
PayoutSettingsinstance, 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-
-
verificationStatus
public PayoutSettings verificationStatus(PayoutSettings.VerificationStatusEnum verificationStatus)
The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity.- Parameters:
verificationStatus-- Returns:
- the current
PayoutSettingsinstance, allowing for method chaining
-
getVerificationStatus
public PayoutSettings.VerificationStatusEnum getVerificationStatus()
The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity.- Returns:
- verificationStatus
-
setVerificationStatus
public void setVerificationStatus(PayoutSettings.VerificationStatusEnum verificationStatus)
The status of the verification process for the bank account. Possible values: * **valid**: the verification was successful. * **pending**: the verification is in progress. * **invalid**: the information provided is not complete. * **rejected**: there are reasons to refuse working with this entity.- Parameters:
verificationStatus-
-
equals
public boolean equals(Object o)
Return true if this PayoutSettings object is equal to o.
-
fromJson
public static PayoutSettings fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayoutSettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayoutSettings
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayoutSettings
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayoutSettings to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-