public class AuctionItem
extends java.lang.Object
Constructor and Description |
---|
AuctionItem(int auctionId,
int itemId,
int amount,
int priceTotal,
java.lang.String seller) |
Modifier and Type | Method and Description |
---|---|
int |
getAmount()
Returns the auction's item amount
|
int |
getAuctionId()
Returns the auction's id
|
int |
getItemId()
Returns the auction's item id
|
int |
getPricePerItem()
Returns the auction's price per item
|
int |
getPriceTotal()
Returns the auction's total price
|
java.lang.String |
getSeller()
Returns the auction's seller name
|
public AuctionItem(int auctionId, int itemId, int amount, int priceTotal, java.lang.String seller)
auctionId
- int -- Id of the auctionitemId
- int -- Id of item for saleamount
- int -- Amount of itemspriceTotal
- int -- Total price set for the auctionseller
- String -- Name of the sellerpublic int getAuctionId()
public int getItemId()
public int getAmount()
public int getPriceTotal()
public int getPricePerItem()
public java.lang.String getSeller()