Show / Hide Table of Contents

Interface IReceiptNumberToken

Rezervácia čísla dokladu

Namespace: NineDigit.eKasa
Assembly: NineDigit.eKasa.dll
Syntax
public interface IReceiptNumberToken

Properties

Id

Jedinečný identifikátor dokladu

Declaration
ReceiptId Id { get; }
Property Value
Type Description
ReceiptId

Methods

ApplyAsync(CancellationToken)

Aplikuje dané číslo dokladu

Declaration
Task ApplyAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task

System.Threading.Tasks.Task

Release()

Uvoľní rezerváciu čísla dokladu

Declaration
void Release()

TryRelease()

Pokúsi sa uvoľniť rezerváciu čísla dokladu

Declaration
bool TryRelease()
Returns
Type Description
System.Boolean

True, ak bola rezervácia uvolnená, false ak už bola uvoľnená predtým

In This Article
Na začiatok stránky Nine Digit, s.r.o. ©