Class CorporationStatistics

java.lang.Object
us.teaminceptus.novaconomy.api.corporation.CorporationStatistics

public final class CorporationStatistics extends Object
Utility class for Corporation Statistics
  • Method Details

    • getTotalViews

      public long getTotalViews()
      Fetches all of the views this Corporation and its Children have received.
      Returns:
      Total Views
    • getTotalSales

      public long getTotalSales()
      Fetches all of the product this Corporation's Children have sold.
      Returns:
      Total Sales
    • getTotalProfit

      public double getTotalProfit()
      Fetches the complete amount of all of the money this Corporation has ever made, factoring an Economy's conversion scale.
      Returns:
      Total Profit
    • getProfit

      public double getProfit(@NotNull @NotNull Economy econ)
      Fetches the base amount of all of the money this Corporation has ever made.
      Parameters:
      econ - Economy to use
      Returns:
      Total Profit for the Economy
    • getTotalProductsSold

      public long getTotalProductsSold()
      Fetches the total amount of products this Corporation has sold.
      Returns:
      Total Products Sold