mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-26 06:05:25 +01:00
add biddable and bid interface methods
Took 14 seconds
This commit is contained in:
parent
36b68c8f0f
commit
7090be8b19
@ -18,5 +18,20 @@
|
||||
|
||||
package ca.tweetzy.auctionhouse.ahv3.api.auction;
|
||||
|
||||
public interface Bid {
|
||||
import ca.tweetzy.auctionhouse.ahv3.api.Identifiable;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.UUID;
|
||||
|
||||
public interface Bid extends Identifiable {
|
||||
|
||||
UUID getAuctionUUID();
|
||||
|
||||
UUID getBidderUUID();
|
||||
|
||||
String getBidderName();
|
||||
|
||||
BigDecimal getAmount();
|
||||
|
||||
long getBidTime();
|
||||
}
|
||||
|
@ -18,5 +18,12 @@
|
||||
|
||||
package ca.tweetzy.auctionhouse.ahv3.api.auction;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public interface Biddable {
|
||||
|
||||
BigDecimal getStartingPrice();
|
||||
|
||||
List<Bid> getBids();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user