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

com.fintecsystems.xs2a.java.models.wizard.WizardSessionObject.kt Maven / Gradle / Ivy

The newest version!
package com.fintecsystems.xs2a.java.models.wizard

import com.fintecsystems.xs2a.java.models.common.Product
import com.squareup.moshi.Json
import java.time.OffsetDateTime

/**
 *
 * @param id Internal identifier.
 * @param transaction Public transaction identifier.
 * @param wizardSessionKey Key to start the wizard
 * @param product Name of the used product.
 * @param parameters An array which contains the current wizard configuration.
 * @param lastError The last occurred error. This is overwritten, if another error occurs.
 * @param testmode true if this session runs in testmode. false otherwise.
 * @param finished true if this session was finished successfully. false if not or still running.
 * @param currentStep The current wizard step of this session.
 * @param createdAt Type of creation
 */

data class WizardSessionObject(
    /* Internal identifier. */
    @Json(name = "id")
    var id: String,
    /* Public transaction identifier. */
    @Json(name = "transaction")
    var transaction: String,
    /* Key to start the wizard */
    @Json(name = "wizard_session_key")
    var wizardSessionKey: String,
    /* Name of the used product. */
    @Json(name = "product")
    var product: Product? = null,
    /* An array which contains the current wizard configuration. */
    @Json(name = "parameters")
    var parameters: Any,
    /* The last occurred error. This is overwritten, if another error occurs. */
    @Json(name = "last_error")
    var lastError: WizardSessionLastError,
    /* true if this session runs in testmode. false otherwise. */
    @Json(name = "testmode")
    var testmode: Boolean,
    /* true if this session was finished successfully. false if not or still running. */
    @Json(name = "finished")
    var finished: Boolean,
    /* The current wizard step of this session. */
    @Json(name = "current_step")
    var currentStep: WizardSessionCurrentStep,
    /* Type of creation */
    @Json(name = "created_at")
    var createdAt: OffsetDateTime,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy