public class RecurringCharge extends Object implements Serializable
Contains the specific price and frequency of a recurring charges for a reserved cache node, or for a reserved cache node offering.
Constructor and Description |
---|
RecurringCharge() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Double |
getRecurringChargeAmount()
The monetary amount of the recurring charge.
|
String |
getRecurringChargeFrequency()
The frequency of the recurring charge.
|
int |
hashCode() |
void |
setRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
|
void |
setRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecurringCharge |
withRecurringChargeAmount(Double recurringChargeAmount)
The monetary amount of the recurring charge.
|
RecurringCharge |
withRecurringChargeFrequency(String recurringChargeFrequency)
The frequency of the recurring charge.
|
public Double getRecurringChargeAmount()
public void setRecurringChargeAmount(Double recurringChargeAmount)
recurringChargeAmount
- The monetary amount of the recurring charge.public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount)
Returns a reference to this object so that method calls can be chained together.
recurringChargeAmount
- The monetary amount of the recurring charge.public String getRecurringChargeFrequency()
public void setRecurringChargeFrequency(String recurringChargeFrequency)
recurringChargeFrequency
- The frequency of the recurring charge.public RecurringCharge withRecurringChargeFrequency(String recurringChargeFrequency)
Returns a reference to this object so that method calls can be chained together.
recurringChargeFrequency
- The frequency of the recurring charge.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.