public class Invoice extends Object
Constructor and Description |
---|
Invoice() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description.
|
String |
getName()
Get the name.
|
double |
getPrice()
Get the price.
|
Product |
getProduct()
Get the product.
|
int |
getQuantity()
Get the quantity.
|
void |
setDescription(String description)
Set the description.
|
void |
setName(String name)
Set the name.
|
void |
setPrice(double price)
Set the price.
|
void |
setProduct(Product product)
Set the product.
|
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 int getQuantity()
public void setQuantity(int quantity)
quantity
- The quantity to set.public Product getProduct()
public void setProduct(Product product)
product
- The product to set.Copyright © 2012. All Rights Reserved.