Package Items

Class SalesTogetherRow

java.lang.Object
Items.SalesTogetherRow

public class SalesTogetherRow extends Object
Entry for the Sales Together Report
Since:
2023-03-07
  • Field Details

    • numSold

      private final javafx.beans.property.SimpleObjectProperty<Long> numSold
      SimpleObjectProperty of Long holding the number of sales for that Menu Item
  • Constructor Details

    • SalesTogetherRow

      public SalesTogetherRow(String menuItem1, String menuItem2, long numSold)
      Constructor
      Parameters:
      menuItem1 - number of the item
      menuItem2 - of the item
      numSold - of the item
  • Method Details

    • getMenuItem1

      public javafx.beans.property.SimpleObjectProperty<String> getMenuItem1()
      Returns:
      menuItem1
    • getMenuItem2

      public javafx.beans.property.SimpleObjectProperty<String> getMenuItem2()
      Returns:
      menuItem2
    • getNumSold

      public javafx.beans.property.SimpleObjectProperty<Long> getNumSold()
      Gets numSold
      Returns:
      numSold