|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.api.payments.CustomAmount
public class CustomAmount
| Constructor Summary | |
|---|---|
CustomAmount()
Default Constructor |
|
| Method Summary | |
|---|---|
Currency |
getAmount()
Getter for amount |
String |
getLabel()
Getter for label |
CustomAmount |
setAmount(Currency amount)
Setter for amount |
CustomAmount |
setLabel(String label)
Setter for label |
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 CustomAmount()
| Method Detail |
|---|
public CustomAmount setLabel(String label)
public String getLabel()
public CustomAmount 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 | |||||||||