Package dk.minepay.server.bukkit.classes
Class StoreProduct
java.lang.Object
dk.minepay.server.bukkit.classes.StoreProduct
- All Implemented Interfaces:
StoreItem
Class representing a product in the store.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for StoreProduct.StoreProduct(String name, String id, double price, double quantity) Constructor for StoreProduct without metadata.StoreProduct(String name, String id, double price, double quantity, HashMap<String, String> metadata) Constructor for StoreProduct with metadata. -
Method Summary
-
Constructor Details
-
StoreProduct
public StoreProduct()Default constructor for StoreProduct. -
StoreProduct
public StoreProduct(String name, String id, double price, double quantity, HashMap<String, String> metadata) Constructor for StoreProduct with metadata.- Parameters:
name- the name of the productid- the unique identifier of the productprice- the price of the productquantity- the quantity of the productmetadata- additional metadata for the product
-
StoreProduct
Constructor for StoreProduct without metadata.- Parameters:
name- the name of the productid- the unique identifier of the productprice- the price of the productquantity- the quantity of the product
-
-
Method Details