Class Income

java.lang.Object
no.ntnu.idatt1002.spendwise.data.Transaction
no.ntnu.idatt1002.spendwise.data.Income
Direct Known Subclasses:
RecurringIncome

public class Income extends Transaction
Describes an Income using the Transaction class.
  • Constructor Details

  • Method Details

    • amountToString

      protected String amountToString()
      Returns the amount of the expense as a string with currency notation.
      Specified by:
      amountToString in class Transaction
      Returns:
      The amount of the expense as a string representation.