public class RecurringCharge
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a recurring charge.
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
recurringChargeAmount
The amount charged per the period of time specified by the recurring
charge frequency.
|
private java.lang.String |
recurringChargeFrequency
The frequency at which the recurring charge amount is applied.
|
Constructor and Description |
---|
RecurringCharge() |
Modifier and Type | Method and Description |
---|---|
RecurringCharge |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getRecurringChargeAmount()
The amount charged per the period of time specified by the recurring
charge frequency.
|
java.lang.String |
getRecurringChargeFrequency()
The frequency at which the recurring charge amount is applied.
|
int |
hashCode() |
void |
setRecurringChargeAmount(java.lang.Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring
charge frequency.
|
void |
setRecurringChargeFrequency(java.lang.String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecurringCharge |
withRecurringChargeAmount(java.lang.Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring
charge frequency.
|
RecurringCharge |
withRecurringChargeFrequency(java.lang.String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.
|
private java.lang.Double recurringChargeAmount
The amount charged per the period of time specified by the recurring charge frequency.
private java.lang.String recurringChargeFrequency
The frequency at which the recurring charge amount is applied.
public void setRecurringChargeAmount(java.lang.Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring charge frequency.
recurringChargeAmount
- The amount charged per the period of time specified by the
recurring charge frequency.public java.lang.Double getRecurringChargeAmount()
The amount charged per the period of time specified by the recurring charge frequency.
public RecurringCharge withRecurringChargeAmount(java.lang.Double recurringChargeAmount)
The amount charged per the period of time specified by the recurring charge frequency.
recurringChargeAmount
- The amount charged per the period of time specified by the
recurring charge frequency.public void setRecurringChargeFrequency(java.lang.String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.
recurringChargeFrequency
- The frequency at which the recurring charge amount is applied.public java.lang.String getRecurringChargeFrequency()
The frequency at which the recurring charge amount is applied.
public RecurringCharge withRecurringChargeFrequency(java.lang.String recurringChargeFrequency)
The frequency at which the recurring charge amount is applied.
recurringChargeFrequency
- The frequency at which the recurring charge amount is applied.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RecurringCharge clone()
clone
in class java.lang.Object