MoneyMovement
public struct MoneyMovement : Codable, Equatable, Sendable
Represents a money movement between categories
-
Money movement id in UUID format
Declaration
Swift
public let id: String -
The month of the money movement in ISO format (e.g. 2024-01-01)
Declaration
Swift
public let month: String? -
The date/time the money movement was processed on the server in ISO format
Declaration
Swift
public let movedAt: String? -
Optional note for the money movement
Declaration
Swift
public let note: String? -
The id of the money movement group this movement belongs to
Declaration
Swift
public let moneyMovementGroupId: String? -
The id of the user who performed the money movement
Declaration
Swift
public let performedByUserId: String? -
The id of the category the money was moved from
Declaration
Swift
public let fromCategoryId: String? -
The id of the category the money was moved to
Declaration
Swift
public let toCategoryId: String? -
The amount of the money movement in milliunits format
Declaration
Swift
public let amount: Int -
The amount of the money movement formatted in the plan currency
Declaration
Swift
public let amountFormatted: String? -
The amount of the money movement as a decimal currency amount
Declaration
Swift
public let amountCurrency: Decimal? -
init(id:month: movedAt: note: moneyMovementGroupId: performedByUserId: fromCategoryId: toCategoryId: amount: amountFormatted: amountCurrency: ) Undocumented
Declaration
Swift
public init( id: String, month: String?, movedAt: String?, note: String?, moneyMovementGroupId: String?, performedByUserId: String?, fromCategoryId: String?, toCategoryId: String?, amount: Int, amountFormatted: String?, amountCurrency: Decimal? )
View on GitHub