|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.api.payments.InvoiceItem
public class InvoiceItem
| Constructor Summary | |
|---|---|
InvoiceItem()
Default Constructor |
|
InvoiceItem(String name,
float quantity,
Currency unitPrice)
Parameterized Constructor |
|
| Method Summary | |
|---|---|
String |
getDate()
Getter for date |
String |
getDescription()
Getter for description |
Cost |
getDiscount()
Getter for discount |
String |
getName()
Getter for name |
float |
getQuantity()
Getter for quantity |
Tax |
getTax()
Getter for tax |
Currency |
getUnitPrice()
Getter for unitPrice |
InvoiceItem |
setDate(String date)
Setter for date |
InvoiceItem |
setDescription(String description)
Setter for description |
InvoiceItem |
setDiscount(Cost discount)
Setter for discount |
InvoiceItem |
setName(String name)
Setter for name |
InvoiceItem |
setQuantity(float quantity)
Setter for quantity |
InvoiceItem |
setTax(Tax tax)
Setter for tax |
InvoiceItem |
setUnitPrice(Currency unitPrice)
Setter for unitPrice |
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 InvoiceItem()
public InvoiceItem(String name,
float quantity,
Currency unitPrice)
| Method Detail |
|---|
public InvoiceItem setName(String name)
public String getName()
public InvoiceItem setDescription(String description)
public String getDescription()
public InvoiceItem setQuantity(float quantity)
public float getQuantity()
public InvoiceItem setUnitPrice(Currency unitPrice)
public Currency getUnitPrice()
public InvoiceItem setTax(Tax tax)
public Tax getTax()
public InvoiceItem setDate(String date)
public String getDate()
public InvoiceItem setDiscount(Cost discount)
public Cost getDiscount()
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 | |||||||||