Package de.saibotk.jmaw
Class SaleStatistics
java.lang.Object
de.saibotk.jmaw.SaleStatistics
This models the response by
MojangAPI.getSaleStatistics(java.util.List)
.- Since:
- 1.0
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the amount in the last 24 hours.float
Returns the sale velocity per second.long
getTotal()
Returns the total amount.
-
Constructor Details
-
SaleStatistics
public SaleStatistics()
-
-
Method Details
-
getTotal
public long getTotal()Returns the total amount.- Returns:
- total amount.
- Since:
- 1.0
-
getLast24h
public long getLast24h()Returns the amount in the last 24 hours.- Returns:
- amount (last 24 hours).
- Since:
- 1.0
-
getSaleVelocityPerSeconds
public float getSaleVelocityPerSeconds()Returns the sale velocity per second.- Returns:
- the sale velocity / s.
- Since:
- 1.0
-