Class FutureValueNotional.Builder

  • All Implemented Interfaces:
    org.joda.beans.BeanBuilder<FutureValueNotional>
    Enclosing class:
    FutureValueNotional

    public static final class FutureValueNotional.Builder
    extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FutureValueNotional>
    The bean-builder for FutureValueNotional.
    • Method Detail

      • value

        public FutureValueNotional.Builder value​(Double value)
        Sets the amount.

        The future value notional amount, derived as per the standard formula.

        Parameters:
        value - the new value
        Returns:
        this, for chaining, not null
      • valueDate

        public FutureValueNotional.Builder valueDate​(LocalDate valueDate)
        Sets the value date.

        This is the adjusted value date of the future value amount, which is the adjusted end date.

        Parameters:
        valueDate - the new value
        Returns:
        this, for chaining, not null
      • dayCountDays

        public FutureValueNotional.Builder dayCountDays​(Integer dayCountDays)
        Sets the number of days in the calculation period.

        This defines the number of days from the adjusted start date to the adjusted end date as calculated by the day count.

        Parameters:
        dayCountDays - the new value
        Returns:
        this, for chaining, not null
      • toString

        public String toString()
        Overrides:
        toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FutureValueNotional>