Package com.adyen.model.marketpay
Class AccountPayoutState
- java.lang.Object
-
- com.adyen.model.marketpay.AccountPayoutState
-
public class AccountPayoutState extends Object
AccountPayoutState
-
-
Constructor Summary
Constructors Constructor Description AccountPayoutState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountPayoutStateallowPayout(Boolean allowPayout)AccountPayoutStatedisabled(Boolean disabled)AccountPayoutStatedisableReason(String disableReason)booleanequals(Object o)StringgetDisableReason()The reason why payouts (to all of the account holder's accounts) have been disabled (by the platform).StringgetNotAllowedReason()The reason why payouts (to all of the account holder's accounts) have been disabled (by Adyen).AmountgetPayoutLimit()Get payoutLimitIntegergetTierNumber()The payout tier that the account holder occupies.inthashCode()BooleanisAllowPayout()Indicates whether payouts are allowed.BooleanisDisabled()Indicates whether payouts have been disabled (by the platform) for all of the account holder's accounts.AccountPayoutStatenotAllowedReason(String notAllowedReason)AccountPayoutStatepayoutLimit(Amount payoutLimit)voidsetAllowPayout(Boolean allowPayout)voidsetDisabled(Boolean disabled)voidsetDisableReason(String disableReason)voidsetNotAllowedReason(String notAllowedReason)voidsetPayoutLimit(Amount payoutLimit)voidsetTierNumber(Integer tierNumber)AccountPayoutStatetierNumber(Integer tierNumber)StringtoString()
-
-
-
Method Detail
-
allowPayout
public AccountPayoutState allowPayout(Boolean allowPayout)
-
isAllowPayout
public Boolean isAllowPayout()
Indicates whether payouts are allowed. This field is the overarching payout status, and is the aggregate of multiple conditions (e.g., KYC status, disabled flag, etc). If this field is false, no payouts will be permitted for any of the account holder's accounts. If this field is true, payouts will be permitted for any of the account holder's accounts.- Returns:
- allowPayout
-
setAllowPayout
public void setAllowPayout(Boolean allowPayout)
-
disableReason
public AccountPayoutState disableReason(String disableReason)
-
getDisableReason
public String getDisableReason()
The reason why payouts (to all of the account holder's accounts) have been disabled (by the platform). If the `disabled` field is true, this field can be used to explain why.- Returns:
- disableReason
-
setDisableReason
public void setDisableReason(String disableReason)
-
disabled
public AccountPayoutState disabled(Boolean disabled)
-
isDisabled
public Boolean isDisabled()
Indicates whether payouts have been disabled (by the platform) for all of the account holder's accounts. A platform may enable and disable this field at their discretion. If this field is true, `allowPayout` will be false and no payouts will be permitted for any of the account holder's accounts. If this field is false, `allowPayout` may or may not be enabled, depending on other factors.- Returns:
- disabled
-
setDisabled
public void setDisabled(Boolean disabled)
-
notAllowedReason
public AccountPayoutState notAllowedReason(String notAllowedReason)
-
getNotAllowedReason
public String getNotAllowedReason()
The reason why payouts (to all of the account holder's accounts) have been disabled (by Adyen). If payouts have been disabled by Adyen, this field will explain why. If this field is blank, payouts have not been disabled by Adyen.- Returns:
- notAllowedReason
-
setNotAllowedReason
public void setNotAllowedReason(String notAllowedReason)
-
payoutLimit
public AccountPayoutState payoutLimit(Amount payoutLimit)
-
getPayoutLimit
public Amount getPayoutLimit()
Get payoutLimit- Returns:
- payoutLimit
-
setPayoutLimit
public void setPayoutLimit(Amount payoutLimit)
-
tierNumber
public AccountPayoutState tierNumber(Integer tierNumber)
-
getTierNumber
public Integer getTierNumber()
The payout tier that the account holder occupies.- Returns:
- tierNumber
-
setTierNumber
public void setTierNumber(Integer tierNumber)
-
-