Class AccountState


  • public class AccountState
    extends Object
    AccountState
    • Constructor Detail

      • AccountState

        public AccountState()
    • Method Detail

      • getDisableReason

        public String getDisableReason()
        describes why the state has been disabled
        Returns:
        disableReason
      • setDisableReason

        public void setDisableReason​(String disableReason)
      • getAllowProcessing

        public Boolean getAllowProcessing()
        indicates if account, having this state, is allowed to process transactions
        Returns:
        allowProcessing
      • setAllowProcessing

        public void setAllowProcessing​(Boolean allowProcessing)
      • getStateDeadline

        public Date getStateDeadline()
        date, till which the account holder is allowed to be in the current state
        Returns:
        stateDeadline
      • setStateDeadline

        public void setStateDeadline​(Date stateDeadline)
      • getAllowPayout

        public Boolean getAllowPayout()
        indicates if account, having this state, is allowed to receive payouts
        Returns:
        allowPayout
      • setAllowPayout

        public void setAllowPayout​(Boolean allowPayout)
      • getStateLimit

        public AccountStateLimit getStateLimit()
        state limit
        Returns:
        stateLimit
      • getTierNumber

        public Integer getTierNumber()
        the tier in which the accountholder currently resides
        Returns:
        tierNumber
      • setTierNumber

        public void setTierNumber​(Integer tierNumber)
      • getDisabled

        public Boolean getDisabled()
        shows if the state is enabled / disabled
        Returns:
        disabled
      • setDisabled

        public void setDisabled​(Boolean disabled)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object