closeShift

abstract suspend fun closeShift(cashierName: String, cashierTin: String): Result<SdkSuccessAnswer.GetShiftData>

Close fiscal shift.

Return

Result which can be a Result.Success containing SdkSuccessAnswer.GetShiftData if the shift is closed successfully, or a Result.Error if the operation fails.

Parameters

cashierName

The name of the cashier.

cashierTin

The tin of the cashier.