//room/dev.atick.storage.room.models/ExpenseAnalysis
ExpenseAnalysis
[androidJvm]\ data class ExpenseAnalysis(val categoryOrMerchant: String, val spending: Double, val currency: String, val maxAmount: Double, val minAmount: Double, val percentage: Double? = null)
Data class representing an analysis of expenses.
Constructors
ExpenseAnalysis | [androidJvm] constructor(categoryOrMerchant: String, spending: Double, currency: String, maxAmount: Double, minAmount: Double, percentage: Double? = null) |
Properties
Name | Summary |
---|---|
categoryOrMerchant | [androidJvm] val categoryOrMerchant: String The category or merchant associated with the expenses. |
currency | [androidJvm] val currency: String The currency of the spending amount. |
maxAmount | [androidJvm] val maxAmount: Double The maximum amount spent in a single transaction. |
minAmount | [androidJvm] val minAmount: Double The minimum amount spent in a single transaction. |
percentage | [androidJvm] val percentage: Double? = null The optional percentage representation of the spending. |
spending | [androidJvm] val spending: Double The total spending amount. |