TransactionCategory

public struct TransactionCategory

A category that a Transaction can be categorized in.

  • id

    Category UUID.

    Declaration

    Swift

    public let id: String
  • Category name.

    Declaration

    Swift

    public let name: String
  • A hexadecimal color code for the category, e.g. “#002eff”.

    Declaration

    Swift

    public let color: String
  • URL string for the category icon.

    Declaration

    Swift

    public let iconUrl: String?
  • This category’s financial overview broken down into subcategories.

    Declaration

    Swift

    public let subcategories: [TransactionCategory]?
  • The total expected costs in this category in the period defined by Profile.monthFrom, or based on the provided start and end date when requesting this resource.

    Declaration

    Swift

    public let totalExpectedAmount: Money?
  • The part of the totalExpectedAmount that has already been paid in a period.

    Declaration

    Swift

    public let totalAmountToDate: Money?