close Shift
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
cashier Name
The name of the cashier.
cashier Tin
The tin of the cashier.