Transaction

struct Transaction : Equatable, Identifiable, Hashable

Safe type of CKTransaction to use as a memory buffer.

  • id

    Unique ID.

    Declaration

    Swift

    let id: String
  • Name of the transaction (merchant name).

    Declaration

    Swift

    var name: String
  • Amount value.

    Declaration

    Swift

    var amount: Double
  • Date that the transaction takes place.

    Declaration

    Swift

    var date: Date
  • Free note related to the transaction.

    Declaration

    Swift

    var note: String
  • List of tags.

    Declaration

    Swift

    var tags: [Tag]
  • List of Articles

    Declaration

    Swift

    var articles: [Article]
  • Related category.

    Declaration

    Swift

    let category: Category?
  • Declaration

    Swift

    static func == (lhs: `Self`, rhs: `Self`) -> Bool
  • Declaration

    Swift

    func hash(into hasher: inout Hasher)