Class RecurringCharge

    • Constructor Detail

      • RecurringCharge

        public RecurringCharge()
    • Method Detail

      • setRecurringChargeAmount

        public void setRecurringChargeAmount​(Double recurringChargeAmount)

        The amount charged per the period of time specified by the recurring charge frequency.

        Parameters:
        recurringChargeAmount - The amount charged per the period of time specified by the recurring charge frequency.
      • getRecurringChargeAmount

        public Double getRecurringChargeAmount()

        The amount charged per the period of time specified by the recurring charge frequency.

        Returns:
        The amount charged per the period of time specified by the recurring charge frequency.
      • withRecurringChargeAmount

        public RecurringCharge withRecurringChargeAmount​(Double recurringChargeAmount)

        The amount charged per the period of time specified by the recurring charge frequency.

        Parameters:
        recurringChargeAmount - The amount charged per the period of time specified by the recurring charge frequency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRecurringChargeFrequency

        public void setRecurringChargeFrequency​(String recurringChargeFrequency)

        The frequency at which the recurring charge amount is applied.

        Parameters:
        recurringChargeFrequency - The frequency at which the recurring charge amount is applied.
      • getRecurringChargeFrequency

        public String getRecurringChargeFrequency()

        The frequency at which the recurring charge amount is applied.

        Returns:
        The frequency at which the recurring charge amount is applied.
      • withRecurringChargeFrequency

        public RecurringCharge withRecurringChargeFrequency​(String recurringChargeFrequency)

        The frequency at which the recurring charge amount is applied.

        Parameters:
        recurringChargeFrequency - The frequency at which the recurring charge amount is applied.
        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