Class AccountLimit

    • Constructor Detail

      • AccountLimit

        public AccountLimit()
    • Method Detail

      • setName

        public void setName​(String name)

        The name of the account limit. Currently, the only account limit is StackLimit.

        Parameters:
        name - The name of the account limit. Currently, the only account limit is StackLimit.
      • getName

        public String getName()

        The name of the account limit. Currently, the only account limit is StackLimit.

        Returns:
        The name of the account limit. Currently, the only account limit is StackLimit.
      • withName

        public AccountLimit withName​(String name)

        The name of the account limit. Currently, the only account limit is StackLimit.

        Parameters:
        name - The name of the account limit. Currently, the only account limit is StackLimit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValue

        public void setValue​(Integer value)

        The value that is associated with the account limit name.

        Parameters:
        value - The value that is associated with the account limit name.
      • getValue

        public Integer getValue()

        The value that is associated with the account limit name.

        Returns:
        The value that is associated with the account limit name.
      • withValue

        public AccountLimit withValue​(Integer value)

        The value that is associated with the account limit name.

        Parameters:
        value - The value that is associated with the account limit name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object