|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.api.payments.Item
public class Item
| Constructor Summary | |
|---|---|
Item()
Default Constructor |
|
Item(String quantity,
String name,
String price,
String currency)
Parameterized Constructor |
|
| Method Summary | |
|---|---|
String |
getCurrency()
Getter for currency |
String |
getName()
Getter for name |
String |
getPrice()
Getter for price |
String |
getQuantity()
Getter for quantity |
String |
getSku()
Getter for sku |
String |
getTax()
Getter for tax |
Item |
setCurrency(String currency)
Setter for currency |
Item |
setName(String name)
Setter for name |
Item |
setPrice(String price)
Setter for price |
Item |
setQuantity(String quantity)
Setter for quantity |
Item |
setSku(String sku)
Setter for sku |
void |
setTax(String tax)
Setter for tax |
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 Item()
public Item(String quantity,
String name,
String price,
String currency)
| Method Detail |
|---|
public Item setQuantity(String quantity)
public String getQuantity()
public Item setName(String name)
public String getName()
public Item setPrice(String price)
public String getPrice()
public String getTax()
public void setTax(String tax)
public Item setCurrency(String currency)
public String getCurrency()
public Item setSku(String sku)
public String getSku()
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 | |||||||||