|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudcontrolled.api.model.AbstractModel
com.cloudcontrolled.api.model.AddonOption
public class AddonOption
The add-on options object contains the unique name or as you want the ID of the add-on and some informations about the pricing.
| Constructor Summary | |
|---|---|
AddonOption()
Constructor for AddonOption. |
|
| Method Summary | |
|---|---|
String |
getName()
Getter for the field name. |
double |
getThirtyDaysPrice()
getThirtyDaysPrice. |
boolean |
isPricePerBox()
isPricePerBox. |
void |
setName(String name)
Setter for the field name. |
void |
setPricePerBox(boolean price_is_per_box)
setPricePerBox. |
void |
setThirtyDaysPrice(double thirty_days_price)
setThirtyDaysPrice. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AddonOption()
Constructor for AddonOption.
| Method Detail |
|---|
public String getName()
Getter for the field name.
public void setName(String name)
Setter for the field name.
name - the name to set of the concerning add-on optionpublic double getThirtyDaysPrice()
getThirtyDaysPrice.
public void setThirtyDaysPrice(double thirty_days_price)
setThirtyDaysPrice.
thirty_days_price - the thrity days price of the concerning add-on option to setpublic boolean isPricePerBox()
isPricePerBox.
public void setPricePerBox(boolean price_is_per_box)
setPricePerBox.
price_is_per_box - set the boolean value whether the price is per boxpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||