|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.api.payments.Cost
public class Cost
| Constructor Summary | |
|---|---|
Cost()
Default Constructor |
|
| Method Summary | |
|---|---|
Currency |
getAmount()
Getter for amount |
float |
getPercent()
Getter for percent |
Cost |
setAmount(Currency amount)
Setter for amount |
Cost |
setPercent(float percent)
Setter for percent |
String |
toJSON()
Returns a JSON string corresponding to object state |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Cost()
| Method Detail |
|---|
public Cost setPercent(float percent)
public float getPercent()
public Cost setAmount(Currency amount)
public Currency getAmount()
public String toJSON()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||