Class SaleStatistics

java.lang.Object
de.saibotk.jmaw.SaleStatistics

public class SaleStatistics extends Object
This models the response by MojangAPI.getSaleStatistics(java.util.List).
Since:
1.0
  • 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