openShift

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

Open fiscal shift.

Return

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

Parameters

cashierName

The name of the cashier.

cashierTin

The tin of the cashier.