Class RecurringCharge

    • Constructor Detail

      • RecurringCharge

        public RecurringCharge()
    • Method Detail

      • setRecurringChargeAmount

        public void setRecurringChargeAmount​(Double recurringChargeAmount)

        The monetary amount of the recurring charge.

        Parameters:
        recurringChargeAmount - The monetary amount of the recurring charge.
      • getRecurringChargeAmount

        public Double getRecurringChargeAmount()

        The monetary amount of the recurring charge.

        Returns:
        The monetary amount of the recurring charge.
      • withRecurringChargeAmount

        public RecurringCharge withRecurringChargeAmount​(Double recurringChargeAmount)

        The monetary amount of the recurring charge.

        Parameters:
        recurringChargeAmount - The monetary amount of the recurring charge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRecurringChargeFrequency

        public void setRecurringChargeFrequency​(String recurringChargeFrequency)

        The frequency of the recurring charge.

        Parameters:
        recurringChargeFrequency - The frequency of the recurring charge.
      • getRecurringChargeFrequency

        public String getRecurringChargeFrequency()

        The frequency of the recurring charge.

        Returns:
        The frequency of the recurring charge.
      • withRecurringChargeFrequency

        public RecurringCharge withRecurringChargeFrequency​(String recurringChargeFrequency)

        The frequency of the recurring charge.

        Parameters:
        recurringChargeFrequency - The frequency of the recurring charge.
        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