Interface EstimatedMonthlySavings.Builder

  • Method Details

    • currency

      The currency of the estimated savings.

      Parameters:
      currency - The currency of the estimated savings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • beforeDiscountSavings

      EstimatedMonthlySavings.Builder beforeDiscountSavings(Double beforeDiscountSavings)

      The estimated monthly savings before applying any discounts.

      Parameters:
      beforeDiscountSavings - The estimated monthly savings before applying any discounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterDiscountSavings

      EstimatedMonthlySavings.Builder afterDiscountSavings(Double afterDiscountSavings)

      The estimated monthly savings after applying any discounts.

      Parameters:
      afterDiscountSavings - The estimated monthly savings after applying any discounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • savingsEstimationMode

      EstimatedMonthlySavings.Builder savingsEstimationMode(String savingsEstimationMode)

      The mode used to calculate savings, either BeforeDiscount or AfterDiscount.

      Parameters:
      savingsEstimationMode - The mode used to calculate savings, either BeforeDiscount or AfterDiscount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • savingsEstimationMode

      EstimatedMonthlySavings.Builder savingsEstimationMode(SavingsEstimationMode savingsEstimationMode)

      The mode used to calculate savings, either BeforeDiscount or AfterDiscount.

      Parameters:
      savingsEstimationMode - The mode used to calculate savings, either BeforeDiscount or AfterDiscount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: