TransactionMetaData
public struct TransactionMetaData
extension TransactionMetaData: CustomStringConvertible
extension TransactionMetaData: Equatable
extension TransactionMetaData: Hashable
                TransactionMetaData is data which is or can be attatched to an Transaction.
It consists of date, payee, narration as well as a flag and tags.
- 
                  
                  
Date of the
TransactionDeclaration
Swift
public let date: Date - 
                  
                  
Stringdescribing the payeeDeclaration
Swift
public let payee: String - 
                  
                  
Stringwith a comment for theTransactionDeclaration
Swift
public let narration: String - 
                  
                  
Flagof theTransactionDeclaration
Swift
public let flag: Flag - 
                  
                  
MetaData of the Transaction
Declaration
Swift
public let metaData: [String : String] - 
                  
                  
Creates an transaction with the given parameters
Declaration
Parameters
datedate of the transaction
payeeStringdescribing the payeenarrationStringwith a comment for theTransactionflagtagsArray of
Tags, can be empty - 
                  
                  
Stringto represent the meta data of theTransactionin the ledger file (e.g. the first line above thePostingsDeclaration
Swift
public var description: String { get } - 
                  
                  
Compares two TransactionMetaData
Declaration
Swift
public static func == (lhs: TransactionMetaData, rhs: TransactionMetaData) -> BoolParameters
lhsfirst TransactionMetaData
rhssecond TransactionMetaData
Return Value
true if all properties are the same, false otherwise
 - 
                  
                  
Declaration
Swift
public func hash(into hasher: inout Hasher) 
            View on GitHub
          
            Install in Dash
          
      TransactionMetaData Structure Reference