Class ACategory
java.lang.Object
com.olziedev.playerauctions.api.auction.ACategory
Represents an auction category that can provide basic category data for the auction.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAuctions
(CommandSender sender) abstract String
abstract double
abstract double
abstract String
getName()
abstract boolean
isAll()
-
Constructor Details
-
ACategory
public ACategory()
-
-
Method Details
-
getName
- Returns:
- The name of the category from the category configuration file.
-
getDisplayName
- Returns:
- The displayname of the category from the category configuration file.
-
getAuctions
- Parameters:
sender
- The command sender that is requesting the list.- Returns:
- The list of the auctions in this category.
-
getMinPrice
public abstract double getMinPrice()- Returns:
- The minimum price an auction can be in this category.
-
getMaxPrice
public abstract double getMaxPrice()- Returns:
- The maximum price an auction can be in this category.
-
isAll
public abstract boolean isAll()- Returns:
- Weather or not this category is marked as the all category.
-