MonthDetail

public struct MonthDetail : Codable, Equatable, Sendable

Month detail model

  • Month

    Declaration

    Swift

    public let month: String
  • Month note

    Declaration

    Swift

    public let note: String?
  • Income amount for the month

    Declaration

    Swift

    public let income: Int
  • Income amount for the month formatted in the plan currency

    Declaration

    Swift

    public let incomeFormatted: String?
  • Income amount for the month as a decimal currency amount

    Declaration

    Swift

    public let incomeCurrency: Decimal?
  • Amount budgeted for the month

    Declaration

    Swift

    public let budgeted: Int
  • Amount budgeted for the month formatted in the plan currency

    Declaration

    Swift

    public let budgetedFormatted: String?
  • Amount budgeted for the month as a decimal currency amount

    Declaration

    Swift

    public let budgetedCurrency: Decimal?
  • Activity amount for the month

    Declaration

    Swift

    public let activity: Int
  • Activity amount for the month formatted in the plan currency

    Declaration

    Swift

    public let activityFormatted: String?
  • Activity amount for the month as a decimal currency amount

    Declaration

    Swift

    public let activityCurrency: Decimal?
  • Available to be budgeted for the month

    Declaration

    Swift

    public let toBeBudgeted: Int
  • Available to be budgeted for the month formatted in the plan currency

    Declaration

    Swift

    public let toBeBudgetedFormatted: String?
  • Available to be budgeted for the month as a decimal currency amount

    Declaration

    Swift

    public let toBeBudgetedCurrency: Decimal?
  • Age of money

    Declaration

    Swift

    public let ageOfMoney: Int?
  • Wether or not the month is deleted

    Declaration

    Swift

    public let deleted: Bool
  • Categories for the month

    Declaration

    Swift

    public let categories: [Category]
  • Undocumented

    Declaration

    Swift

    public init(
        month: String,
        note: String?,
        income: Int,
        incomeFormatted: String?,
        incomeCurrency: Decimal?,
        budgeted: Int,
        budgetedFormatted: String?,
        budgetedCurrency: Decimal?,
        activity: Int,
        activityFormatted: String?,
        activityCurrency: Decimal?,
        toBeBudgeted: Int,
        toBeBudgetedFormatted: String?,
        toBeBudgetedCurrency: Decimal?,
        ageOfMoney: Int?,
        deleted: Bool,
        categories: [Category]
    )