public class Invoice extends Object
Constructor and Description |
---|
Invoice() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description.
|
String |
getKey()
Get the key.
|
String |
getName()
Get the name.
|
double |
getPrice()
Get the price.
|
int |
getQuantity()
Get the quantity.
|
void |
setDescription(String description)
Set the description.
|
void |
setKey(String key)
Set the key.
|
void |
setName(String name)
Set the name.
|
void |
setPrice(double price)
Set the price.
|
void |
setQuantity(int quantity)
Set the quantity.
|
String |
toString()
Get the string representation.
|
public String getName()
public void setName(String name)
name
- The name to set.public String getDescription()
public void setDescription(String description)
description
- The description to set.public double getPrice()
public void setPrice(double price)
price
- The price to set.public String getKey()
public void setKey(String key)
key
- The key to set.public int getQuantity()
public void setQuantity(int quantity)
quantity
- The quantity to set.Copyright © 2012. All Rights Reserved.