Class RecurringCharge

    • Constructor Detail

      • RecurringCharge

        public RecurringCharge()
    • Method Detail

      • setFrequency

        public void setFrequency​(String frequency)

        The frequency of the recurring charge.

        Parameters:
        frequency - The frequency of the recurring charge.
        See Also:
        RecurringChargeFrequency
      • getFrequency

        public String getFrequency()

        The frequency of the recurring charge.

        Returns:
        The frequency of the recurring charge.
        See Also:
        RecurringChargeFrequency
      • withFrequency

        public RecurringCharge withFrequency​(String frequency)

        The frequency of the recurring charge.

        Parameters:
        frequency - The frequency of the recurring charge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RecurringChargeFrequency
      • withFrequency

        public RecurringCharge withFrequency​(RecurringChargeFrequency frequency)

        The frequency of the recurring charge.

        Parameters:
        frequency - The frequency of the recurring charge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RecurringChargeFrequency
      • setAmount

        public void setAmount​(Double amount)

        The amount of the recurring charge.

        Parameters:
        amount - The amount of the recurring charge.
      • getAmount

        public Double getAmount()

        The amount of the recurring charge.

        Returns:
        The amount of the recurring charge.
      • withAmount

        public RecurringCharge withAmount​(Double amount)

        The amount of the recurring charge.

        Parameters:
        amount - The amount 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