|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.api.payments.ChargeModels
public class ChargeModels
| Constructor Summary | |
|---|---|
ChargeModels()
Default Constructor |
|
ChargeModels(String type,
Currency amount)
Parameterized Constructor |
|
| Method Summary | |
|---|---|
Currency |
getAmount()
Getter for amount |
String |
getId()
Getter for id |
String |
getType()
Getter for type |
ChargeModels |
setAmount(Currency amount)
Setter for amount |
ChargeModels |
setId(String id)
Setter for id |
ChargeModels |
setType(String type)
Setter for type |
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 ChargeModels()
public ChargeModels(String type,
Currency amount)
| Method Detail |
|---|
public ChargeModels setId(String id)
public String getId()
public ChargeModels setType(String type)
public String getType()
public ChargeModels 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 | |||||||||