All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fintecsystems.xs2a.java.models.risk.checks.Xs2aAccountSnapshot.kt Maven / Gradle / Ivy

The newest version!
package com.fintecsystems.xs2a.java.models.risk.checks


import com.fintecsystems.xs2a.java.helper.OffsetDate
import com.fintecsystems.xs2a.java.models.common.Tag
import com.fintecsystems.xs2a.java.models.risk.Category
import com.squareup.moshi.Json
import java.time.OffsetDateTime

/**
 *
 * @param days Range in days which should be used (min value: 10, max value: 365)
 * @param from A date in the format yyyy-mm-dd
 * @param to A date in the format yyyy-mm-dd
 * @param filters
 * @param allAccounts True, if you want to receive all accounts including their turnovers
 * @param allTags True, if you want full categorization of the turnovers
 */
data class Xs2aAccountSnapshot(
    @Json(name = "days")
    var days: Int? = null,
    @Json(name = "from")
    @OffsetDate
    var from: OffsetDateTime? = null,
    @Json(name = "to")
    @OffsetDate
    var to: OffsetDateTime? = null,
    @Json(name = "filters")
    var filters: List? = null,
    @Json(name = "all_accounts")
    var allAccounts: Boolean,
    @Json(name = "all_tags")
    var allTags: Boolean,
    @Json(name = "categories")
    var categories: List? = null,
    @Json(name = "with_subcategory")
    var withSubcategory: Boolean? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy