package com.ffii.fpsms.m18.model

/**
 * Outcome of [com.ffii.fpsms.m18.service.M18BomForShopService.saveBomForShopWithVersionRetry]
 * (may differ from the initial request when header version was bumped).
 */
data class M18BomForShopSaveAttemptResult(
    val request: M18BomForShopSaveRequest,
    val response: GoodsReceiptNoteResponse?,
    val callError: Throwable?,
    val versionBumps: Int = 0,
    /** True when M18 save was skipped because an identical payload was already synced successfully. */
    val skippedUnchanged: Boolean = false,
)
