add biddable and bid interface methods

Took 14 seconds
This commit is contained in:
Kiran Hart 2022-10-19 23:33:29 -04:00
parent 36b68c8f0f
commit 7090be8b19
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3
2 changed files with 23 additions and 1 deletions

View File

@ -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();
}

View File

@ -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();
}